:root { color-scheme: dark; --bg:#050103; --surface:#211015; --surface2:#2b151c; --line:rgba(255,209,218,.14); --text:#fff4f6; --muted:#b99ca3; --primary:#ff304d; --primary2:#ff712e; --green:#57e591; --amber:#ffad42; --danger:#ff5470; font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
html { min-width:320px; background:var(--bg); }
body { margin:0; min-height:100vh; color:var(--text); background:radial-gradient(circle at 50% -10%,#3a0c16 0,#16070b 32%,#050103 75%); }
button,input,select { font:inherit; }
button { color:inherit; }
a { color:inherit; }
.portal-shell { width:min(100% - 28px,1080px); margin:0 auto; padding:24px 0 60px; }
.portal-top { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:28px; }
.portal-brand { display:flex; align-items:center; gap:11px; text-decoration:none; font-size:13px; font-weight:900; letter-spacing:.12em; }
.portal-brand i { width:38px; height:38px; display:grid; place-items:center; border-radius:13px; font-style:normal; background:linear-gradient(145deg,var(--primary),var(--primary2)); box-shadow:0 10px 32px rgba(255,48,77,.28); }
.portal-brand img { width:42px; height:42px; display:block; object-fit:cover; border-radius:14px; box-shadow:0 10px 32px rgba(255,48,77,.28); }
.portal-card { border:1px solid var(--line); border-radius:22px; background:linear-gradient(145deg,rgba(43,21,28,.96),rgba(23,7,12,.96)); box-shadow:0 26px 80px rgba(0,0,0,.38); padding:22px; }
.auth-layout { min-height:calc(100vh - 108px); display:grid; grid-template-columns:1.05fr .95fr; gap:22px; align-items:center; }
.auth-intro { padding:30px 10px; }
.eyebrow { margin:0 0 9px; color:var(--primary); font-size:12px; font-weight:900; letter-spacing:.16em; }
h1,h2,h3,p { overflow-wrap:anywhere; }
h1 { margin:0; font-size:clamp(36px,7vw,68px); line-height:.98; letter-spacing:-.055em; }
h2 { margin:0; font-size:24px; letter-spacing:-.03em; }
h3 { margin:0; }
.auth-intro > p:not(.eyebrow) { color:var(--muted); line-height:1.7; font-size:16px; max-width:560px; }
.feature-list { display:grid; gap:10px; margin-top:24px; }
.feature-list span { display:flex; gap:10px; align-items:center; color:#ebd9dd; }
.feature-list span::before { content:"✓"; width:25px; height:25px; display:grid; place-items:center; border-radius:9px; color:var(--green); background:rgba(87,229,145,.1); }
.auth-card { max-width:470px; width:100%; justify-self:end; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:5px; border-radius:15px; background:rgba(0,0,0,.25); margin-bottom:20px; }
.auth-tabs button { border:0; border-radius:11px; padding:11px; background:transparent; color:var(--muted); cursor:pointer; font-weight:800; }
.auth-tabs button.active { color:white; background:linear-gradient(135deg,var(--primary),var(--primary2)); }
.auth-form { display:grid; gap:14px; }
.auth-form[hidden] { display:none; }
label { display:grid; gap:7px; color:#f0dfe2; font-size:14px; font-weight:750; }
input,select { width:100%; border:1px solid var(--line); border-radius:14px; padding:13px 14px; background:#0b0305; color:var(--text); outline:0; }
input:focus,select:focus { border-color:rgba(255,48,77,.65); box-shadow:0 0 0 4px rgba(255,48,77,.1); }
.primary,.secondary,.danger { min-height:48px; border:0; border-radius:14px; padding:0 18px; display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:900; cursor:pointer; text-decoration:none; }
.primary { color:white; background:linear-gradient(115deg,var(--primary),var(--primary2)); box-shadow:0 12px 32px rgba(255,48,77,.24); }
.secondary { background:#3a2028; color:#fff4f6; }
.danger { color:#ffb1bd; background:rgba(255,84,112,.09); border:1px solid rgba(255,84,112,.2); }
.small-button { min-height:36px; padding:0 12px; border-radius:11px; font-size:13px; }
.form-error { min-height:22px; margin:0; color:#ff9bac; font-size:13px; }
.form-note { margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.dashboard-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:22px; }
.dashboard-head h1 { font-size:clamp(34px,6vw,54px); }
.top-actions { display:flex; gap:9px; flex-wrap:wrap; }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:16px; }
.stat-card { padding:17px; border:1px solid var(--line); border-radius:18px; background:rgba(33,16,21,.82); }
.stat-card span { color:var(--muted); font-size:12px; }
.stat-card strong { display:block; margin-top:7px; font-size:30px; color:var(--primary); }
.admin-grid { display:grid; grid-template-columns:340px 1fr; gap:16px; align-items:start; }
.settings-form { display:grid; gap:13px; }
.settings-form h2 { margin-bottom:5px; }
.content-card { min-width:0; }
.card-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.card-heading input { width:min(100%,280px); }
.table-wrap { overflow:auto; border:1px solid var(--line); border-radius:16px; }
table { width:100%; border-collapse:collapse; min-width:760px; }
th,td { padding:12px 13px; border-bottom:1px solid var(--line); text-align:left; vertical-align:middle; }
th { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.07em; }
td { font-size:14px; }
tr:last-child td { border-bottom:0; }
.identity strong,.identity small { display:block; }
.identity small { margin-top:3px; color:var(--muted); }
.badge { display:inline-flex; align-items:center; border-radius:99px; padding:6px 9px; font-size:11px; font-weight:850; }
.badge.active,.badge.paid { color:var(--green); background:rgba(87,229,145,.11); }
.badge.locked,.badge.cancelled { color:#ff9bac; background:rgba(255,84,112,.1); }
.badge.pending { color:var(--amber); background:rgba(255,173,66,.1); }
.row-actions { display:flex; align-items:center; gap:7px; }
.days-input { width:70px; padding:8px; }
.admin-tabs { display:flex; gap:8px; margin:16px 0; }
.admin-tabs button { border:1px solid var(--line); border-radius:12px; padding:9px 13px; background:var(--surface); color:var(--muted); cursor:pointer; }
.admin-tabs button.active { color:white; border-color:rgba(255,48,77,.42); background:rgba(255,48,77,.12); }
.panel[hidden] { display:none; }
.payment-layout { min-height:calc(100vh - 108px); display:grid; place-items:center; }
.payment-card { width:min(100%,640px); text-align:center; }
.payment-card h1 { font-size:clamp(30px,7vw,48px); }
.payment-card > p { color:var(--muted); }
.qr-frame { width:min(330px,90%); aspect-ratio:1; margin:20px auto; padding:12px; border-radius:24px; background:white; box-shadow:0 20px 60px rgba(0,0,0,.42); }
.qr-frame img { display:block; width:100%; height:100%; object-fit:contain; }
.payment-info { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:18px 0; text-align:left; }
.payment-info div { padding:13px; border:1px solid var(--line); border-radius:14px; background:rgba(0,0,0,.17); }
.payment-info span,.payment-info strong { display:block; }
.payment-info span { color:var(--muted); font-size:12px; }
.payment-info strong { margin-top:5px; font-size:16px; }
.payment-code { grid-column:1 / -1; }
.payment-code strong { color:var(--amber); letter-spacing:.08em; }
.payment-actions { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.success-box { padding:18px; border:1px solid rgba(87,229,145,.24); border-radius:17px; color:var(--green); background:rgba(87,229,145,.08); }
.loading { color:var(--muted); padding:24px; }
.toast { position:fixed; z-index:20; left:50%; bottom:24px; transform:translateX(-50%); width:min(calc(100% - 28px),480px); padding:13px 15px; border:1px solid var(--line); border-radius:14px; background:#2b151c; box-shadow:0 18px 50px rgba(0,0,0,.5); animation:toast-in .25s ease; }
@keyframes toast-in { from { opacity:0; transform:translate(-50%,8px); } }
@media (max-width:820px) { .auth-layout,.admin-grid { grid-template-columns:1fr; } .auth-card { justify-self:stretch; max-width:none; } .auth-intro { padding-top:10px; } .stat-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px) { .portal-shell { width:min(100% - 18px,1080px); padding-top:14px; } .portal-card { padding:17px; border-radius:18px; } .dashboard-head { align-items:flex-start; flex-direction:column; } .payment-info { grid-template-columns:1fr; } .payment-code { grid-column:auto; } .stat-grid { gap:8px; } .stat-card strong { font-size:24px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }
