/**
 * AVG Control Tower theme styles.
 * Copyright (c) 2026 Avant Garde Web. All rights reserved.
 * Version 1.0.0
 */
:root {
    --avgct-bg-1: #031127;
    --avgct-bg-2: #071938;
    --avgct-panel: #0d1b38;
    --avgct-panel-2: #102247;
    --avgct-line: #1c3668;
    --avgct-text: #f3f6ff;
    --avgct-muted: #9eb2da;
    --avgct-primary: #6e84ff;
    --avgct-good: #14b86a;
    --avgct-warning: #f2b84b;
    --avgct-danger: #ff5e73;
    --avgct-radius: 20px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--avgct-bg-1); }
body.avgct-theme {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--avgct-text);
    background: radial-gradient(circle at top left, #06204c 0%, var(--avgct-bg-1) 32%, #020913 100%);
}
a { color: #c8d5ff; text-decoration: none; }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; }
.avgct-layout { display: flex; min-height: 100vh; }
.avgct-sidebar {
    width: 220px;
    flex: 0 0 220px;
    min-height: 100vh;
    padding: 28px 18px;
    background: rgba(6, 16, 37, .94);
    border-right: 1px solid rgba(90, 126, 203, .25);
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
}
.avgct-sidebar-brand { font-size: 20px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.avgct-sidebar-logo, .avgct-login-logo { display: block; max-width: 100%; height: auto; }
.avgct-nav a { display: block; padding: 12px 14px; border-radius: 12px; margin-bottom: 8px; color: #d8e2ff; }
.avgct-nav a.active, .avgct-nav a:hover { background: rgba(110, 132, 255, .18); }
.avgct-sidebar-foot { margin-top: auto; color: var(--avgct-muted); font-size: 12px; }
.avgct-main { flex: 1 1 auto; min-width: 0; padding: 22px 30px 40px; }
.avgct-menu-toggle { display: none; }
.avgct-page-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 22px; }
.avgct-page-header h1 { margin: 0 0 6px; font-size: clamp(42px, 5vw, 64px); line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.avgct-page-header p { margin: 0; color: var(--avgct-muted); font-size: 18px; }
.avgct-user-chip { padding: 10px 14px; border: 1px solid rgba(110, 132, 255, .28); border-radius: 999px; background: rgba(110, 132, 255, .12); color: #e4e9ff; font-weight: 700; }
.avgct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.avgct-stat, .avgct-panel {
    background: linear-gradient(180deg, rgba(11, 27, 58, .97), rgba(10, 23, 47, .97));
    border: 1px solid rgba(86, 120, 194, .28);
    border-radius: var(--avgct-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.avgct-stat { padding: 18px 18px 16px; }
.avgct-stat-label { color: #d3ddfb; font-size: 16px; margin-bottom: 8px; }
.avgct-stat-value { font-size: 32px; line-height: 1; font-weight: 800; }
.avgct-panel { padding: 22px; margin-bottom: 18px; }
.avgct-panel h1, .avgct-panel h2 { margin-top: 0; }
.avgct-panel p { color: var(--avgct-muted); line-height: 1.7; }
.avgct-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.avgct-panel-head h2 { margin: 4px 0 0; font-size: 24px; }
.avgct-kicker { color: #aebdf0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.avgct-badge { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.avgct-badge-warning { background: rgba(242, 184, 75, .16); color: #ffe09f; }
.avgct-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.avgct-feature-grid > div { padding: 16px; border-radius: 14px; border: 1px solid rgba(86, 120, 194, .2); background: rgba(255, 255, 255, .03); }
.avgct-feature-grid strong, .avgct-feature-grid span { display: block; }
.avgct-feature-grid span { margin-top: 6px; color: var(--avgct-muted); line-height: 1.55; }
.avgct-footer { text-align: center; color: var(--avgct-muted); font-size: 12px; padding: 8px 0 0; }
.avgct-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.avgct-login-card { width: min(100%, 460px); padding: 28px; border-radius: 24px; background: linear-gradient(180deg, rgba(11, 27, 58, .98), rgba(10, 23, 47, .98)); border: 1px solid rgba(86, 120, 194, .32); box-shadow: 0 26px 80px rgba(0, 0, 0, .35); }
.avgct-login-brand { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.avgct-login-brand h1 { margin: 4px 0 0; font-size: 30px; }
.avgct-login-card > p { color: var(--avgct-muted); line-height: 1.6; }
.avgct-logo-fallback { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--avgct-primary), #93a3ff); font-weight: 900; }
.avgct-login-card form p { margin: 0 0 14px; }
.avgct-login-card label { display: block; margin-bottom: 6px; color: #d8e2ff; font-weight: 700; }
.avgct-login-card input[type="text"], .avgct-login-card input[type="password"] { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(91, 125, 201, .32); background: rgba(6, 17, 39, .82); color: #fff; outline: none; }
.avgct-login-card input[type="submit"], .avgct-button { display: inline-flex; justify-content: center; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--avgct-primary); color: #fff; font-weight: 800; cursor: pointer; }
.avgct-login-links { margin-top: 14px; }
.avgct-smallprint { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(86, 120, 194, .18); color: var(--avgct-muted); font-size: 12px; }
.avgct-content-shell { width: min(1100px, calc(100% - 40px)); margin: 40px auto; }
@media (max-width: 1100px) {
    .avgct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .avgct-layout { display: block; }
    .avgct-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 100; transform: translateX(-105%); transition: transform .22s ease; }
    .avgct-sidebar.is-open { transform: translateX(0); }
    .avgct-main { padding: 18px; }
    .avgct-menu-toggle { display: inline-flex; margin-bottom: 16px; padding: 10px 14px; border: 1px solid rgba(110, 132, 255, .3); border-radius: 10px; background: rgba(110, 132, 255, .12); color: #fff; font-weight: 800; }
    .avgct-page-header { align-items: center; }
    .avgct-user-chip { display: none; }
    .avgct-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .avgct-stats { grid-template-columns: 1fr; }
    .avgct-panel-head { display: block; }
    .avgct-badge { margin-top: 10px; }
}
