/* ==========================================
   WIJAYAPAY PAYMENT UI - DESIGN SYSTEM
   Theme: Modern Dark Glassmorphism
   Fonts: Outfit (Google Fonts)
   ========================================== */

:root {
  /* Color Palette */
  --bg-primary: #0b0e14;
  --bg-secondary: #131924;
  --bg-card: rgba(23, 29, 43, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: #00f2fe;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary-color: #00f2fe;
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --secondary-gradient: linear-gradient(135deg, #2af598 0%, #009efd 100%);
  
  --accent-color: #f72585;
  --success-color: #10b981;
  --success-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --pending-color: #f59e0b;
  --danger-color: #ef4444;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Background Glowing Blobs */
.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  animation: float 20s infinite alternate;
}

.blob-1 {
  background: var(--primary-gradient);
  top: -10%;
  left: -10%;
}

.blob-2 {
  background: #f72585;
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Layout Containers */
.app-container {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  z-index: 10;
  position: relative;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.logo-icon {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 26px;
  filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.4));
}

.logo .highlight {
  color: var(--primary-color);
}

.badge-api {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Cards & Glassmorphism */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

/* Checkout Layout Grid */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}

.card-header {
  margin-bottom: 24px;
}

.card-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Nominal Button Selectors */
.nominal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.nominal-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.nominal-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nominal-btn.active {
  background: rgba(0, 242, 254, 0.06);
  border-color: var(--border-active);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.nominal-value {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
}

.nominal-btn.active .nominal-value {
  color: var(--primary-color);
}

.nominal-label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

/* Custom Amount Input */
.custom-amount-wrapper {
  margin-bottom: 28px;
}

.custom-amount-wrapper label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.input-with-prefix {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-prefix .prefix {
  position: absolute;
  left: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-with-prefix input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 16px 16px 16px 52px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--border-radius-md);
  transition: all 0.2s ease;
}

.input-with-prefix input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-active);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.input-icon-wrapper input,
.input-icon-wrapper select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 14px 44px 14px 48px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  border-radius: var(--border-radius-md);
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.input-icon-wrapper select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 12px;
}

.input-icon-wrapper input:focus,
.input-icon-wrapper select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-active);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.select-arrow-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}


/* Payment Methods List */
.payment-methods-section {
  margin-top: 24px;
  margin-bottom: 28px;
}

.payment-methods-section > label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

/* Segmented Tab Controls */
.methods-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: var(--border-radius-md);
  margin-bottom: 24px;
  gap: 6px;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(0, 242, 254, 0.2);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.1);
}

/* Tab contents */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: tabFadeIn 0.4s ease forwards;
}

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

/* Method Grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Premium Method Cards */
.method-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 140px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.method-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.method-card.active {
  background: rgba(0, 242, 254, 0.04);
  border-color: var(--border-active);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.method-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-gradient);
  color: #04080f;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.method-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.method-card-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

.method-card.active .method-card-radio {
  border-color: var(--primary-color);
}

.method-card-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.2s ease;
}

.method-card.active .method-card-radio-dot {
  background: var(--primary-color);
}

.method-card-body {
  flex-grow: 1;
}

.method-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.method-card-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.method-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  color: var(--text-muted);
}

.method-card-fee-label {
  color: var(--text-muted);
}

.method-card-fee-value {
  font-weight: 600;
  color: var(--text-secondary);
}

.method-card.active .method-card-fee-value {
  color: var(--primary-color);
}

/* Brand Typography Logos */
.brand-logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bca-logo { color: #5dade2; }
.mandiri-logo { color: #f4d03f; font-style: italic; }
.bni-logo { color: #f5b041; }
.bri-logo { color: #5499c7; }
.cimb-logo { color: #ec7063; }
.danamon-logo { color: #f5b041; }
.permata-logo { color: #52be80; }
.bsi-logo { color: #00828a; }
.maybank-logo { color: #ffca00; }
.muamalat-logo { color: #512da8; }
.neo-logo { color: #ff5722; }
.ocbc-logo { color: #e53935; }
.alfa-logo { color: #ec7063; }
.indo-logo { color: #5dade2; }

/* QRIS Custom Logo text */
.qris-brand-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-family: 'Outfit', sans-serif;
  color: #f8fafc;
}
.qris-brand-logo span {
  color: #ec7063;
}

.qris-card {
  min-height: 120px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.01) 0%, rgba(79, 172, 254, 0.01) 100%);
}

.qris-card.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.04) 0%, rgba(79, 172, 254, 0.04) 100%);
  border-color: var(--border-active);
}

/* Buttons */
.btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #04080f;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--border-radius-sm);
}

/* Right Column Summary */
.checkout-summary-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.summary-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.summary-divider {
  height: 1px;
  background: var(--border-color);
  margin: 16px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.summary-row span:last-child {
  color: var(--text-primary);
}

.text-bold {
  font-weight: 600;
}

.total-row {
  margin-top: 8px;
  margin-bottom: 0;
}

.total-row span:first-child {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.total-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color) !important;
}

.merchant-protection {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-secondary);
}

.merchant-protection i {
  color: var(--success-color);
  font-size: 16px;
}

.info-card-under {
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
}

.info-item-small {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-item-small i {
  color: var(--primary-color);
  font-size: 18px;
  margin-top: 2px;
}

.info-item-small h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-item-small p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================
   INVOICE / QR PAYMENT VIEW STYLE
   ========================================== */
.invoice-section {
  max-width: 850px;
  margin: 0 auto;
}

.invoice-container {
  padding: 0;
  overflow: hidden;
}

.demo-banner {
  background: rgba(245, 158, 11, 0.15);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--pending-color);
  padding: 12px 24px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
}

.invoice-title h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--pending-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.invoice-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 32px;
}

/* QR Code Container Details */
.qr-code-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-container {
  background: white;
  padding: 16px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.qr-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--bg-primary);
}

.qr-spinner p {
  font-size: 13px;
  font-weight: 500;
}

.qr-instructions {
  text-align: center;
}

.qris-logo-brand {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.qris-q {
  color: #1b365d;
}

.qris-is {
  color: #d11242;
}

.qr-instructions p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.qr-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Invoice details side */
.detail-group h3 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.detail-list {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-md);
  padding: 20px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 10px 0;
}

.detail-row:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.detail-row span:first-child {
  color: var(--text-secondary);
}

.detail-row span:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

.detail-amount-highlight {
  font-size: 18px;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
}

/* Timer and Progress bar */
.timer-card {
  background: rgba(247, 37, 133, 0.03);
  border: 1px solid rgba(247, 37, 133, 0.15);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.timer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.timer-info span:first-child {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.countdown-clock {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.5px;
}

.progress-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #f72585 0%, #7209b7 100%);
  border-radius: 50px;
  transition: width 1s linear;
}

.timer-caption {
  font-size: 11px;
  color: var(--text-muted);
}

.timer-caption i {
  margin-right: 4px;
}

/* Status Checker Box */
.status-checker-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
}

.spinner-small {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 242, 254, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

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

#poller-text {
  font-size: 13px;
  color: var(--text-secondary);
  flex-grow: 1;
}

.btn-manual-check {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
}

/* ==========================================
   SUCCESS SCREEN STYLING
   ========================================== */
.success-section {
  max-width: 500px;
  margin: 40px auto;
}

.success-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px;
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.1);
  position: relative;
  overflow: hidden;
}

.success-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.success-icon-wrapper {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.success-icon-bg {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse-success 2s infinite;
}

.success-check-icon {
  font-size: 42px;
  color: var(--success-color);
  filter: drop-shadow(0 2px 10px rgba(16, 185, 129, 0.4));
}

@keyframes pulse-success {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3); }
  70% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.success-card h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #2af598 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.success-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.success-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  width: 100%;
  margin-bottom: 32px;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
}

.success-detail-row:not(:last-child) {
  border-bottom: 1px dashed var(--border-color);
}

.success-detail-row span {
  color: var(--text-secondary);
}

.text-primary-color {
  color: var(--primary-color) !important;
}

.text-center {
  text-align: center;
}

/* Footer style */
.app-footer {
  margin-top: 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Helper Class */
.hidden {
  display: none !important;
}

/* VA & Retail Layout inside Invoice */
.va-details-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.va-number-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px 20px;
  text-align: center;
}

.va-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}

.va-code-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.va-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 1.5px;
}

.btn-copy-va {
  padding: 6px 12px;
  font-size: 12px;
}

.va-instructions h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.accordion-instructions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.instr-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.01);
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  
  .invoice-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .qr-container {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .nominal-grid {
    grid-template-columns: 1fr;
  }
  
  .app-container {
    padding: 0 16px;
  }
  
  .card {
    padding: 20px;
  }
}
