:root { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { margin: 0; background: #0b1220; color: #e8eefc; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }
.header h1 { margin: 0 0 8px; font-size: 44px; letter-spacing: -0.5px; }
.header p { margin: 0 0 18px; opacity: 0.85; font-size: 18px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 18px; }
.plan { display:flex; flex-direction:column; gap: 10px; }
.plan-name { font-size: 22px; font-weight: 700; }
.plan-price { font-size: 40px; font-weight: 800; }
.plan-meta { display:flex; gap: 10px; opacity: 0.9; }
.plan-meta span { background: rgba(255,255,255,0.10); padding: 6px 10px; border-radius: 12px; font-size: 14px; }

.btn { border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); color: #e8eefc; padding: 12px 14px; border-radius: 14px; cursor: pointer; text-decoration:none; display:inline-block; font-weight:700; }
.btn.primary { background: rgba(72, 112, 255, 0.35); border-color: rgba(72,112,255,0.9); }
.btn:hover { filter: brightness(1.15); }

.qrbox { display:flex; flex-direction:column; align-items:center; gap: 12px; padding: 18px; }
.qr { width: min(420px, 92vw); background: white; border-radius: 14px; padding: 10px; }
.countdown { opacity: 0.85; font-size: 16px; }

.success, .warn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 18px; }
.voucher { margin: 14px 0; display:grid; gap: 10px; font-size: 22px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(255,255,255,0.10); padding: 3px 10px; border-radius: 12px; }
.actions { display:flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.printnote { opacity: 0.75; margin-top: 10px; }

.table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,0.04); border-radius: 16px; overflow:hidden; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.10); text-align:left; }
.table th { background: rgba(255,255,255,0.06); }

.form { display:grid; gap: 10px; max-width: 520px; }
.form input, .form select { padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.18); background: rgba(0,0,0,0.20); color: #e8eefc; }

/* Print */
@media print {
  body { background: white; color: black; }
  .wrap { max-width: 100%; }
  .noprint { display:none !important; }
  .mono { background: #eee; color: black; }
}
