/* CSS Kustom - Platform CBT Bimbel Juara (UTBK-SNBT & Ujian Mandiri) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --primary-navy: #0b2447;
  --primary-blue: #19376d;
  --primary-royal: #1e3a8a;
  --accent-gold: #f59e0b;
  --accent-amber: #d97706;
  --accent-orange: #ea580c;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #0a1128;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Penyeragaman Format Huruf Besar (UPPERCASE) */
input.uppercase,
input[style*="uppercase"],
.uppercase {
  text-transform: uppercase !important;
}

/* Teks Placeholder Halus, Transparan & Pudar (Hilang Otomatis Saat Diketik) */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #64748b !important;
  font-weight: 400 !important;
  opacity: 0.65 !important;
}

.font-mono-code {
  font-family: 'JetBrains Mono', monospace;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.4), 0 4px 6px -4px rgba(37, 211, 102, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.floating-wa-btn:hover {
  background: #20ba5a;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px -3px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

/* Kartu QRIS Elegan */
.qris-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

.qris-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.qris-logo-text {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.qris-badge-national {
  display: block;
  font-size: 7px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
}

.qris-gpn {
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.merchant-name {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.merchant-nmid {
  font-size: 10px;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
}

.qris-code-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.qris-svg-qr {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.qris-footer {
  border-top: 1px dashed #cbd5e1;
  padding-top: 10px;
  margin-top: 8px;
}

.qris-supported {
  font-size: 9px;
  color: #64748b;
  line-height: 1.3;
}

.qris-order-id {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #1e3a8a;
  margin-top: 4px;
}

/* Print styles untuk hasil cetak rapor */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .shadow-sm, .shadow-md, .shadow-lg, .shadow-xl {
    box-shadow: none !important;
  }
}
