/**
 * VIP Modern 2025 - 基于旧版重新设计
 * 参考: old_home_for_compare/modules/vip.*
 * 目标: 简洁清晰，适合 1300x900 屏幕，字体易读
 */

/* ========================================
   Design Tokens
   ======================================== */

/* 确保容器不会裁剪 hover 上浮的卡片 */
.container {
  overflow: visible !important;
}

:root {
  /* 字体大小 */
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;
  --font-size-4xl: 36px;

  /* 间距 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-base: 8px;
  --radius-lg: 12px;

  /* 颜色 */
  --color-primary: #2563eb;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  --color-neutral-50: #fafafa;
  --color-neutral-100: #f5f5f5;
  --color-neutral-200: #e5e5e5;
  --color-neutral-400: #a3a3a3;
  --color-neutral-600: #525252;
  --color-neutral-700: #404040;
  --color-neutral-900: #171717;
  --color-neutral-950: #0a0a0a;

  /* 阴影 */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Pill Switcher (Tab)
   ======================================== */

.pill-switcher__wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-4); /* 16px，因为下方有 padding-top */
  position: relative;
  z-index: 0;
}

.pill-switcher {
  display: inline-flex;
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  padding: 4px;
  gap: 4px;
}

.pill-switcher__item {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-base);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-neutral-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pill-switcher__item:hover {
  color: var(--color-neutral-900);
}

.pill-switcher__item.active {
  background: white;
  color: var(--color-neutral-950);
  box-shadow: var(--shadow-sm);
}

/* ========================================
   Pricing Layout - 只有套餐卡片
   ======================================== */

.pricing-layout {
  margin-bottom: var(--space-8);
  padding-top: 8px; /* 为 hover 上浮留出空间 */
  position: relative;
  z-index: 1;
}

/* 套餐卡片容器 */
.pricing-cards-wrapper {
  display: flex;
  gap: var(--space-4);
  overflow: visible; /* 确保上浮的卡片可见 */
  justify-content: center;
  flex-wrap: wrap;
}

/* 套餐卡片 */
.pricing-card {
  flex: 0 0 auto;
  width: 280px;
  background: white;
  border: 2px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  z-index: 10;
}

/* 套餐卡片 - 推荐款式 */
.pricing-card--featured {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: var(--shadow-md);
}

/* 卡片头部 */
.pricing-card__header {
  text-align: center;
  margin-bottom: var(--space-4);
}

.pricing-card__name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-neutral-900);
  margin-bottom: var(--space-3);
}

.pricing-card__price {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-neutral-950);
  line-height: 1.2;
}

.pricing-card__price-currency {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--color-neutral-600);
  margin-left: 4px;
}

.pricing-card__period {
  font-size: var(--font-size-sm);
  color: var(--color-neutral-600);
  margin-top: var(--space-2);
  display: block;
}

/* 功能列表 */
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}

.pricing-card__feature {
  padding: var(--space-2) 0;
  font-size: var(--font-size-base);
  color: var(--color-neutral-700);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-neutral-100);
}

.pricing-card__feature:last-child {
  border-bottom: none;
}

.pricing-card__feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f0fdf4;
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* 优惠标签 */
.pricing-card__badge {
  margin-bottom: var(--space-4);
  text-align: center;
}

.badge-ribbon {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-warning), #fb923c);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25);
}

.badge-ribbon--recommended {
  background: linear-gradient(135deg, var(--color-primary), #60a5fa);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.badge-ribbon--popular {
  background: linear-gradient(135deg, var(--color-danger), #f87171);
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.25);
}

/* 角标 */
.pricing-card__corner-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--color-warning), #fb923c);
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

/* 购买按钮 */
.pricing-card__button {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 600;
  background: var(--color-neutral-900);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  display: block;
}

.pricing-card__button:hover {
  background: var(--color-neutral-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
  text-decoration: none;
}

.pricing-card--featured .pricing-card__button {
  background: linear-gradient(135deg, var(--color-primary), #60a5fa);
}

.pricing-card--featured .pricing-card__button:hover {
  background: linear-gradient(135deg, #1d4ed8, var(--color-primary));
}

/* ========================================
   对比表格
   ======================================== */

.comparison-table {
  width: 100%;
  margin: var(--space-8) 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table thead {
  background: var(--color-neutral-50);
}

.comparison-table th {
  padding: var(--space-4);
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-neutral-700);
  border-bottom: 2px solid var(--color-neutral-200);
}

.comparison-table td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-base);
  color: var(--color-neutral-700);
  border-bottom: 1px solid var(--color-neutral-100);
}

.comparison-table tbody tr:hover {
  background: var(--color-neutral-50);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table__check {
  color: var(--color-success);
  font-size: var(--font-size-xl);
  font-weight: bold;
}

.comparison-table__cross {
  color: var(--color-neutral-400);
  font-size: var(--font-size-xl);
}

/* ========================================
   Alert / Banner
   ======================================== */

.alert-modern {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border: 1px solid;
}

.alert-modern__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.alert-modern__content {
  flex: 1;
}

.alert-modern--warning {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}

.alert-modern .btn-modern {
  padding: 6px 16px;
  border-radius: var(--radius-base);
  font-weight: 600;
  text-decoration: none;
}

.alert-modern .btn-modern--primary {
  background: var(--color-primary);
  color: white;
}

/* ========================================
   Breadcrumb Navigation - Promotion Banner
   ======================================== */

.breadcrumb-nav {
	white-space: nowrap;
	overflow: hidden;
}

.breadcrumb-item {
	display: inline-block;
	font-size: var(--font-size-base);
	line-height: 1.5;
}

.breadcrumb-item.current {
	white-space: nowrap;
}

/* Promotion text styling */
.breadcrumb-item .label {
	display: inline-block;
	margin-right: 8px;
}

.breadcrumb-item .red {
	white-space: nowrap;
	font-weight: 500;
}

/* Countdown timer styling */
#ctp_time_left {
	font-family: 'Courier New', monospace;
	font-weight: 700;
	font-size: 1em;
	letter-spacing: 0.5px;
	color: var(--color-danger);
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 768px) {
  .pricing-layout {
    flex-direction: column;
  }

  .pricing-features {
    flex: none;
    width: 100%;
  }

  .pricing-cards-wrapper {
    flex-direction: column;
  }

  .pricing-card {
    min-width: auto;
  }

  .pill-switcher {
    width: 100%;
    overflow-x: auto;
  }

  /* Mobile promotion banner - maintain readability */
  .breadcrumb-nav {
    font-size: 15px;
  }

  .breadcrumb-item .label {
    font-size: 13px;
    padding: 4px 10px;
  }

  .breadcrumb-item .red {
    font-size: 15px;
  }

  #ctp_time_left {
    font-size: 1.1em;
    font-weight: 700;
  }
}

/* Extra small devices (phones < 576px) */
@media (max-width: 576px) {
  .breadcrumb-nav {
    font-size: 14px;
  }

  .breadcrumb-item .label {
    font-size: 12px;
    padding: 3px 8px;
  }

  .breadcrumb-item .red {
    font-size: 14px;
  }

  #ctp_time_left {
    font-size: 1.05em;
    font-weight: 700;
  }
}

/* ========================================
   动画
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

/* ========================================
   Option Cards (Selectable Cards)
   ======================================== */

.option-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--space-4);
	margin: 0;
}

.option-card {
	position: relative;
	background: white;
	border: 2px solid var(--color-neutral-200);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
	cursor: pointer;
	transition: all 0.2s;
}

.option-card:hover {
	border-color: var(--color-primary);
	box-shadow: var(--shadow-sm);
}

.option-card.selected {
	border-color: var(--color-primary);
	background: #eff6ff;
	box-shadow: var(--shadow-md);
}

.option-card__radio {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.option-card__content {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.option-card__check {
	width: 20px;
	height: 20px;
	border: 2px solid var(--color-neutral-400);
	border-radius: 50%;
	flex-shrink: 0;
	position: relative;
	transition: all 0.2s;
}

.option-card.selected .option-card__check {
	border-color: var(--color-primary);
	background: var(--color-primary);
}

.option-card.selected .option-card__check::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 12px;
	font-weight: bold;
}

.option-card__info {
	flex: 1;
}

.option-card__title {
	font-size: var(--font-size-base);
	font-weight: 600;
	color: var(--color-neutral-900);
	margin-bottom: 2px;
}

.option-card__description {
	font-size: var(--font-size-sm);
	color: var(--color-neutral-600);
}

.option-card__price {
	font-size: var(--font-size-lg);
	font-weight: 700;
	color: var(--color-primary);
}

/* ========================================
   Stepper (Quantity Selector)
   ======================================== */

.stepper {
	display: inline-flex;
	align-items: center;
	gap: var(--space-4);
	background: white;
	border: 1.5px solid var(--color-neutral-300);
	border-radius: var(--radius-base);
	padding: var(--space-2);
}

.stepper__button {
	width: 36px;
	height: 36px;
	border: none;
	background: var(--color-neutral-100);
	color: var(--color-neutral-700);
	border-radius: var(--radius-base);
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.stepper__button:hover {
	background: var(--color-neutral-200);
	color: var(--color-neutral-900);
}

.stepper__button:active {
	transform: scale(0.95);
}

.stepper__value {
	min-width: 40px;
	text-align: center;
	font-size: var(--font-size-lg);
	font-weight: 600;
	color: var(--color-neutral-900);
}

/* ========================================
   Price Summary Sidebar
   ======================================== */

.price-summary {
	position: sticky;
	top: var(--space-6);
	background: white;
	border: 1px solid var(--color-neutral-200);
	border-radius: var(--radius-lg);
	padding: var(--space-5);
	box-shadow: var(--shadow-sm);
}

.price-summary__title {
	font-size: var(--font-size-lg);
	font-weight: 600;
	color: var(--color-neutral-900);
	margin-bottom: var(--space-4);
	padding-bottom: var(--space-3);
	border-bottom: 1px solid var(--color-neutral-200);
}

.price-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--space-3) 0;
	border-bottom: 1px solid var(--color-neutral-100);
}

.price-summary__row:last-child {
	border-bottom: none;
	padding-top: var(--space-4);
	margin-top: var(--space-3);
	border-top: 2px solid var(--color-neutral-200);
}

.price-summary__label {
	font-size: var(--font-size-sm);
	color: var(--color-neutral-600);
}

.price-summary__value {
	font-size: var(--font-size-sm);
	font-weight: 500;
	color: var(--color-neutral-900);
}

.price-summary__total {
	font-size: var(--font-size-xl);
	font-weight: 700;
	color: var(--color-primary);
}

/* ========================================
   Accordion
   ======================================== */

.accordion {
	margin-bottom: var(--space-6);
}

.accordion__item {
	background: white;
	border: 1px solid var(--color-neutral-200);
	border-radius: var(--radius-lg);
	margin-bottom: var(--space-3);
	overflow: hidden;
}

.accordion__header {
	width: 100%;
	padding: var(--space-4) var(--space-5);
	background: white;
	border: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-size: var(--font-size-base);
	font-weight: 600;
	color: var(--color-neutral-900);
	transition: all 0.2s;
	text-align: left;
}

.accordion__header:hover {
	background: var(--color-neutral-50);
}

.accordion__header.active {
	background: var(--color-neutral-100);
}

.accordion__icon {
	transition: transform 0.2s;
	color: var(--color-neutral-600);
}

.accordion__header.active .accordion__icon {
	transform: rotate(180deg);
}

.accordion__content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.accordion__content.active {
	max-height: 1000px;
	transition: max-height 0.5s ease-in;
}

.accordion__body {
	padding: var(--space-5);
	border-top: 1px solid var(--color-neutral-200);
	line-height: 1.6;
	color: var(--color-neutral-700);
}

/* ========================================
   Promo Banner - Modern Design
   ======================================== */

.promo-banner {
	background: white;
	border: 1.5px solid var(--color-neutral-200);
	border-left: 4px solid var(--color-primary);
	padding: var(--space-4) var(--space-5);
	border-radius: var(--radius-md);
	margin-bottom: var(--space-6);
	box-shadow: var(--shadow-sm);
}

.promo-banner__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-neutral-900);
	margin-bottom: var(--space-2);
}

.promo-banner__description {
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-neutral-600);
}

.promo-banner__highlight {
	color: var(--color-primary);
	font-weight: 600;
}

/* ========================================
   Modern Data Table
   ======================================== */

.table-modern {
	width: 100%;
	background: white;
	border: 1px solid var(--color-neutral-200);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.table-modern thead {
	background: var(--color-neutral-50);
}

.table-modern thead th {
	padding: var(--space-3) var(--space-4);
	font-weight: 600;
	font-size: var(--font-size-sm);
	color: var(--color-neutral-700);
	border-bottom: 1px solid var(--color-neutral-200);
	text-align: left;
}

.table-modern thead th.text-center {
	text-align: center;
}

.table-modern tbody td {
	padding: var(--space-3) var(--space-4);
	font-size: var(--font-size-base);
	color: var(--color-neutral-700);
	border-bottom: 1px solid var(--color-neutral-100);
}

.table-modern tbody tr:last-child td {
	border-bottom: none;
}

.table-modern tbody tr:hover {
	background: var(--color-neutral-50);
}

.table-modern tbody tr.selected {
	background: #eff6ff;
}

/* ========================================
   Modern Modal (Dialog)
   ======================================== */

.modal-modern {
	max-width: 480px;
}

.modal-modern .modal-content {
	border-radius: 1rem;
	border: none;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Modal Header with Icon Badge */
.modal-modern .modal-header {
	padding: var(--space-6);
	border-bottom: 1px solid var(--color-neutral-200);
	background: white;
	display: flex;
	align-items: flex-start;
	gap: var(--space-4);
}

.modal-icon-badge {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 24px;
}

.modal-icon-badge.bg-primary {
	background: #eff6ff;
	color: var(--color-primary);
}

.modal-icon-badge.bg-success {
	background: #f0fdf4;
	color: var(--color-success);
}

.modal-icon-badge.bg-warning {
	background: #fef3c7;
	color: var(--color-warning);
}

.modal-modern .modal-title-wrapper {
	flex: 1;
}

.modal-modern .modal-title {
	font-size: var(--font-size-xl);
	font-weight: 600;
	color: var(--color-neutral-900);
	margin: 0;
	line-height: 1.3;
}

.modal-modern .modal-subtitle {
	font-size: var(--font-size-sm);
	color: var(--color-neutral-600);
	margin-top: 4px;
	line-height: 1.4;
}

.modal-modern .close {
	margin-left: auto;
	padding: 0;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--color-neutral-400);
	cursor: pointer;
	line-height: 1;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-base);
	transition: all 0.2s;
}

.modal-modern .close:hover {
	background: var(--color-neutral-100);
	color: var(--color-neutral-700);
}

/* Modal Body */
.modal-modern .modal-body {
	padding: var(--space-6);
}

/* Modal Info Section */
.modal-info {
	background: var(--color-neutral-50);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
	margin-bottom: var(--space-5);
}

.modal-info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--space-3) 0;
	border-bottom: 1px solid var(--color-neutral-200);
}

.modal-info-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.modal-info-label {
	font-size: var(--font-size-sm);
	color: var(--color-neutral-600);
}

.modal-info-value {
	font-size: var(--font-size-base);
	font-weight: 600;
	color: var(--color-neutral-900);
}

/* Modal Price Section */
.modal-price-section {
	text-align: center;
	padding: var(--space-5) 0;
	margin: var(--space-4) 0;
	border-top: 1px solid var(--color-neutral-200);
	border-bottom: 1px solid var(--color-neutral-200);
}

.modal-price-label {
	font-size: var(--font-size-sm);
	color: var(--color-neutral-600);
	margin-bottom: var(--space-2);
}

.modal-price-value {
	font-size: 36px;
	font-weight: 700;
	color: var(--color-primary);
	line-height: 1;
}

.modal-price-currency {
	font-size: var(--font-size-lg);
	font-weight: 500;
	color: var(--color-neutral-600);
	margin-left: var(--space-2);
}

.modal-price-note {
	font-size: var(--font-size-sm);
	color: var(--color-neutral-600);
	margin-top: var(--space-3);
}

/* Modal Footer */
.modal-modern .modal-footer {
	padding: var(--space-5) var(--space-6);
	border-top: 1px solid var(--color-neutral-200);
	background: var(--color-neutral-50);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--space-3);
}

.modal-modern .modal-footer.with-info {
	justify-content: space-between;
}

.modal-footer-info {
	flex: 1;
	text-align: left;
}

.modal-footer-actions {
	display: flex;
	gap: var(--space-3);
}

/* ========================================
   Modern Buttons
   ======================================== */

.btn-modern {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-5);
	border-radius: var(--radius-base);
	font-size: var(--font-size-base);
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
}

.btn-modern:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
	text-decoration: none;
}

.btn-modern:active {
	transform: scale(0.98);
}

.btn-modern--gradient {
	background: linear-gradient(135deg, var(--color-primary), #60a5fa);
	color: white;
}

.btn-modern--gradient:hover {
	background: linear-gradient(135deg, #1d4ed8, var(--color-primary));
	color: white;
}

.btn-modern--primary {
	background: var(--color-primary);
	color: white;
}

.btn-modern--primary:hover {
	background: #1d4ed8;
	color: white;
}

.btn-modern--secondary {
	background: var(--color-neutral-200);
	color: var(--color-neutral-700);
}

.btn-modern--secondary:hover {
	background: var(--color-neutral-300);
	color: var(--color-neutral-900);
}

.btn-modern--success {
	background: var(--color-success);
	color: white;
}

.btn-modern--success:hover {
	background: #059669;
	color: white;
}

/* ========================================
   Alert Modern (Extended)
   ======================================== */

.alert-modern--success {
	background: #f0fdf4;
	border-color: #86efac;
	color: #166534;
}

.alert-modern--success .alert-modern__icon {
	color: var(--color-success);
}

.alert-modern--info {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1e40af;
}

.alert-modern--info .alert-modern__icon {
	color: var(--color-primary);
}

/* ========================================
   工具类
   ======================================== */

.text-center { text-align: center; }
.text-muted { color: var(--color-neutral-600); }
.small { font-size: var(--font-size-sm); }
.mr-1 { margin-right: 4px; }

/* ========================================
   Mobile VIP Page Styles
   ======================================== */

/* Mobile VIP Tabs (Member Level Selector) */
.vip-mobile-tabs {
	display: flex;
	gap: 8px;
	padding: 0 16px;
	margin-bottom: 16px;
}

.vip-mobile-tab {
	flex: 1;
	padding: 12px 16px;
	background: white;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #6b7280;
	white-space: nowrap;
	transition: all 0.2s ease;
	cursor: pointer;
}

.vip-mobile-tab.active {
	background: #eff6ff;
	border-color: #2563eb;
	color: #2563eb;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

/* Mobile Content Container */
.vip-mobile-content {
	padding-bottom: 20px;
}

/* Features List */
.vip-mobile-features {
	padding: 16px;
	background: white;
	border-radius: 12px;
	margin: 0 16px 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.vip-mobile-features h3 {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #111827;
	padding-bottom: 10px;
	border-bottom: 2px solid #f3f4f6;
}

.vip-mobile-features ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.vip-mobile-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #f9fafb;
	font-size: 14px;
}

.vip-mobile-features li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.vip-mobile-features li.feature-enabled {
	color: #111827;
}

.vip-mobile-features li.feature-enabled i {
	color: #10b981;
	width: 20px;
	font-size: 16px;
}

.vip-mobile-features li.feature-disabled {
	color: #9ca3af;
}

.vip-mobile-features li.feature-disabled i {
	color: #dc2626;
	width: 20px;
	font-size: 16px;
}

/* Period Selection */
.vip-mobile-periods {
	padding: 0 16px 16px;
}

.vip-mobile-periods h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 16px;
	color: #111827;
}

.period-option {
	display: block;
	margin-bottom: 10px;
	cursor: pointer;
}

.period-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.period-card {
	position: relative;
	padding: 12px 16px;
	background: white;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.period-option input:checked + .period-card {
	border-color: #2563eb;
	background: #eff6ff;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.period-option:active .period-card {
	transform: scale(0.98);
}

/* Period Recommended - Subtle styling */
.period-option.period-recommended .period-card {
	/* No special styling by default, just the badge stands out */
}

.period-option.period-recommended input:checked + .period-card {
	border-color: #2563eb;
	background: #eff6ff;
}

/* Badges */
.period-card .badge-save {
	position: absolute;
	top: -8px;
	right: 12px;
	background: linear-gradient(135deg, #f59e0b, #fb923c);
	color: white;
	padding: 3px 10px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.period-card .badge-lifetime {
	position: absolute;
	top: -8px;
	right: 12px;
	background: linear-gradient(135deg, #8b5cf6, #a78bfa);
	color: white;
	padding: 3px 10px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

/* Period Card Header */
.period-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
}

.period-title {
	font-size: 15px;
	font-weight: 600;
	color: #111827;
	flex: 1;
}

.period-duration {
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	margin-left: 8px;
}

/* Period Pricing */
.period-pricing {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
}

.period-price-main {
	font-size: 24px;
	font-weight: 700;
	color: #111827;
	line-height: 1;
}

.period-currency {
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	margin-left: 2px;
}

.period-unit {
	font-size: 13px;
	font-weight: 500;
	color: #9ca3af;
	margin-left: 4px;
}

.period-avg-price {
	font-size: 12px;
	color: #10b981;
	font-weight: 600;
	white-space: nowrap;
}

/* Purchase Button */
.vip-mobile-purchase-btn {
	width: calc(100% - 32px);
	margin: 0 16px 16px;
	padding: 16px 20px;
	background: linear-gradient(135deg, #2563eb, #60a5fa);
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
	cursor: pointer;
	transition: all 0.2s ease;
}

.vip-mobile-purchase-btn:active {
	transform: translateY(1px);
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

/* Compare Toggle */
.vip-mobile-compare-wrapper {
	padding: 0 16px 20px;
}

.vip-mobile-compare-toggle {
	width: 100%;
	padding: 14px 16px;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #6b7280;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.2s ease;
}

.vip-mobile-compare-toggle:active {
	background: #f9fafb;
}

.vip-mobile-compare-toggle .toggle-chevron {
	transition: transform 0.3s ease;
	font-size: 12px;
	margin-left: 8px;
}

/* Comparison Table Mobile */
.vip-mobile-comparison {
	padding: 0 16px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.vip-mobile-comparison .comparison-table {
	min-width: 600px;
	font-size: 13px;
	margin-bottom: 0;
}

/* Hide desktop-only elements on mobile */
@media (max-width: 768px) {
	/* Adjust page header for mobile */
	.page-header-with-actions {
		flex-direction: column;
		gap: 12px;
	}

	.page-header-actions {
		width: 100%;
	}

	.page-header-actions .btn {
		width: 100%;
	}
}
