/* ==========================================================================
   PT INDAH CARGO LOGISTIK - BRAND DESIGN SYSTEM & UI STYLES
   Colors: Deep Navy (#072348), Indah Blue (#0A3764), Accent Red (#D71920),
           Warm Orange (#F39200), Star Yellow (#FFD100)
   ========================================================================== */

:root {
  --indah-navy-dark: #051a36;
  --indah-navy: #0a3764;
  --indah-navy-light: #164e8a;
  --indah-blue-accent: #1e60a5;
  --indah-red: #d71920;
  --indah-red-hover: #b8141a;
  --indah-orange: #f39200;
  --indah-yellow: #ffd100;
  
  --bg-gradient: linear-gradient(135deg, #071e3d 0%, #0a3764 50%, #0d2847 100%);
  --bg-body: #f4f6fa;
  --surface-card: #ffffff;
  --surface-subtle: #f8fafc;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --border-light: #e2e8f0;
  --border-focus: #0a3764;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(10, 55, 100, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 55, 100, 0.15);
  --shadow-glow: 0 0 25px rgba(243, 146, 0, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* TOP BRAND BANNER */
.top-nav {
  background: var(--indah-navy-dark);
  border-bottom: 3px solid var(--indah-orange);
  padding: 12px 24px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-sub {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.merchant-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #f8fafc;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* MAIN CONTAINER */
.main-wrapper {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 20px;
}

/* HERO CARGO BANNER */
.hero-banner {
  background: var(--bg-gradient);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: white;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 320px;
  height: 120px;
  background: linear-gradient(90deg, rgba(215, 25, 32, 0.2), transparent);
  transform: rotate(-15deg);
  pointer-events: none;
}

.hero-content h1 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
  max-width: 650px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
}

.badge-tag.accent {
  background: rgba(243, 146, 0, 0.25);
  border-color: var(--indah-orange);
  color: var(--indah-yellow);
}

/* LAYOUT GRID */
.grid-2col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .grid-2col {
    grid-template-columns: 1fr;
  }
}

/* FORM CARD */
.card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--indah-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-label span.req {
  color: var(--indah-red);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #ffffff;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(10, 55, 100, 0.12);
}

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

.input-prefix {
  position: absolute;
  left: 16px;
  font-weight: 700;
  color: var(--indah-navy);
  font-size: 1rem;
}

.input-with-prefix input {
  padding-left: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--indah-navy);
}

/* QUICK NOMINAL PRESETS */
.nominal-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.preset-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.preset-btn:hover, .preset-btn.active {
  background: var(--indah-navy);
  border-color: var(--indah-navy);
  color: #ffffff;
}

/* SERVICE SELECTOR CARDS */
.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card-radio {
  position: relative;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card-radio:hover {
  border-color: var(--indah-orange);
  background: #fffdf8;
}

.service-card-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.service-card-radio.active {
  border-color: var(--indah-navy);
  background: #f0f6fc;
  box-shadow: 0 0 0 2px var(--indah-navy);
}

.service-icon {
  font-size: 1.5rem;
  color: var(--indah-navy);
}

.service-card-radio.active .service-icon {
  color: var(--indah-red);
}

.service-text h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--indah-navy);
}

.service-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FEE SPLIT CARDS */
.fee-toggle-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.fee-card {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fee-card.active {
  border-color: var(--indah-orange);
  background: #fffaf0;
  box-shadow: 0 0 0 2px var(--indah-orange);
}

.fee-card h6 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.fee-card p {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

/* PRIMARY SUBMIT BUTTON */
.btn-primary {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--indah-red) 0%, #b8141a 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(215, 25, 32, 0.35);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(215, 25, 32, 0.45);
  background: linear-gradient(135deg, #e30613 0%, var(--indah-red) 100%);
}

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

.btn-primary:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ==========================================================================
   OFFICIAL STANDARDIZED QRIS STANDING PLACARD (ASPI / GPN / BANK INDONESIA)
   ========================================================================== */
.qris-placard-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background-color: #ffffff;
  background-image: url('/assets/aspi_pattern_tile.png');
  background-repeat: repeat;
  background-size: 59px 59px;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(10, 55, 100, 0.16), 0 4px 16px rgba(0,0,0,0.06);
  border: 1.5px solid #cbd5e1;
  position: relative;
  overflow: hidden;
  padding: 24px 22px 18px 22px;
  text-align: center;
}

/* Left Red Geometric Chevron / Ribbon */
.qris-placard-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 175px;
  width: 52px;
  height: 135px;
  background: #e30613;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

/* Bottom Right Red Triangle Corner */
.qris-placard-card::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 85px;
  background: #e30613;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  z-index: 1;
  pointer-events: none;
}

/* Top Placard Header: QRIS on Left, GPN on Right */
.placard-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.placard-qris-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.qris-brand-svg {
  height: 30px;
  width: auto;
}

.qris-brand-sub {
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.gpn-brand-svg {
  height: 38px;
  width: auto;
}

/* Merchant Brand in Placard */
.placard-merchant-section {
  margin: 10px 0 14px 0;
  position: relative;
  z-index: 2;
}

.placard-indah-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 8px auto;
  display: block;
}

.placard-merchant-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.placard-merchant-nmid {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-top: 3px;
  letter-spacing: 0.3px;
}

.placard-merchant-terminal {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e293b;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* QR Code Display Container */
.placard-qr-box {
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  display: inline-block;
  margin: 4px auto 14px auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
  border: 1px solid #e2e8f0;
}

.placard-qr-box img,
.placard-qr-box canvas {
  width: 250px;
  height: 250px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Bottom Tagline & ASPi info */
.placard-bottom-tagline {
  font-size: 0.85rem;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
  position: relative;
  z-index: 2;
}

.placard-aspi-link {
  font-size: 0.74rem;
  color: #475569;
  font-weight: 600;
  margin-top: 3px;
  position: relative;
  z-index: 2;
}

.placard-aspi-link a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

/* Placard Footer Metadata & Instructions */
.placard-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 18px;
  padding-top: 10px;
  position: relative;
  z-index: 2;
  min-height: 50px;
}

.placard-print-info {
  text-align: left;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
  line-height: 1.35;
}

.placard-instructions {
  position: absolute;
  right: 6px;
  bottom: 6px;
  color: #ffffff;
  text-align: right;
  z-index: 3;
}

.placard-instructions-title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin-bottom: 3px;
  padding-right: 4px;
}

.placard-instruction-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.58rem;
  font-weight: 700;
}

.placard-step-badge {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.placard-step-badge i {
  font-size: 0.75rem;
}

/* Supported Bank & E-Wallet Chips */
.qris-payment-banks {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.banks-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.bank-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.bank-chip {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  letter-spacing: 0.3px;
}

/* TIMER & ORDER SUMMARY */
.timer-card {
  background: #fff8f8;
  border: 1.5px solid #fed7d7;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--indah-red);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.timer-countdown {
  font-family: monospace;
  font-size: 1.15rem;
  background: var(--indah-red);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
}

.summary-list {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px dashed #e2e8f0;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--indah-navy);
  padding-top: 10px;
  margin-top: 6px;
  border-top: 2px solid #cbd5e1;
}

.total-amount-highlight {
  color: var(--indah-red);
}

/* ==========================================================================
   SUCCESS WEBCALLBACK / RECEIPT STYLES
   ========================================================================== */
.success-container {
  max-width: 680px;
  margin: 30px auto;
  padding: 0 16px;
}

.success-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(10, 55, 100, 0.12);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.success-top-ribbon {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  text-align: center;
  padding: 32px 20px 24px 20px;
  position: relative;
}

.success-icon-badge {
  width: 76px;
  height: 76px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: scaleBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleBounce {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.success-check-svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #059669;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.success-subtitle {
  font-size: 0.92rem;
  color: #e6fffa;
  margin-top: 6px;
}

.receipt-body {
  padding: 30px 28px;
}

.receipt-header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 20px;
}

.receipt-logo {
  height: 42px;
  width: auto;
}

.receipt-verified-tag {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.receipt-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.receipt-details-table td {
  padding: 10px 0;
  font-size: 0.92rem;
  border-bottom: 1px dashed #f1f5f9;
}

.receipt-details-table td.label {
  color: var(--text-muted);
  width: 45%;
}

.receipt-details-table td.val {
  font-weight: 700;
  text-align: right;
  color: var(--text-primary);
}

.receipt-details-table tr.grand-total td {
  padding-top: 14px;
  border-bottom: none;
  border-top: 2px solid #e2e8f0;
  font-size: 1.25rem;
  color: var(--indah-navy);
}

.receipt-details-table tr.grand-total td.val {
  color: #059669;
}

/* LOGISTICS TIMELINE PROGRESS */
.timeline-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

.timeline-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--indah-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.timeline-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-marker {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-marker.done {
  background: #10b981;
  color: white;
}

.step-marker.active {
  background: var(--indah-orange);
  color: white;
  animation: pulseAnim 1.5s infinite;
}

.step-marker.pending {
  background: #cbd5e1;
  color: white;
}

.step-desc h6 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.step-desc p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ACTION BUTTONS */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-secondary {
  padding: 13px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.92rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* WHATSAPP ACTION BUTTON */
.btn-whatsapp {
  padding: 13px 20px;
  background: #25D366;
  border: 1.5px solid #20ba5a;
  border-radius: var(--radius-md);
  font-weight: 800;
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* EXPIRED QRIS OVERLAY & BADGE */
.qris-expired-container {
  position: relative;
}

.qris-expired-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 50;
  animation: fadeIn 0.3s ease-out;
}

.expired-icon-circle {
  width: 64px;
  height: 64px;
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ef4444;
  margin-bottom: 12px;
}

.expired-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.expired-desc {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 18px;
  max-width: 260px;
}

/* PRINT MEDIA SPECIFICATION */
@media print {
  @page {
    size: auto;
    margin: 8mm;
  }
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .top-nav, 
  .hero-banner, 
  .action-grid, 
  .no-print, 
  .timer-card, 
  .btn-secondary, 
  .btn-whatsapp,
  #btnBayarExternal, 
  .qris-payment-banks,
  .pulse-dot {
    display: none !important;
  }
  .success-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .success-card {
    box-shadow: none !important;
    border: 1px solid #94a3b8 !important;
  }
  .main-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .grid-2col {
    display: block !important;
  }
  .grid-2col > div:nth-child(2) {
    display: none !important;
  }
  .qris-placard-card {
    box-shadow: none !important;
    border: 2px solid #0a3764 !important;
    margin: 0 auto !important;
    page-break-inside: avoid !important;
    max-width: 440px !important;
  }
}

