/**
 * Riags Store — css/05-payment.css
 * Versi: v5.8
 * Scope: Payment page tabs & content, steps flow list, security warning,
 *        prime & price calculator full, region & currency badges,
 *        server ID & IDR kurs info bar, calculator responsive overrides,
 *        kalkulator promo banner, payment methods & static logo grid,
 *        and tenor options card.
 */

/* 18. HALAMAN TATA CARA PEMBAYARAN */
.payment-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.pay-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  letter-spacing: 0.02em;
}

.tab-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* [V27-02] Tab icon SVG */
.tab-icon-svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: currentColor;
}

.pay-tab-btn:hover:not(.active) {
  border-color: var(--border-gold-hover);
  color: var(--text-main);
  background: var(--bg-elevated);
}

/* Active tab — lebih bold, lebih berisi */
.pay-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--blade-gold) 100%);
  border-color: var(--blade-gold-light);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45),
              0 0 0 1px rgba(253, 224, 71, 0.6) inset;
  transform: translateY(-1px);
}

.pay-tab-btn.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 55%;
  height: 3px;
  background: var(--blade-gold);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.9), 0 0 20px rgba(245, 158, 11, 0.5);
}

.pay-tab-btn.active .tab-icon-svg {
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* [V3.11] Light Mode Override Khusus Tab Aktif */

.pay-tab-content {
  display: none;
  animation: pageFadeSlideIn 0.35s ease forwards;
}

.pay-tab-content.active {
  display: block;
}

.pay-instructions-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}

.pay-card-header {
  margin-bottom: 2rem;
}

.pay-card-title {
  font-family: var(--font-gaming);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.steps-flow-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.step-item:hover {
  border-color: var(--border-gold-hover);
  background: rgba(245, 158, 11, 0.03);
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--blade-gold) 100%);
  color: #ffffff;
  font-family: var(--font-gaming);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Tabel Tenor Cicilan */
.tenor-table-wrapper {
  margin: 2.5rem 0 1.5rem;
  background: rgba(14, 16, 23, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.tenor-table-title {
  font-family: var(--font-gaming);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.table-responsive {
  overflow-x: auto;
}

.tenor-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.tenor-table th, .tenor-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tenor-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-weight: 700;
}

.tenor-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--blade-gold-subtle);
  border: 1px solid var(--blade-gold);
  border-radius: var(--radius-sm);
  color: var(--blade-gold);
  font-weight: 700;
}

.payment-methods-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.payment-methods-title {
  font-family: var(--font-gaming);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.pay-pill-lg {
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
}

.security-warning-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(211, 47, 47, 0.12);
  border: 1px solid rgba(211, 47, 47, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.warning-icon {
  font-size: 2rem;
  line-height: 1;
}

.warning-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #ff99a8;
}

.warning-text strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #ffffff;
}


/* ==========================================================================
   [KC-03] HALAMAN KALKULATOR PRIME & CEK HARGA PRIME
   ========================================================================== */
.calculators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  /* [V36-01] Jarak grid ke banner promo di bawahnya dijaga konsisten 2rem */
  margin-bottom: 2rem;
}

/* [V36-01] Banner promo akun premium di halaman kalkulator (di luar .calculators-grid) */
.promo-banner-section.calc-promo-section {
  padding: 0 0 2rem;
}

.promo-banner-section.calc-promo-section + .calc-how-section {
  margin-top: 0;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.calculator-card.full-width {
  grid-column: 1 / -1;
}

.calculator-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Garis aksen gradient merah-ke-emas 3px di atas kartu */
.calculator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d32f2f 0%, #f59e0b 100%);
  z-index: 2;
}

.calc-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

/* [KC-09] Icon wrapper lingkaran berdiameter 4rem dengan border emas tipis */
.calc-icon-badge {
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blade-gold);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

/* [KC-10] Ukuran ikon 2.5rem */
.calc-icon-svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: currentColor;
}

.calc-icon-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.35));
  transition: transform 0.25s ease;
}

.calculator-card:hover .calc-icon-img {
  transform: scale(1.08);
}

.calc-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calc-kicker {
  font-family: var(--font-kicker);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.calc-card-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* [KC-11] Deskripsi singkat kartu bergaya italic */
.calc-card-desc {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

.calc-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.calc-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.calc-input,
.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.calc-input:focus,
.form-control:focus {
  border-color: var(--blade-gold);
  box-shadow: 0 0 16px var(--blade-gold-subtle);
}

.calc-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.calc-select:focus {
  border-color: var(--blade-gold);
  box-shadow: 0 0 16px var(--blade-gold-subtle);
}

.btn-full {
  width: 100% !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.6rem !important;
  padding: 0.85rem 1.5rem !important;
}

.calc-btn-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.calc-subtext {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin: -0.25rem 0 0.25rem;
}

/* [KC-12] Info rate dalam kotak berborder putus-putus emas */
.calc-rate-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blade-gold);
  border: 1px dashed rgba(245, 158, 11, 0.5);
  background: var(--blade-gold-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.calc-rate-box .calc-diamond-icon {
  width: 15px;
  height: 15px;
  color: #38bdf8;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.6));
}

.calc-error-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(211, 47, 47, 0.12);
  border: 1px solid rgba(211, 47, 47, 0.45);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #ff6b6b;
  font-size: 0.875rem;
  font-weight: 600;
  animation: pageFadeSlideIn 0.3s ease-out;
}

.calc-err-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  stroke: #ff6b6b;
}

/* [KC-08] Animasi fadeInSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calc-result-box {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
  animation: fadeInSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.calc-result-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.calc-result-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--blade-gold);
}

.calc-order-btn {
  width: 100% !important;
  justify-content: center !important;
  margin-top: 0.5rem;
}

.calc-info-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.calc-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-info-row.total-row {
  border-bottom: none;
  padding-top: 0.75rem;
}

.calc-info-name {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-info-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.calc-level-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--blade-gold);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Section Cara Kerja Kalkulator */
.calc-how-section {
  margin-top: 1rem;
}

.calc-how-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.calc-how-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d32f2f 0%, #f59e0b 100%);
}

/* Responsive Kalkulator */
@media (max-width: 992px) {
  .calculators-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .calculator-card,
  .calc-how-card {
    padding: 1.35rem 1.1rem !important;
  }

  .calc-card-title {
    font-size: 1.45rem !important;
  }

  .calc-result-value {
    font-size: 1.85rem !important;
  }
}

@media (max-width: 380px) {
  .calculator-card,
  .calc-how-card {
    padding: 1.15rem 0.85rem !important;
  }

  .calc-icon-badge {
    width: 2.75rem;
    height: 2.75rem;
  }

  .calc-icon-svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .calc-icon-img {
    width: 1.65rem;
    height: 1.65rem;
  }

  .calc-card-title {
    font-size: 1.25rem !important;
  }

  .calc-result-value {
    font-size: 1.6rem !important;
  }
}

/* Light Theme Overrides untuk Kalkulator */

/* ========================================================================== */
/* [IDR-01] REGION & CURRENCY BADGE PILL (ID / IDR)                           */
/* ========================================================================== */
.currency-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 38px;
  padding: 0 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blade-gold);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  cursor: default;
  user-select: none;
  white-space: nowrap;
}

.currency-badge-pill:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

.flag-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 14px;
  border-radius: 2.5px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 1px 3px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  vertical-align: middle;
}

.flag-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.currency-text-val {
  line-height: 1;
}

/* [IDR-01m] Mobile Drawer Currency Indicator */
.mobile-currency-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  color: var(--text-muted);
  text-align: center;
}

.mobile-currency-row strong {
  color: var(--blade-gold);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

/* ========================================================================== */
/* [IDR-02] SERVER ID & KURS IDR INFO BAR (KALKULATOR)                        */
/* ========================================================================== */
.calc-region-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.calc-region-badge,
.calc-currency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.calc-region-badge:hover,
.calc-currency-badge:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
  transform: translateY(-1px);
}

.calc-badge-text {
  line-height: 1;
}

.badge-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: badgeDotPulse 2s infinite ease-in-out;
}

@keyframes badgeDotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.currency-icon-svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--blade-gold);
  flex-shrink: 0;
}

/* ========================================================================== */
/* [IDR-03] RESPONSIVE & LIGHT THEME OVERRIDES                                */
/* ========================================================================== */
@media (max-width: 768px) {
  .calc-region-bar {
    gap: 0.65rem;
    margin-bottom: 1.75rem;
  }

  .calc-region-badge,
  .calc-currency-badge {
    padding: 0.45rem 0.95rem;
    font-size: 0.825rem;
  }
}

@media (max-width: 380px) {
  .currency-badge-pill {
    height: 32px;
    padding: 0 0.45rem;
    gap: 0.3rem;
  }

  .flag-wrapper {
    width: 16px;
    height: 11px;
  }

  .currency-text-val {
    font-size: 0.72rem;
  }

  .calc-region-bar {
    gap: 0.45rem;
    margin-bottom: 1.25rem;
  }

  .calc-region-badge,
  .calc-currency-badge {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Light Theme Overrides */

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .badge-dot-live {
    animation: none;
  }
}
.reduce-fx .badge-dot-live {
  animation: none;
}

/* ==========================================================================
   [MP-04] METODE PEMBAYARAN: GRID STATIS RESPONSIF & LOGO GRAFIS
   ========================================================================== */

/* Grid Statis Responsif: 4 Kolom di Desktop (>992px), Gap Seragam 0.75rem */
.pay-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: 100%;
}

/* Kartu Logo Item */
.pay-logo-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: default;
  user-select: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

/* Hover: Border Emas & Glow Konsisten */
.pay-logo-item:hover {
  border-color: var(--blade-gold);
  box-shadow: 0 0 12px var(--blade-gold-subtle);
  transform: translateY(-2px);
}

/* Logo SVG, IMG, & Fallback Styling */
.pay-logo-svg,
.pay-logo-img,
.pay-logo-fallback {
  height: 1.75rem;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  color: var(--text-main);
  transition: filter var(--transition-fast);
}

.pay-logo-img {
  border-radius: var(--radius-sm);
}

.pay-logo-img,
.game-logo-img {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

.pay-logo-item img[alt="SeaBank"],
.pay-logo-item img[src*="seabank"] {
  height: 1.75rem;
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 576px) {
  .pay-logo-item img[alt="SeaBank"],
  .pay-logo-item img[src*="seabank"] {
    height: 1.5rem;
  }
}

/* COD Custom Item (Truk SVG + COD Teks) */
.pay-logo-cod {
  padding: 0.5rem 0.85rem;
}

.cod-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.cod-truck-svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--blade-gold);
  flex-shrink: 0;
}

.cod-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.cod-main-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

.cod-area-pill {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Responsif: Tablet (<=992px) -> 3 Kolom */
@media (max-width: 992px) {
  .pay-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsif: Mobile (<=576px) -> 2 Kolom */
@media (max-width: 576px) {
  .pay-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pay-logo-item {
    height: 3.25rem;
    padding: 0.5rem 0.75rem;
  }

  .pay-logo-svg,
  .pay-logo-img {
    height: 1.5rem;
  }

  .cod-truck-svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .cod-main-text {
    font-size: 1rem;
  }

  .cod-area-pill {
    font-size: 0.6rem;
  }
}

/* [MP-05] Light Mode Overrides */


/* ============================================ */
/* TENOR OPTIONS CARD (PAYMENT PAGE)            */
/* ============================================ */

.tenor-options-card {
  margin: 2rem 0 1.5rem;
  padding: 1.5rem;
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
}

.tenor-options-title {
  font-family: var(--font-gaming);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.tenor-options-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tenor-options-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.tenor-options-list li:hover {
  border-color: var(--border-gold-hover);
}

.tenor-options-label {
  font-family: var(--font-gaming);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--text-main);
}

.tenor-options-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.tenor-options-desc strong {
  color: var(--blade-gold);
  font-family: var(--font-gaming);
  font-weight: 800;
}

@media (max-width: 576px) {
  .tenor-options-list {
    grid-template-columns: 1fr;
  }

  .tenor-options-card {
    padding: 1.25rem 1rem;
  }

  .tenor-options-title {
    font-size: 1.05rem;
  }
}

/* [FEAT-05] Prime Calculator Bidirectional Mode Switcher */
.calc-mode-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  margin-bottom: 1.25rem;
  gap: 0.25rem;
}

.calc-mode-tab {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-gaming, 'Rajdhani', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.calc-mode-tab:hover {
  color: #fff;
}

.calc-mode-tab.active {
  background: var(--blade-gold);
  color: #000;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

