/* DOC PAY Premium 3.0: admin-only theme. Checkout remains unchanged. */
:root{--v3-bg:#061121;--v3-card:#091a2e;--v3-line:#18324d;--v3-muted:#8eadd0;--v3-teal:#05e0ba;--v3-blue:#168fff}
body:has(.layout){background:#061121;color:#eef6ff;font-family:Inter,'Segoe UI',Arial,sans-serif}
body:has(.layout) .layout{background:radial-gradient(ellipse at 75% -20%,#0d2744 0%,transparent 55%),#061121}
body:has(.layout) .sidebar{width:246px;min-width:246px;padding:0 13px;background:linear-gradient(180deg,#061222,#041020);border-right:1px solid #14304a;box-sizing:border-box}
body:has(.layout) .sidebar .brand{font-size:24px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:23px 9px 33px;text-decoration:none;letter-spacing:-.8px}
body:has(.layout) .brand .logo{background:linear-gradient(135deg,#00dcb7,#009e92);border-radius:11px;box-shadow:0 8px 23px #00d5ac24;padding:10px 7px;font-size:15px;color:white}
.brand-sub{width:100%;font-size:11px;font-weight:500;color:#7eabda;margin:-5px 0 0 63px;letter-spacing:.2px}
body:has(.layout) .nav-group{font-size:10px;letter-spacing:1.6px;color:#6389ae;margin:22px 14px 9px}
body:has(.layout) .nav{border-radius:11px;margin:4px 0;padding:14px 13px;color:#95b8de;font-size:13px;display:flex;gap:11px;align-items:center;border:1px solid transparent}
body:has(.layout) .nav.active{background:linear-gradient(100deg,#043d46,#082536);border:1px solid #087c83;color:#18ebc4;box-shadow:inset 3px 0 #0fe1b8}
body:has(.layout) .nav:hover{background:#0e2940}
body:has(.layout) .main{min-width:0;flex:1}
body:has(.layout) .top{height:76px;border-bottom:1px solid #19334c;background:#061424cc;backdrop-filter:blur(16px);padding:0 29px}
body:has(.layout) .top h1{font-size:18px}
body:has(.layout) .content{max-width:1750px;padding:24px 26px 70px}
.v3-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:2px 0 23px}
.v3-kicker{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#63a5d7;margin:0 0 9px}
.v3-intro h2{font-size:27px;letter-spacing:-.8px;margin:0;color:#f3f8ff}
.v3-spark{font-size:17px;color:#11e4b9;vertical-align:middle}
.v3-intro>div>p:last-child{color:#82a4c6;font-size:13px;margin:6px 0 0}
.v3-online{display:flex;align-items:center;gap:10px;color:#9fc4e7;font-size:12px;white-space:nowrap}
.v3-online i,.v3-live i{width:8px;height:8px;border-radius:50%;background:#09e6b5;box-shadow:0 0 14px #09e6b5;display:inline-block}
.v3-online span{padding:7px 11px;border:1px solid #087b78;border-radius:9px;color:#10e7c2;font-weight:800;margin-left:5px}
.v3-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.v3-metric{min-width:0;min-height:167px;padding:18px 17px 16px;border:1px solid #16465b;border-radius:15px;background:linear-gradient(135deg,#08313a,#071b2c 70%);position:relative;overflow:hidden;box-shadow:0 16px 36px #00000021;isolation:isolate}
.v3-metric.blue{background:linear-gradient(135deg,#092b4c,#07182e 74%);border-color:#14456e}.v3-metric.violet{background:linear-gradient(135deg,#241b49,#0a1a30 70%);border-color:#39316a}.v3-metric.amber{background:linear-gradient(135deg,#30291a,#0b1a2c 70%);border-color:#51432b}
.v3-metric:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 85% 90%,currentColor,transparent 42%);opacity:.06;pointer-events:none}
.v3-metric.teal{color:#09e2ba}.v3-metric.blue{color:#279eff}.v3-metric.violet{color:#aa82ff}.v3-metric.amber{color:#f7c544}
.v3-metric-top{display:flex;align-items:center;gap:12px;margin-bottom:13px}.v3-metric-icon{width:42px;height:42px;border-radius:10px;background:currentColor;display:grid;place-items:center;font-size:25px;font-weight:800;position:relative;color:inherit;filter:drop-shadow(0 0 9px #0002)}.v3-metric-icon{background:#ffffff14}
.v3-metric-label{font-size:11px;letter-spacing:.8px;color:#a6c9e8;font-weight:800}.v3-metric strong{display:block;font-size:clamp(21px,2vw,29px);color:#f3f8ff;letter-spacing:-.8px;white-space:nowrap;position:relative;z-index:2}
.v3-metric-bottom{display:flex;align-items:center;gap:10px;margin-top:19px;position:relative;z-index:2}.v3-metric-bottom small{font-size:10px;color:#8cb0ce;line-height:1.35}.v3-clear{border:1px solid currentColor;border-radius:9px;padding:7px 13px;color:inherit;background:#00000020;font-weight:800;font-size:11px;cursor:pointer;white-space:nowrap}.v3-clear:hover{background:#ffffff16}.v3-mini{position:absolute;right:10px;bottom:42px;width:83px;height:35px;opacity:.85;filter:drop-shadow(0 0 5px currentColor)}
.v3-analytics,.v3-bottom{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.88fr);gap:17px;margin-top:18px}.v3-bottom{grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr)}
.v3-panel{border:1px solid #153b5d;border-radius:15px;background:linear-gradient(150deg,#0a1d34,#06162a 80%);box-shadow:0 15px 35px #00000024;min-width:0;padding:21px}
.v3-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}.v3-panel-head h3{font-size:17px;letter-spacing:-.3px;margin:0;color:#f2f8ff}.v3-chip{padding:8px 12px;border:1px solid #185176;background:#0b253d;border-radius:9px;color:#42c5f9;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap}
.v3-chart-total{font-size:25px;font-weight:800;color:#85bdff;margin:0 0 7px}.v3-chart-total small{display:block;font-size:10px;font-weight:500;color:#7398bc;margin-top:4px}
.v3-linechart{display:block;width:100%;height:auto;min-width:400px}.v3-chart-scroll{overflow-x:auto}.v3-chart{min-height:355px}
.v3-live{font-size:11px;color:#87afc8;white-space:nowrap}.v3-donut-layout{display:flex;align-items:center;justify-content:center;gap:20px;min-height:214px}.v3-donut{width:158px;height:158px;flex-shrink:0;border-radius:50%;background:conic-gradient(#0bd8b3 0 var(--paid),#178fff var(--paid) calc(var(--paid) + var(--pending)),#ffc63f calc(var(--paid) + var(--pending)) 100%);display:grid;place-items:center;box-shadow:0 0 30px #0cb9c219}.v3-donut>div{width:114px;height:114px;border-radius:50%;background:#07182b;display:flex;flex-direction:column;justify-content:center;align-items:center}.v3-donut strong{font-size:32px;color:#f0f8ff}.v3-donut small{font-size:11px;color:#84a4c4}.v3-legend{flex:1;min-width:100px}.v3-legend>div{display:flex;align-items:center;gap:8px;font-size:11px;color:#b5cce3;margin:17px 0}.v3-legend b{margin-left:auto;color:#fff}.dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.teal-dot{background:#0bd8b3}.blue-dot{background:#168fff}.gold-dot{background:#ffc63f}.v3-rate{border:1px solid #087d80;background:#062737;border-radius:11px;padding:14px 16px}.v3-rate span{display:block;font-size:11px;color:#a5c8e6}.v3-rate strong{font-size:23px;color:#e9f8ff}.v3-rate small{display:block;color:#79b6bb;font-size:10px}
.v3-gateway-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.v3-gateway{padding:16px;border:1px solid #164266;border-radius:12px;background:linear-gradient(155deg,#0b2c42,#071b31);min-width:0}.v3-gateway-icon{width:43px;height:43px;display:grid;place-items:center;background:#065b5a;border-radius:11px;color:#20f3c6;font-size:25px}.v3-gateway-icon.blue-icon{background:#064474;color:#47b7ff}.v3-gateway h4{font-size:13px;margin:13px 0 7px}.v3-gateway p{font-size:11px;color:#91b2d0;line-height:1.65;min-height:54px}.v3-gateway-button{display:block;text-align:center;text-decoration:none;background:linear-gradient(110deg,#03d9b6,#0ebc9c);border-radius:10px;padding:12px 8px;font-size:12px;font-weight:800;color:#031725}.v3-gateway-button.blue-button{background:linear-gradient(110deg,#0e9cfe,#0672e7);color:#fff}.v3-gateway-button:hover{filter:brightness(1.15)}
.v3-table-scroll{overflow-x:auto}.v3-table{width:100%;border-collapse:collapse;min-width:520px}.v3-table th{color:#739cc2;font-size:9px;letter-spacing:1px;font-weight:800;text-align:left;border-bottom:1px solid #193954;padding:11px 9px}.v3-table td{padding:13px 9px;font-size:11px;color:#d8e9f8;border-bottom:1px solid #123049}.v3-table td a{color:#6abaff;text-decoration:none}.v3-status-pill{border-radius:25px;padding:6px 9px;font-weight:700;font-size:10px;background:#153750;color:#a4c2db}.v3-status-pill.paid{background:#063e3c;color:#25e4bb}.v3-status-pill.pending{background:#0b315b;color:#65b7ff}.v3-status-pill.cancelled{background:#46361a;color:#ffcb62}
.v3-maintenance{margin-top:18px}.v3-maintenance details{border:1px solid #19344f;background:#091a2d;border-radius:12px;padding:17px 21px}.v3-maintenance summary{cursor:pointer;color:#a9c6e2;font-size:12px;font-weight:700}.v3-maintenance-body{padding:15px 0 0;max-width:640px;color:#8eaccb;font-size:12px}.v3-maintenance-body form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.v3-maintenance-body label{flex:1;min-width:180px}.v3-maintenance-body input{width:100%}.v3-maintenance-body button{min-width:180px}
.v3-dialog{max-width:420px;width:calc(100% - 40px);border:1px solid #275676;background:#0c1c30;color:#f0f7ff;border-radius:17px;padding:25px;box-shadow:0 25px 100px #000a}.v3-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.v3-dialog h3{margin:0 0 12px}.v3-dialog p{font-size:13px;color:#aac1d7;line-height:1.7}.v3-dialog label{display:block;font-size:12px;color:#c8dcf0}.v3-dialog input{width:100%;margin-top:8px}.v3-dialog-actions{display:flex;gap:10px;margin-top:18px}.v3-dialog-actions button{flex:1;min-width:0}
@media(max-width:1250px){.v3-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-analytics,.v3-bottom{grid-template-columns:1fr}.v3-chart{min-height:0}}
@media(max-width:750px){body:has(.layout) .sidebar{width:100%;min-width:0;height:auto;position:static;padding:0 12px 12px}body:has(.layout) .top{height:65px;padding:0 16px}body:has(.layout) .content{padding:20px 14px 45px}.v3-intro{align-items:start;flex-direction:column}.v3-donut-layout{justify-content:flex-start}.v3-panel{padding:17px}}
@media(max-width:460px){.v3-metrics{gap:9px}.v3-metric{padding:13px 11px;min-height:158px}.v3-metric strong{font-size:19px}.v3-metric-icon{width:30px;height:30px;font-size:18px}.v3-metric-label{font-size:9px}.v3-metric-bottom{flex-direction:column;align-items:flex-start}.v3-mini{opacity:.3}.v3-gateway-grid{grid-template-columns:1fr}.v3-donut{width:126px;height:126px}.v3-donut>div{width:92px;height:92px}.v3-legend>div{font-size:10px}}
