/**
* Frontend Loyalty Premium Circle CSS - UPDATED
* Extracted from: templates/account-premium-circle.php and all tab templates
* Updated with styles from min.css
*/

/* ==== MAIN ACCOUNT PAGE ==== */
.premium-circle-account-page {
  margin: 0 auto;
  padding: 20px;
}

.premium-circle-account-page h1 {
  margin: 0 0;
  font-size: 22px !important;
}

@media (min-width: 951px) {
  .premium-circle-account-page h1 {
    margin: 0 0;
    font-size: 46px !important;
  }
}

/* ==== TABS NAVIGATION ==== */
.premium-circle-tabs-nav {
  display: flex;
  gap: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
}

.premium-circle-tab-link {
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 14px;
  padding: 12px 0;
  color: #5a6c7d;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  margin-bottom: -3px;
}

.premium-circle-tab-link.active {
  color: #7c9885;
  border-bottom-color: #7c9885;
  font-weight: 600;
}

.premium-circle-tab-link:hover {
  color: #7c9885;
}

.premium-circle-tab-link:before {
  content: "";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #5a6c7d;
}

.premium-circle-tab-link.item-1:before {
  content: "\f007";
}

.premium-circle-tab-link.item-2:before {
  content: "\f1da";
}

.premium-circle-tab-link.item-3:before {
  content: "\f201";
}

.premium-circle-tab-link.item-4:before {
  content: "\f234";
}

.premium-circle-tab-link.item-5:before {
  content: "\f013";
}

.premium-circle-tab-link:hover:before {
  color: #7c9885;
}

.premium-circle-tab-link span {
  display: none;
}

@media (min-width: 769px) {
  .premium-circle-tab-link span {
    display: block;
  }

  .premium-circle-tab-link:before {
    display: none;
  }
}

.premium-circle-tab-content {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.premium-circle-error {
  background: #fee;
  border: 1px solid #f99;
  padding: 20px;
  border-radius: 5px;
  color: #c00;
}

/* ==== NOT ENROLLED SECTION ==== */
.premium-circle-not-enrolled {
  padding: 20px 0;
}

.premium-circle-not-enrolled h2 {
  margin: 0 0;
  font-size: 22px !important;
}

.premium-circle-not-enrolled p {
  font-size: 15px !important;
}

.enrollment-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.enrollment-header h2 {
  color: white;
  margin-bottom: 15px;
  font-size: 28px;
}

.enrollment-header p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 16px;
}

/* Adjust enrollment form styling for container */
.premium-circle-not-enrolled .premium-circle-enrollment-form {
  background: white;
  color: #333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

.premium-circle-not-enrolled .premium-circle-enrollment-form h2 {
  color: #333;
  margin-top: 0;
}

.premium-circle-not-enrolled .premium-circle-enrollment-form .subtitle {
  color: #666;
}

.enrollment-form .form-group {
  margin-bottom: 15px;
}

.enrollment-form .form-group label,
.enrollment-form .form-group input {
  font-size: 14px;
}

.enrollment-form .form-group input {
  padding: 10px 10px !important;
  font-size: 15px;
  line-height: 17px;
  height: max-content;
}

.consent-fieldset {
  font-size: 15px !important;
}

.premium-circle-not-enrolled .privacy-notice {
  margin-top: 15px;
}

.premium-circle-not-enrolled .form-actions {
  display: grid;
  padding-bottom: 30px;
}

.premium-circle-not-enrolled .form-actions .btn.btn-primary {
  display: inline-block;
  padding: 20px 50px;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  position: relative;
  background: linear-gradient(135deg, #2d5f3f 0%, #4a8c5f 100%);
  color: #fff;
  width: max-content;
  margin: 20px auto;
  border: 0;
}

/* ==== MEIN STATUS PAGE ==== */
.premium-circle-welcome-flash {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  border-left: 5px solid #0d8e47;
}

.premium-circle-welcome-flash .flash-header {
  margin-bottom: 15px;
}

.premium-circle-welcome-flash h2 {
  margin: 0 0 5px 0;
  font-size: 24px;
  color: white;
}

.premium-circle-welcome-flash .flash-header p {
  margin: 0;
  font-size: 14px;
  opacity: 0.95;
}

.premium-circle-welcome-flash .flash-details p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.5;
}

.premium-circle-edge-case-message {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  border: 2px solid #ffc107;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.premium-circle-edge-case-message .message-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.premium-circle-edge-case-message .message-content {
  flex: 1;
}

.premium-circle-edge-case-message p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

/* ==== COMPACT HEADER (Redesigned) ==== */
.premium-circle-mein-status {
  display: grid;
  grid-template-columns: 1fr;
}
.pc-compact-header {
  display: grid;
  align-items: center;
  padding: 10px 15px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  margin-bottom: 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pc-header-left {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 12px;
}

.pc-avatar-section {
  display: grid;
  align-items: center;
}

.pc-avatar-icon {
  font-size: 32px;
}

.pc-tier-badge-compact {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr;
  text-align: center;
}
.pc-tier-badge-compact img {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin: 0 auto;
}
.pc-tier-badge-compact img,
.pc-tier-badge-compact span {
  color: #fff;
}

.pc-tier-icon {
  font-size: 20px;
  color: #f5b800;
}

.pc-tier-name-compact {
  font-size: 20px;
}

.pc-status-info {
  display: grid;
  grid-template-columns: 1fr;
}

.pc-header-right {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 769px) {
  .pc-compact-header {
    padding: 24px 24px;
    grid-template-columns: 1fr max-content;
  }
  .pc-header-left {
    margin-bottom: 0;
  }
  .pc-tier-badge-compact {
    grid-template-columns: max-content 1fr;
    text-align: left;
    grid-gap: 24px;
  }
  .pc-tier-badge-compact img {
    max-width: 50px;
  }
}

/* ==== BALANCE & POINTS SECTION ==== */
.pc-balance-badge {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pc-balance-section {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
}

.pc-balance-value-compact {
  font-size: 20px;
  line-height: 22px;
  color: #fff;
}

.pc-balance-label {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
  font-weight: 500;
  color: #fff;
}

.pc-balance-separator {
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.pc-points-section {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
}

.pc-points-value-compact {
  font-size: 20px;
  line-height: 22px;
  color: #fff;
}

.pc-points-label {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
  font-weight: 500;
  color: #fff;
}

/* Pending Points Styling */
.pc-points-value-compact .pending-badge {
  color: #ffd700;
  font-size: 0.9em;
  margin-left: 2px;
}

@media (min-width: 769px) {
  .pc-balance-badge {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
}

/* ==== PROGRESS SECTION ==== */
.pc-progress-section {
  background: #fff;
  border-radius: 12px;
  padding: 10px 15px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.pc-progress-title {
  font-size: 15px;
  margin-bottom: 10px;
}

.pc-progress-title strong {
  color: #333;
}

.pc-progress-bar-container {
  background: #f0f4f8;
  height: 28px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.pc-progress-bar {
  height: 100%;
  font-weight: 600;
  transition: width 0.5s ease;
  border-radius: 15px 0 0 15px;
}

.pc-progress-fill {
  background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 15px;
}

.pc-progress-percent {
  font-size: 14px;
  background: rgba(0,0,0,0.15);
  padding: 2px 8px;
  border-radius: 12px;
  color: #fff;
  text-align: center;
  display: grid;
}

.pc-progress-info {
  font-size: 14px;
  color: #5a6c7d;
}

.pc-progress-points {
  color: #333;
}

@media (min-width: 769px) {
  .pc-progress-section {
    padding: 20px;
  }
}

/* ==== BENEFITS SECTION ==== */
.pc-benefits-section {
  margin-bottom: 40px;
}

.pc-benefits-section h3 {
  font-size: 20px !important;
}

.pc-benefits-title {
  font-size: 16px;
  color: #333;
  margin: 0 0 18px 0;
  font-weight: 600;
}

.pc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.pc-benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pc-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.pc-benefit-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2d5f3f 0%, #4a8c5f 100%);
  border-radius: 50%;
  display: grid;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 5px 20px rgba(74,140,95,0.3);
  margin: 0 auto 10px auto;
}

.pc-benefit-icon img {
  height: auto;
  width: 30px;
}

.pc-benefit-card strong {
  display: block;
  font-size: 16px;
}

.pc-benefit-value {
  font-size: 14px;
  color: #2d5f3f;
  font-weight: 600;
  line-height: 16px;
}

@media (min-width: 769px) {
  .pc-benefits-section h3 {
    font-size: 34px !important;
  }

  .pc-benefit-card {
    padding: 20px;
  }

  .pc-benefit-icon {
    width: 70px;
    height: 70px;
  }

  .pc-benefit-icon img {
    width: 50px;
  }
}

@media (min-width: 515px) {
  .pc-benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
}

/* ==== TIER COMPARISON TABLE ==== */
.pc-tier-comparison {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .05);
  width: 100%;
  max-width: 1400px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.pc-tier-comparison h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
}

.pc-table-wrapper {
  overflow-x: auto;
}

.pc-tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
  text-align: center;
}

.pc-tier-table tr {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr 1fr !important;
}

.pc-tier-table thead th {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f5 100%);
  color: #2c3e50;
  font-weight: 600;
  padding: 12px 10px;
  position: relative;
  display: grid;
}

.pc-tier-table thead th .pc-tier-base,
.pc-tier-table thead th .pc-tier-vision,
.pc-tier-table thead th .pc-tier-essential,
.pc-tier-table thead th .pc-tier-mastery {
  display: grid;
  grid-template-columns: max-content 1fr;
  height: max-content;
  width: max-content;
  margin: 0 auto;
  align-self: center;
}

.pc-tier-table thead th .pc-tier-base {
  grid-template-columns: 1fr;
}

.pc-tier-table tbody td,
.pc-tier-table tbody th {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 10px;
  vertical-align: middle;
}

.pc-current-tier {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-weight: 700;
  position: relative;
}

.pc-tier-icon-table {
  font-size: 18px;
  margin-right: 6px;
  vertical-align: middle;
  background: #618E70;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  padding: 7px;
  display: grid;
  grid-column: 1/2;
  grid-row: 1/3;
  margin: 0 auto;
}

.pc-tier-name-table {
  font-weight: 700;
  vertical-align: middle;
}

.pc-tier-threshold {
  display: block;
  font-size: 16px;
  margin-top: 4px;
  color: #618E70;
}

.pc-current-badge {
  background: #ffed4e;
  color: #2c3e50;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 12px;
  position: absolute;
  top: 8px;
  right: 8px;
  font-weight: 700;
}

.pc-table-section-header {
  font-weight: 700;
  text-align: left;
  padding: 10px 15px;
  font-size: 15px;
  color: #667eea;
  border-top: 2px solid #667eea;
}

@media (min-width: 769px) {
  .pc-tier-table {
    font-size: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==== AKTIVITÄTEN PAGE ==== */
.premium-circle-aktivitaeten {
  max-width: 100%;
  margin: 0 auto;
}

.premium-circle-aktivitaeten h2 {
  font-size: 20px !important;
  margin-bottom: 0;
}

.pc-activities-header {
  margin-bottom: 30px;
}

.pc-activities-header h2 {
  color: #333;
  margin: 0 0 10px 0;
  font-size: 24px;
  font-weight: 600;
}

.pc-activities-header p {
  font-size: 15px;
  margin-bottom: 0;
  color: #999;
  font-size: 14px;
}

.pc-no-activities {
  background: #f5f5f5;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  color: #999;
  font-size: 16px;
}

.pc-activities-list {
  overflow-x: auto;
}

.pc-activities-list table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0;
}

.pc-activities-list table thead,
.pc-activities-list table tbody {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
}

.pc-activities-list table thead tr {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pc-activities-list table tbody tr {
  background: #f9fbff;
}

.pc-activities-list table thead tr th {
  color: #ffff !important;
}

.pc-activities-list table thead tr,
.pc-activities-list table tbody tr {
  display: grid !important;
  grid-template-columns: max-content 1fr !important;
  grid-gap: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(102,126,234,0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  width: 100%;
  padding: 10px 10px;
  margin: 4px 0;
  align-items: start;
}

.pc-activities-table table tbody tr:hover {
  background: #e6f0ff;
  box-shadow: 0 6px 20px rgba(102,126,234,0.2);
}

.pc-activities-list table thead tr th {
  font-weight: 700;
  text-align: left !important;
}

.pc-activities-list table thead tr th,
.pc-activities-list table tbody tr td {
  padding: 2px 0;
  font-size: 14px;
}

.pc-activities-list table thead tr th.date,
.pc-activities-list table tbody tr td.activity-date {
  display: grid;
  grid-column: 1/2;
  grid-row: 1/2;
  height: max-content;
  min-width: 120px;
  text-align: left;
}

.pc-activities-list table thead tr th.message,
.pc-activities-list table tbody tr td.activity-message {
  display: grid;
  grid-column: 2/3;
  grid-row: 1/3;
  height: max-content;
  text-align: left;
  grid-template-columns: max-content 1fr;
}

.pc-activities-list table thead tr th.points-column,
.pc-activities-list table tbody tr td.activity-points {
  display: grid;
  grid-column: 1/2;
  grid-row: 2/3;
  height: max-content;
}

.activity-date {
  width: 150px;
  white-space: nowrap;
  color: #999;
  font-size: 13px;
}

.activity-message {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.activity-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.activity-text {
  color: #333;
}

.points-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  min-width: 50px;
  text-align: center;
  color: #fff;
  background-color: #a0a8d3;
  user-select: none;
  transition: background-color 0.3s ease;
  width: 100%;
}

@media (max-width: 550px) {
  .pc-activities-list table thead tr,
  .pc-activities-list table tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-gap: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, .1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    padding: 10px 10px;
    margin: 4px 0;
  }
  .pc-activities-list table thead tr th.message, 
  .pc-activities-list table tbody tr td.activity-message {
    display: grid;
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    height: max-content;
    text-align: left;
    grid-template-columns: max-content 1fr;
  }
  .pc-activities-list table thead tr th.points-column, 
  .pc-activities-list table tbody tr td.activity-points {
    display: grid;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    height: max-content;
  }
}
@media (min-width: 769px) {
  .premium-circle-aktivitaeten h2 {
    font-size: 34px !important;
  }

  .pc-activities-list table thead tr,
  .pc-activities-list table tbody tr {
    grid-template-columns: 170px 1fr 150px !important;
    grid-gap: 20px;
    padding: 10px 15px;
  }

  .pc-activities-list table thead tr th {
    font-weight: 700;
    font-size: 18px;
  }

  .pc-activities-list table thead tr th.date,
  .pc-activities-list table tbody tr td.activity-date {
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    max-width: unset;
    width: 100%;
    min-width: unset;
  }

  .pc-activities-list table thead tr th.message,
  .pc-activities-list table tbody tr td.activity-message {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .pc-activities-list table tbody tr td.activity-message {
    grid-template-columns: max-content 1fr;
    grid-gap: 10px;
  }

  .pc-activities-list table thead tr th.points-column,
  .pc-activities-list table tbody tr td.activity-points {
    grid-column: 3/4;
    grid-row: 1/2;
    width: 100%;
    min-width: unset;
    max-width: unset;
  }

  .pc-activities-list table thead tr th.points-column {
    text-align: center !important;
  }

  .pc-activities-list table thead tr th {
    padding: 6px 0;
  }

  .pc-activities-list table tbody tr td {
    font-size: 14px;
    padding: 6px 0;
  }

  .pc-activities-list table tbody tr td .date {
    font-weight: 700;
  }
}

/* ==== STATISTIK PAGE ==== */
.premium-circle-statistik {
  max-width: 100%;
  margin: 0 auto;
}

.pc-stats-header {
  margin-bottom: 40px;
}

.pc-stats-header h2 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 28px;
  font-weight: 600;
}

.pc-stats-header p {
  margin: 0;
  color: #999;
  font-size: 14px;
}

/* Main Stats Grid (4 cards) */
.pc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pc-stat-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pc-stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: #ccc;
}

.pc-stat-card.highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.pc-stat-card.highlight:hover {
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

.pc-stat-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.pc-stat-content {
  flex: 1;
}

.pc-stat-value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  color: inherit;
}

.pc-stat-card:not(.highlight) .pc-stat-value {
  color: #333;
}

.pc-stat-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: inherit;
}

.pc-stat-card:not(.highlight) .pc-stat-label {
  color: #333;
}

.pc-stat-description {
  font-size: 12px;
  color: inherit;
  opacity: 0.8;
}

.pc-stat-card:not(.highlight) .pc-stat-description {
  color: #999;
}

/* Secondary Stats */
.pc-stats-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pc-info-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  display: flex;
  gap: 20px;
}

.pc-info-icon {
  font-size: 40px;
  flex-shrink: 0;
}

.pc-info-content {
  flex: 1;
}

.pc-info-content h3 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.pc-info-stat {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.pc-info-description {
  margin: 0;
  color: #999;
  font-size: 13px;
  line-height: 1.5;
}

/* Tips Section */
.pc-stats-tips {
  background: #f5f9ff;
  border: 1px solid #d4e9ff;
  border-radius: 8px;
  padding: 25px;
  margin-top: 40px;
}

/* ==== STATUS CARD (in Stats Grid) ==== */
.pc-status-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.pc-status-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.pc-status-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.pc-status-icon-large {
  font-size: 32px;
  line-height: 1;
}

.pc-status-text {
  flex: 1;
}

.pc-status-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.3;
}

.pc-status-progress-section {
  margin-top: auto;
}

.pc-progress-mini-bar {
  background: #f0f0f0;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.pc-progress-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
  width: var(--progress, 0%);
}

.pc-progress-text {
  font-size: 12px;
  color: #999;
  text-align: center;
  line-height: 1.4;
}

/* ==== FREUNDE EINLADEN PAGE ==== */
.premium-circle-freunde-einladen {}

.pc-invite-header {
  margin-bottom: 30px;
}

.pc-invite-header h2 {
  margin-bottom: 5px;
  color: #333;
  font-size: 28px;
  font-weight: bold;
}

.pc-invite-header p {
  margin: 0;
  color: #666;
  font-size: 16px;
}

.pc-message {
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 25px;
  font-weight: 500;
}

.pc-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.pc-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.pc-message.warning {
  background: #fff3cd;
  color: #664d03;
  border: 1px solid #ffecb5;
}

/* Referral Section */
.pc-referral-section {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 40px;
  border: 1px solid #e0e0e0;
}

.pc-referral-section h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #333;
}

.pc-section-subtitle {
  margin: 0 0 15px 0;
  color: #666;
  font-size: 14px;
}

.pc-referral-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}

.pc-referral-link-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pc-referral-link-section .pc-label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.pc-referral-link-box {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.pc-referral-link {
  flex: 1;
}

/* ==== VERWALTEN PAGE ==== */
.pc-manage-header h2 {
  color: #333;
  margin-bottom: 30px;
}

.pc-leave-section {
  background: #ffe6e6;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #e74c3c;
}

.pc-leave-section h3 {
  color: #c0392b;
  margin-top: 0;
}

.pc-leave-section p {
  color: #555;
}

.pc-leave-form {
  margin-top: 15px;
}

.pc-btn-danger {
  padding: 12px 20px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.pc-btn-danger:hover {
  background: #c0392b;
}

.pc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}

.pc-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.pc-modal-content h4 {
  margin-top: 0;
  color: #c0392b;
}

.pc-modal-checkbox {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 4px;
  margin: 20px 0;
  border-left: 3px solid #667eea;
}

.pc-modal-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.pc-modal-checkbox input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
}

.pc-modal-checkbox span {
  color: #555;
  font-size: 13px;
  line-height: 1.5;
}

.pc-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.pc-btn-cancel {
  padding: 10px 20px;
  background: #ccc;
  color: #333;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pc-btn-cancel:hover {
  background: #bbb;
}

.pc-btn-danger:disabled {
  background: #ddd;
  color: #999;
  cursor: not-allowed;
}

.pc-btn-danger:disabled:hover {
  background: #ddd;
}

.pc-not-enrolled {
  color: #999;
  font-style: italic;
}

.pc-notice {
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.pc-notice.pc-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}
.pc-modal.pc-success-modal .pc-success-modal-header {
  position: relative;
}
.pc-modal.pc-success-modal .pc-success-modal-header button.pc-success-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid red;
  background-color: red;
  color: #ffffff;
  padding: 2px 6px;
}
.pc-modal.pc-success-modal .pc-success-modal-content {
  margin: 125px auto 0 auto;
  height: max-content;
  background: #ffffff;
  padding: 25px;
  width: 90%;
  max-width: 600px;
}
.pc-modal.pc-success-modal .pc-success-modal-content h3 {
  padding: 0 0;
  margin: 0 0;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 768px) {
  .premium-circle-tabs-nav {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    gap: 3%;
  }

  .premium-circle-tab-link {
    white-space: nowrap;
    font-size: 14px;
    padding: 10px 15px;
  }

  .enrollment-container {
    padding: 30px 15px;
  }

  .enrollment-header h2 {
    font-size: 22px;
  }

  .premium-circle-welcome-flash {
    padding: 15px;
  }

  .premium-circle-welcome-flash h2 {
    font-size: 20px;
  }

  .premium-circle-edge-case-message {
    padding: 15px;
    gap: 10px;
  }

  .premium-circle-edge-case-message .message-icon {
    font-size: 24px;
  }

  .premium-circle-edge-case-message p {
    font-size: 14px;
  }

  .pc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pc-stats-secondary {
    grid-template-columns: 1fr;
  }

  .pc-modal-actions {
    flex-direction: column;
  }

  .pc-activities-table {
    font-size: 12px;
  }

  .pc-activities-table th,
  .pc-activities-table td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .premium-circle-account-page {
    padding: 10px;
  }

  .pc-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Mein Status Page Specific Styles */
#mein-konto div.pc-benefits-section > div > div > div > img {
  width: 40px;
  height: 40px;
}

#mein-konto div.pc-activities-list > table > thead > tr > th.message {
  float: right;
}


/* bezahlseite */
.evo-loyalty-checkout-info.woocommerce-info {
  margin: 0 0 0 0;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  padding: 20px 20px;
  background: linear-gradient(135deg, #2d5f3f 0%, #4a8c5f 100%);
  color: #ffffff;
}
.evo-loyalty-checkout-info.woocommerce-info span.woocommerce-Price-amount.amount {
  font-weight: bold;
  font-size: 20px;
}


/* ===== CHECKOUT LOADING OVERLAY ===== */
.wc-checkout-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  backdrop-filter: blur(2px);
}

.wc-checkout-loading-content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  animation: slideInUp 0.3s ease-out;
}

.wc-checkout-spinner {
  margin-bottom: 20px;
}

.spinner-circle {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wc-checkout-loading-text {
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .wc-checkout-loading-content {
    padding: 30px;
    margin: 20px;
  }

  .spinner-circle {
    width: 40px;
    height: 40px;
  }

  .wc-checkout-loading-text {
    font-size: 14px;
  }
}

/* punkte code eingabe */
.evo-pointcode-success-container.success-full {
  display: grid;
  grid-template-columns: 1fr max-content;
  border: 1px solid #e0e0e0;
  background: #e0e0e0;
  padding: 12px;
  border-radius: 4px;
}
.evo-pointcode-success-container.success-full button {
  border: 1px solid red;
  background: red;
  padding: 0px 11px;
  color: #ffffff;
}
ul.woocommerce-error {
  color: red;
  font-weight: bold;
  padding: 6px 0;
  text-align: center;
}
span#coupon-error-notice {
    color: red;
}

.evo-hidden {
  display: none !important;
}