/* iTzAYDiN-BOT v4 — Independent Control Suite
   This layer intentionally changes the visual language without mutating legacy layout contracts. */
:root{
  --ay-v5-bg:#070912; --ay-v5-panel:rgba(16,19,33,.78); --ay-v5-panel-2:rgba(25,29,48,.72);
  --ay-v5-line:rgba(255,255,255,.085); --ay-v5-text:#f6f7fb; --ay-v5-muted:#9299ad;
  --ay-v5-accent:var(--accent,#7c5cff); --ay-v5-cyan:#4fd1ff; --ay-v5-good:#53e6a7;
  --ay-v5-radius:22px; --ay-v5-shadow:0 24px 80px rgba(0,0,0,.34);
}
html[data-theme="dark"] body{
  background:
    radial-gradient(900px 600px at 83% -10%, color-mix(in srgb,var(--ay-v5-accent) 20%,transparent), transparent 68%),
    radial-gradient(760px 500px at -8% 22%, rgba(79,209,255,.08), transparent 70%),
    var(--ay-v5-bg)!important;
}
body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.32;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,#000,transparent 78%)}
.app-header{background:rgba(7,9,18,.72)!important;backdrop-filter:blur(22px) saturate(130%);border-bottom:1px solid var(--ay-v5-line)!important}
.app-logo{letter-spacing:-.35px;font-weight:900}.ay-logo-thin{font-weight:500;opacity:.56;font-size:.78em}.app-logo__mark,.ay-command__mark{background:linear-gradient(145deg,var(--ay-v5-accent),var(--ay-v5-cyan))!important;color:#fff!important;box-shadow:0 10px 30px color-mix(in srgb,var(--ay-v5-accent) 30%,transparent)}
.app-status-pill{border:1px solid rgba(83,230,167,.22)!important;background:rgba(83,230,167,.075)!important;color:#aaf6d4!important}.ay-live-dot,.ay-version-dot{width:7px;height:7px;border-radius:99px;background:var(--ay-v5-good);box-shadow:0 0 0 5px rgba(83,230,167,.08);display:inline-block;margin-inline-end:6px}
.ay-command-open{border-radius:999px!important;background:rgba(255,255,255,.04)!important;border-color:var(--ay-v5-line)!important}
.app-sidebar.ay-v5-sidebar{background:linear-gradient(180deg,rgba(12,14,25,.98),rgba(8,10,19,.98))!important;border-left:1px solid var(--ay-v5-line)!important;padding-top:14px!important}
.ay-side-brand{margin:2px 12px 18px;padding:14px;border:1px solid var(--ay-v5-line);background:linear-gradient(135deg,color-mix(in srgb,var(--ay-v5-accent) 12%,transparent),rgba(255,255,255,.025));border-radius:20px;display:flex;align-items:center;gap:11px}.ay-side-brand__mark{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;font-weight:950;background:linear-gradient(145deg,var(--ay-v5-accent),var(--ay-v5-cyan));box-shadow:0 12px 30px color-mix(in srgb,var(--ay-v5-accent) 24%,transparent)}.ay-side-brand strong{display:block;color:#fff;font-size:13px}.ay-side-brand small{display:block;color:var(--ay-v5-muted);font-size:9px;direction:ltr;margin-top:3px}
.sidebar-section-label{font-size:9px!important;font-weight:800!important;letter-spacing:.08em!important;color:#6f7890!important;padding:10px 18px 6px!important}.sidebar-menu{padding-inline:8px!important}.sidebar-menu li a{border-radius:14px!important;margin:2px 0!important;min-height:40px;transition:.18s ease!important;border:1px solid transparent}.sidebar-menu li a:hover{background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.055);transform:translateX(-2px)}.sidebar-menu li a.active,.sidebar-menu li.active>a{background:linear-gradient(100deg,color-mix(in srgb,var(--ay-v5-accent) 18%,transparent),rgba(255,255,255,.035))!important;border-color:color-mix(in srgb,var(--ay-v5-accent) 28%,transparent)!important;box-shadow:inset 3px 0 0 var(--ay-v5-accent)}
.ay-side-version{margin-top:auto!important;padding:14px 16px!important;border-top:1px solid var(--ay-v5-line)!important;display:flex!important;gap:10px!important;align-items:center!important}.ay-side-version div{display:flex;flex-direction:column}.ay-side-version small{color:#737d94;font-size:9px}.ay-side-version b{direction:ltr;color:#d8dcef;font-size:10px;margin-top:2px}
.main-content,.content,.page-content{position:relative}.card,.panel-card,.stat-card,.glass-card,.settings-card,.table-card{border-radius:var(--ay-v5-radius)!important;background:linear-gradient(160deg,rgba(25,29,48,.76),rgba(13,16,28,.74))!important;border:1px solid var(--ay-v5-line)!important;box-shadow:var(--ay-v5-shadow)!important;backdrop-filter:blur(18px)}
.btn,.button,button[type="submit"],.btn-primary{border-radius:13px!important}.btn-primary{background:linear-gradient(135deg,var(--ay-v5-accent),color-mix(in srgb,var(--ay-v5-accent) 65%,var(--ay-v5-cyan)))!important;box-shadow:0 12px 30px color-mix(in srgb,var(--ay-v5-accent) 23%,transparent)!important;border:0!important}
input,select,textarea,.form-control{border-radius:13px!important;background:rgba(4,6,13,.55)!important;border-color:var(--ay-v5-line)!important}input:focus,select:focus,textarea:focus,.form-control:focus{border-color:color-mix(in srgb,var(--ay-v5-accent) 65%,white 10%)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--ay-v5-accent) 12%,transparent)!important}
table{border-collapse:separate!important;border-spacing:0 7px!important}tbody tr{background:rgba(255,255,255,.018)}tbody td:first-child{border-radius:0 12px 12px 0}tbody td:last-child{border-radius:12px 0 0 12px}
.ay-command__panel{border-radius:26px!important;background:rgba(12,14,25,.94)!important;border:1px solid rgba(255,255,255,.11)!important;box-shadow:0 35px 120px rgba(0,0,0,.6)!important;backdrop-filter:blur(28px) saturate(140%)}
.profile-menu{border-radius:18px!important;background:rgba(11,13,23,.96)!important;border-color:var(--ay-v5-line)!important;box-shadow:0 25px 80px rgba(0,0,0,.45)!important}
@media(max-width:900px){.app-status-pill{display:none}.ay-command-open b{display:none}.ay-side-brand{margin-top:10px}}

/* Independent authentication surface */
.login-page{min-height:100vh!important;display:grid!important;place-items:center!important;padding:24px!important;overflow:auto!important;position:relative}
.login-page:after{content:"iTz";position:fixed;inset:auto auto -10vh -2vw;font-size:min(42vw,520px);line-height:.8;font-weight:1000;letter-spacing:-.11em;color:rgba(255,255,255,.018);pointer-events:none;user-select:none;z-index:-1}
.login-card,.ip-card{width:min(100%,440px)!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:30px!important;background:linear-gradient(155deg,rgba(20,24,42,.9),rgba(8,10,19,.88))!important;box-shadow:0 40px 120px rgba(0,0,0,.52)!important;backdrop-filter:blur(30px) saturate(135%)!important;overflow:hidden!important}
.login-terminal-bar{height:auto!important;min-height:8px!important;background:linear-gradient(90deg,var(--ay-v5-accent),var(--ay-v5-cyan))!important;border:0!important}.login-terminal-bar .terminal__lights{display:none!important}
.login-body{padding:36px 34px 30px!important;text-align:right!important}.login-body:before{content:"iTz";width:58px;height:58px;border-radius:20px;display:grid;place-items:center;margin-bottom:22px;background:linear-gradient(145deg,var(--ay-v5-accent),var(--ay-v5-cyan));color:#fff;font-weight:950;font-size:20px;box-shadow:0 18px 45px color-mix(in srgb,var(--ay-v5-accent) 25%,transparent)}
.login-body h2{font-size:25px!important;letter-spacing:-.7px;margin:0 0 7px!important}.login-body>p{font-size:12px!important;margin:0 0 26px!important;color:#8992a8!important}.login-body .form-label{font-size:11px!important;font-weight:800!important;color:#c9cede!important}.login-body .form-control{height:48px!important;padding-inline:42px 14px!important}.login-body .btn-primary{min-height:50px!important;margin-top:8px!important;font-weight:900!important;letter-spacing:-.2px}
.login-brand-signature{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;margin-top:24px!important;color:#8e97ad!important;font-size:10px!important;direction:ltr}.login-brand-signature__mark{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);color:#dfe3f1;font-weight:900}
.ip-card{padding:34px!important;text-align:center!important}.ip-card .ip-box{border-radius:14px!important;background:rgba(255,255,255,.035)!important;border:1px dashed rgba(255,255,255,.13)!important;font-family:'JetBrains Mono',monospace!important}
@media(max-width:520px){.login-page{padding:14px!important}.login-body{padding:30px 22px 24px!important}.login-card,.ip-card{border-radius:24px!important}}
