:root {
  color-scheme: dark;
  --bg: #080711;
  --sidebar: #090914;
  --surface: #11101d;
  --surface-2: #171429;
  --line: rgba(255,255,255,.09);
  --text: #f8f6ff;
  --muted: #918ba4;
  --purple: #8658ff;
  --purple-2: #b08fff;
  --orange: #ffad5d;
  --green: #4de3a5;
  --red: #ff7c84;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 68% -10%, rgba(92,47,194,.16), transparent 31%), var(--bg); color: var(--text); }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; padding: 29px 22px; border-right: 1px solid var(--line); background: rgba(8,8,17,.94); display: flex; flex-direction: column; z-index: 10; }
.panel-brand { display: flex; align-items: center; gap: 13px; padding: 4px 5px 28px; }
.logo-mark { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(145deg,#a77bff,#6632db); box-shadow: 0 16px 40px rgba(100,53,222,.32); font-size: 23px; font-weight: 850; }
.panel-brand strong, .panel-brand small { display: block; }.panel-brand strong { font-size: 16px; }.panel-brand small { margin-top: 5px; color: var(--muted); letter-spacing: .17em; font-size: 8px; }
.sidebar nav { display: grid; gap: 4px; }.sidebar nav a { color: #9f99af; padding: 12px 14px; border-radius: 11px; font-size: 13px; }.sidebar nav a:hover, .sidebar nav a:focus { color: white; background: rgba(127,81,238,.14); outline: 1px solid rgba(159,121,255,.24); }
.sidebar-status { margin-top: auto; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,17,31,.7); }.sidebar-status span { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--green); box-shadow: 0 0 14px var(--green); margin-right: 8px; }.sidebar-status strong { font-size: 11px; }.sidebar-status small { display: block; color: var(--muted); font-size: 9px; margin: 7px 0 0 18px; overflow: hidden; text-overflow: ellipsis; }
.dashboard { margin-left: 250px; padding: 0 38px 60px; max-width: 1650px; }
.dashboard-header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 22px; }.dashboard-header h1 { margin: 7px 0 0; font-size: 25px; }.eyebrow { color: var(--purple-2); font-size: 9px; letter-spacing: .2em; font-weight: 800; margin: 0; }.admin-box { display: flex; align-items: center; gap: 10px; }.admin-box > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #2a2050; color: #d6c8ff; font-size: 11px; }.admin-box strong, .admin-box small { display: block; }.admin-box strong { font-size: 12px; }.admin-box small { color: var(--muted); font-size: 9px; margin-top: 3px; }.admin-box button, .card-actions button, .inline-control button, .link-button { border: 1px solid var(--line); background: var(--surface); color: #c5bfd1; border-radius: 9px; padding: 7px 10px; cursor: pointer; }
.alert { border-radius: 13px; padding: 13px 16px; margin: 0 0 18px; border: 1px solid var(--line); }.alert.success { color: #a9f4d3; background: rgba(47,170,117,.1); border-color: rgba(77,227,165,.22); }.alert.error { color: #ffc1c4; background: rgba(190,67,76,.1); border-color: rgba(255,124,132,.22); }
.panel-section { scroll-margin-top: 20px; margin: 22px 0; border: 1px solid var(--line); border-radius: 23px; padding: 26px; background: rgba(16,15,29,.78); }
.hero-section { min-height: 325px; display: flex; align-items: center; justify-content: space-between; padding: 44px 50px; overflow: hidden; position: relative; background: linear-gradient(120deg,rgba(57,38,117,.78),rgba(20,17,38,.86)); }.hero-section::before { content: ""; position: absolute; width: 440px; height: 440px; right: -100px; border: 1px solid rgba(175,143,255,.14); border-radius: 50%; }.hero-section h2 { margin: 14px 0 18px; font-size: clamp(38px,4.1vw,66px); line-height: .98; letter-spacing: -.055em; }.hero-section p:not(.eyebrow) { color: #aaa3bb; max-width: 600px; line-height: 1.6; }.hero-logo { width: 130px; height: 130px; margin-right: 8vw; display: grid; place-items: center; border-radius: 35px; background: linear-gradient(145deg,#a67aff,#6232d7); font-size: 60px; font-weight: 850; box-shadow: 0 24px 65px rgba(91,48,197,.36); z-index: 1; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; border: 0; border-radius: 11px; background: linear-gradient(135deg,#a476ff,#7242e9); color: white; padding: 0 17px; font-weight: 750; cursor: pointer; box-shadow: 0 13px 31px rgba(104,59,211,.2); }.primary-button.inline { margin-top: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }.stats-grid article { position: relative; border: 1px solid var(--line); border-radius: 17px; padding: 20px; background: var(--surface); overflow: hidden; }.stats-grid article::before { content: ""; position: absolute; inset: 12px auto 12px 0; width: 3px; border-radius: 4px; background: var(--purple); }.stats-grid article:nth-child(3)::before { background: var(--orange); }.stats-grid article:nth-child(4)::before { background: #5dd8ff; }.stats-grid small, .stats-grid strong, .stats-grid span { display: block; }.stats-grid small { color: var(--muted); letter-spacing: .13em; font-size: 8px; }.stats-grid strong { font-size: 30px; margin: 16px 0 8px; }.stats-grid span { color: #6f697f; font-size: 10px; }
.section-heading { display: flex; justify-content: space-between; margin-bottom: 20px; }.section-heading h2 { margin: 10px 0 7px; font-size: 25px; }.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 12px; margin: 0; }.section-heading code { color: #c8b4ff; }
.form-grid { display: grid; gap: 13px; align-items: end; padding: 17px; border-radius: 16px; background: rgba(5,5,12,.35); border: 1px solid var(--line); margin-bottom: 18px; }.server-form { grid-template-columns: 1fr 2fr auto; }.client-form { grid-template-columns: repeat(3,1fr) auto; }
label { color: #a9a2b7; font-size: 10px; letter-spacing: .04em; }input, select { display: block; width: 100%; height: 42px; margin-top: 7px; border: 1px solid var(--line); border-radius: 10px; background: #0b0a14; color: white; padding: 0 12px; outline: 0; }input:focus, select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(134,88,255,.14); }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.server-card, .provider-card, .settings-card { border: 1px solid var(--line); border-radius: 17px; padding: 19px; background: var(--surface-2); }.server-card { position: relative; }.server-card.disabled { opacity: .58; }.server-card > small { color: var(--green); font-size: 8px; letter-spacing: .15em; margin-left: 14px; }.server-card h3 { margin: 14px 0 8px; }.server-card code { display: block; overflow: hidden; text-overflow: ellipsis; color: #b9b1c8; font-size: 11px; white-space: nowrap; }.status-dot { position: absolute; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }.card-actions { display: flex; gap: 7px; margin-top: 19px; }.card-actions form { margin: 0; }.danger { color: var(--red) !important; }.empty-card { min-height: 130px; grid-column: 1/-1; border: 1px dashed var(--line); border-radius: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); }.empty-card strong { color: white; margin-bottom: 7px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; }table { width: 100%; border-collapse: collapse; min-width: 990px; }th, td { padding: 13px; text-align: left; border-bottom: 1px solid var(--line); font-size: 11px; }th { color: var(--muted); letter-spacing: .1em; font-size: 8px; background: rgba(8,8,16,.6); }td strong, td small { display: block; }td small { color: var(--muted); margin-top: 5px; }.status { display: inline-block; font-size: 8px; text-transform: uppercase; border-radius: 999px; padding: 4px 7px; margin-top: 6px; background: rgba(255,255,255,.06); }.status.active { color: var(--green); }.status.pending { color: var(--orange); }.status.suspended,.status.expired { color: var(--red); }.inline-control { display: flex; align-items: center; gap: 6px; }.inline-control select,.inline-control input { min-width: 90px; height: 34px; margin: 0; font-size: 10px; }.link-button { margin-top: 6px; background: transparent; border: 0; padding: 2px; }.empty-table { text-align: center; color: var(--muted); padding: 35px; }
.request-list { display: grid; gap: 10px; }.request-list article { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 14px 16px; }.request-list strong,.request-list code,.request-list small { display: block; }.request-list code { color: #c9baff; margin: 5px 0; }.request-list small { color: var(--muted); font-size: 9px; }
.provider-card { display: grid; gap: 13px; }.check-row { display: flex; align-items: center; gap: 9px; }.check-row input { width: 16px; height: 16px; margin: 0; }.settings-card { max-width: 700px; display: grid; gap: 14px; }
.api-card { display: grid; grid-template-columns: 70px 1fr; gap: 10px 15px; align-items: center; border: 1px solid var(--line); border-radius: 15px; padding: 17px; background: var(--surface); margin-bottom: 11px; }.api-card span { color: var(--purple-2); font-weight: 800; }.api-card code { color: #d8cef0; overflow-wrap: anywhere; }.api-card p { grid-column: 2; color: var(--muted); margin: 0; font-size: 11px; }.security-note { margin-top: 17px; border-left: 3px solid var(--green); background: rgba(60,185,130,.08); padding: 16px; border-radius: 0 13px 13px 0; }.security-note p { color: var(--muted); margin: 8px 0 0; font-size: 12px; }.event-list { display: grid; }.event-list div { display: grid; grid-template-columns: 1fr 150px 2fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 10px; }.event-list span { color: #cdbfff; }.event-list small { color: var(--muted); }
.auth-body { display: grid; place-items: center; min-height: 100vh; padding: 25px; background: radial-gradient(circle at 50% 10%,rgba(112,62,225,.24),transparent 36%),var(--bg); }.auth-card { width: min(440px,100%); padding: 34px; border: 1px solid rgba(171,135,255,.22); border-radius: 25px; background: linear-gradient(150deg,rgba(31,25,58,.96),rgba(12,11,22,.96)); box-shadow: 0 30px 100px rgba(0,0,0,.35); }.auth-card .logo-mark { margin-bottom: 23px; }.auth-card h1 { font-size: 31px; margin: 9px 0; }.auth-card .muted { color: var(--muted); line-height: 1.55; font-size: 12px; }.stack-form { display: grid; gap: 16px; margin-top: 23px; }
@media (max-width: 1050px) { .sidebar { position: static; width: auto; height: auto; flex-direction: row; align-items: center; overflow-x: auto; }.sidebar nav { display: flex; }.sidebar-status { display: none; }.panel-brand { padding: 0 20px 0 0; }.dashboard { margin: 0; padding: 0 20px 45px; }.client-form { grid-template-columns: repeat(2,1fr); }.card-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 720px) { .sidebar { padding: 15px; }.panel-brand span:last-child { display: none; }.sidebar nav a { white-space: nowrap; }.dashboard-header { align-items: flex-start; padding: 18px 0; }.admin-box div { display: none; }.hero-section { padding: 30px; }.hero-logo { display: none; }.stats-grid { grid-template-columns: repeat(2,1fr); }.server-form,.client-form { grid-template-columns: 1fr; }.card-grid { grid-template-columns: 1fr; }.panel-section { padding: 19px; }.event-list div { grid-template-columns: 1fr; }.api-card { grid-template-columns: 1fr; }.api-card p { grid-column: 1; } }

