﻿.welcome-kicker {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 800;
}
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 253, 250, 0.72)),
        rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}
.heading-copy {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}
h1, h2 { margin: 0; color: var(--blue-dark); }
h1 { font-size: clamp(28px, 2.4vw, 40px); line-height: 1.1; }
h2 { font-size: 18px; }
.eyebrow { margin: 0 0 8px; text-transform: uppercase; font-size: 12px; color: #0f766e; font-weight: 900; letter-spacing: 1.2px; }
.muted { color: var(--muted); }
.auth-main {
    width: 100%;
    min-height: 100vh;
    margin: 0;
}
.glass-login-shell {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(18px, 4vw, 44px);
    background: #f8fafc;
}
.blur-circle {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.circle-one {
    top: -5%;
    left: -5%;
    width: 256px;
    height: 256px;
    background: #dbeafe;
    opacity: 0.6;
}
.circle-two {
    right: -5%;
    bottom: -10%;
    width: 288px;
    height: 288px;
    background: #f0fdfa;
    opacity: 0.7;
}
.circle-three {
    bottom: 20%;
    left: 10%;
    width: 192px;
    height: 192px;
    background: #bfdbfe;
    opacity: 0.4;
}
.glass-login-card {
    position: relative;
    z-index: 1;
    width: min(100%, clamp(420px, 30vw, 520px));
    padding: clamp(32px, 3.2vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 28px 70px rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(14px);
}
.glass-register-card {
    width: min(100%, clamp(760px, 62vw, 980px));
}
.glass-close {
    position: absolute;
    top: 40px;
    right: 32px;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    color: rgba(30, 58, 138, 0.3);
}
.glass-close:hover {
    color: #1e3a8a;
    text-decoration: none;
}
.glass-back {
    position: absolute;
    top: 32px;
    left: 32px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccfbf1;
    border-radius: 12px;
    background: #f0fdfa;
    color: #0f766e;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.glass-back:hover {
    border-color: #99f6e4;
    background: #ccfbf1;
    color: #0f766e;
    text-decoration: none;
    transform: translateX(-1px);
}
.glass-back:focus-visible {
    outline: 3px solid rgba(20, 184, 166, 0.22);
    outline-offset: 2px;
}
.glass-close svg,
.glass-back svg,
.glass-input svg,
.glass-eye svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.glass-header {
    margin-bottom: 30px;
    text-align: center;
}
.glass-header img {
    width: auto;
    height: clamp(80px, 6vw, 104px);
    object-fit: contain;
    margin-bottom: 16px;
}
.glass-header h1 {
    margin: 0;
    color: #172554;
    font-size: clamp(20px, 1.35vw, 26px);
    font-weight: 800;
    line-height: 1.2;
}
.glass-header h2 {
    margin: 24px 0 0;
    color: #1e293b;
    font-size: clamp(24px, 1.6vw, 30px);
    line-height: 1.2;
}
.glass-header p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: clamp(14px, 0.95vw, 16px);
}
.glass-form {
    display: grid;
    gap: 16px;
}
.glass-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.glass-field {
    display: grid;
    gap: 7px;
}
.glass-field span {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}
.glass-field input,
.glass-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    color: #1e293b;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.glass-field textarea {
    resize: vertical;
}
.glass-field input:focus,
.glass-field textarea:focus {
    border-color: #14b8a6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}
.glass-info {
    padding: 12px 14px;
    border: 1px solid #ccfbf1;
    border-radius: 16px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
}
.glass-input {
    position: relative;
    display: block;
}
.glass-input > span {
    position: absolute;
    top: 50%;
    left: 16px;
    display: flex;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}
.glass-input:focus-within > span {
    color: #0f766e;
}
.glass-input input {
    width: 100%;
    min-height: clamp(50px, 4vw, 58px);
    padding: 12px 48px 12px 44px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    color: #1e293b;
    font-size: clamp(14px, 0.95vw, 16px);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.glass-input input:focus {
    border-color: #14b8a6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}
.glass-eye {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 20px;
    height: 20px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}
.glass-eye:hover,
.glass-eye.is-visible {
    color: #475569;
}
.glass-remember {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
}
.glass-remember input {
    width: 16px;
    height: 16px;
    accent-color: #14b8a6;
}
.glass-submit {
    width: 100%;
    min-height: clamp(54px, 4vw, 62px);
    margin-top: 2px;
    border: 0;
    border-radius: 999px;
    background: #00a99d;
    box-shadow: 0 14px 28px rgba(20, 184, 166, 0.3);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.15s ease, background 0.15s ease;
}
.glass-submit:hover {
    background: #008f85;
}
.glass-submit:active {
    transform: scale(0.98);
}
.glass-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 32px 0;
}
.glass-divider::before,
.glass-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #f1f5f9;
}
.glass-divider span {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.glass-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}
.glass-social button {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}
.glass-social button:active {
    transform: scale(0.9);
}
.glass-social span {
    font-size: 22px;
    font-weight: 900;
}
.glass-social button:first-child span { color: #db4437; }
.glass-social button:last-child span { color: #2563eb; }
.glass-register {
    margin: 26px 0 0;
    text-align: center;
    color: #64748b;
    font-size: clamp(12px, 0.85vw, 14px);
}

@media (min-width: 1200px) {
    .glass-register-card .glass-header {
        margin-bottom: 26px;
    }

    .glass-register-card .glass-form {
        gap: 20px;
    }

    .glass-form-grid {
        gap: 18px;
    }
}

@media (min-width: 1600px) {
    .glass-login-card {
        width: min(100%, 540px);
    }

    .glass-register-card {
        width: min(100%, 1040px);
    }
}

@media (max-height: 760px) and (min-width: 861px) {
    .glass-login-shell {
        align-items: flex-start;
    }

    .glass-login-card {
        padding-top: 28px;
        padding-bottom: 26px;
    }

    .glass-header {
        margin-bottom: 22px;
    }

    .glass-header img {
        height: 70px;
        margin-bottom: 10px;
    }

    .glass-header h2 {
        margin-top: 16px;
    }
}
.glass-register a {
    color: #0d9488;
    font-weight: 800;
}
.sidak-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 32px);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 48%, #172554 100%);
}
.sidak-card {
    position: relative;
    width: min(100%, 448px);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    background: #fff;
    padding: 34px 32px 28px;
    box-shadow: 0 26px 70px rgba(2, 6, 23, 0.38);
}
.sidak-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    height: 6px;
}
.sidak-accent span:first-child { flex: 1; background: #dc2626; }
.sidak-accent span:last-child { flex: 1; background: #2563eb; }
.sidak-header {
    margin: 8px 0 30px;
    text-align: center;
}
.sidak-logo {
    display: inline-flex;
    width: 96px;
    height: 96px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 4px;
    border-radius: 12px;
    background: #fff;
    filter: drop-shadow(0 10px 10px rgba(15, 23, 42, 0.16));
}
.sidak-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}
.sidak-header h1 {
    margin: 0;
    color: #1e293b;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 3px;
}
.sidak-header p {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.sidak-title-line {
    width: 48px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: #2563eb;
}
.sidak-form {
    display: grid;
    gap: 18px;
}
.sidak-field label,
.sidak-label-row label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}
.sidak-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}
.sidak-label-row label { margin: 0; }
.sidak-label-row a,
.sidak-admin-link a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}
.sidak-input-wrap {
    position: relative;
}
.sidak-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    display: inline-flex;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}
.sidak-input-icon svg,
.sidak-eye svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.sidak-input-wrap input {
    width: 100%;
    min-height: 46px;
    padding: 10px 44px 10px 42px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 15px;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.sidak-input-wrap input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}
.sidak-eye {
    position: absolute;
    top: 50%;
    right: 14px;
    display: inline-flex;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
}
.sidak-eye.is-visible { color: #2563eb; }
.sidak-options {
    display: flex;
    justify-content: space-between;
    padding-top: 2px;
}
.sidak-options label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}
.sidak-options input {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}
.sidak-submit {
    min-height: 48px;
    margin-top: 2px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.sidak-submit:hover {
    background: linear-gradient(90deg, #1d4ed8, #1e40af);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}
.sidak-submit:active { transform: scale(0.98); }
.sidak-admin-link {
    margin-top: 18px;
    text-align: center;
}
.sidak-footer {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}
.sidak-footer p {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}
.auth-main > .alert {
    width: min(520px, calc(100% - 32px));
    margin: 16px auto;
}
.auth-shell {
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vh, 56px) 20px;
}
.auth-panel {
    position: relative;
    width: min(clamp(440px, 34vw, 560px), 100%);
    min-height: clamp(620px, 76vh, 760px);
    padding: clamp(88px, 10vh, 116px) clamp(36px, 3.4vw, 54px) clamp(34px, 5vh, 54px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}
.auth-panel::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    width: 78px;
    height: 16px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #eef0f3;
}
.auth-welcome-panel {
    width: min(clamp(360px, 28vw, 440px), 100%);
    min-height: clamp(640px, 82vh, 780px);
    padding: clamp(42px, 6vh, 62px) clamp(28px, 3vw, 42px) clamp(28px, 4vh, 40px);
    overflow: hidden;
}
.auth-welcome-panel::before {
    display: none;
}
.auth-welcome-panel::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 8px;
    border: 1px solid rgba(23, 105, 170, 0.06);
    pointer-events: none;
}
.auth-panel-wide {
    width: min(clamp(720px, 58vw, 980px), 100%);
    min-height: 0;
    padding-top: 70px;
    text-align: left;
}
.auth-panel-wide .auth-logo, .auth-panel-wide h1, .auth-panel-wide > .muted, .auth-panel-wide .auth-switch { text-align: center; }
.auth-back {
    position: absolute;
    top: 44px;
    left: 18px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--muted);
    background: #f7f9fc;
    border: 1px solid #edf2f7;
    font-size: 20px;
    line-height: 1;
}
.auth-back:hover { text-decoration: none; background: var(--blue-soft); color: var(--blue); }
.auth-logo {
    width: clamp(44px, 4vw, 58px);
    height: clamp(44px, 4vw, 58px);
    margin: 0 auto clamp(10px, 1.5vh, 16px);
}
.auth-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.auth-logo-large {
    width: clamp(84px, 7vw, 112px);
    height: clamp(84px, 7vw, 112px);
    margin-bottom: 14px;
}
.auth-panel h1 {
    margin-bottom: 4px;
    font-size: clamp(24px, 2vw, 32px);
}
.auth-welcome-panel h1 {
    margin: 0;
    font-size: clamp(23px, 1.7vw, 30px);
    line-height: 1.08;
    letter-spacing: 0;
}
.auth-welcome-panel h2 {
    margin: 12px 0 2px;
    color: var(--blue-dark);
    font-size: clamp(23px, 1.7vw, 30px);
    line-height: 1.1;
}
.auth-panel > .muted {
    margin: 0 auto clamp(26px, 4vh, 42px);
    max-width: 360px;
    font-size: clamp(14px, 1vw, 17px);
}
.auth-welcome-panel > .muted {
    margin-bottom: 28px;
    color: #34495e;
    font-size: clamp(14px, 1vw, 16px);
}
.auth-panel .form-stack { gap: clamp(13px, 1.5vh, 18px); text-align: left; }
.auth-panel label span { font-size: clamp(13px, 0.9vw, 15px); margin-bottom: 6px; }
.auth-panel input, .auth-panel select, .auth-panel textarea {
    min-height: clamp(52px, 5.4vh, 62px);
    border: 0;
    border-radius: 6px;
    background: #f3f6fb;
    font-size: clamp(16px, 1.1vw, 18px);
    padding: 12px 16px;
}
.auth-welcome-panel .form-stack {
    gap: 14px;
}
.auth-input {
    position: relative;
    display: block;
}
.auth-input input {
    width: 100%;
    min-height: 54px;
    padding-left: 48px;
    padding-right: 48px;
    border: 1px solid #cfdce5;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
}
.auth-input input:focus {
    border-color: #16bdb2;
    box-shadow: 0 0 0 4px rgba(22, 189, 178, 0.12);
}
.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    color: #8a9aaa;
    font-size: 18px;
    line-height: 1;
}
.input-icon.end {
    right: 18px;
    left: auto;
}
.auth-panel textarea { border: 0; }
.auth-remember {
    margin: 2px 0 0;
}
.auth-panel .checkbox-line {
    margin: 18px 0 18px;
    align-items: center;
}
.auth-panel .checkbox-line span {
    margin: 0;
    font-size: 13px;
    color: var(--text);
}
.auth-panel .btn.primary {
    width: 100%;
    min-height: clamp(52px, 5.4vh, 62px);
    border-radius: 999px;
    background: #0a84ff;
    font-size: clamp(14px, 1vw, 16px);
}
.auth-welcome-panel .btn.primary {
    min-height: 58px;
    margin-top: 10px;
    background: linear-gradient(90deg, #16c8b5, #0577bf);
    box-shadow: 0 16px 26px rgba(5, 119, 191, 0.22);
    font-size: 17px;
}
.social-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: #34495e;
    font-size: 14px;
}
.social-divider::before,
.social-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #d7e3ea;
}
.social-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
}
.social-actions button {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 22px rgba(23, 50, 77, 0.12);
    color: #1877f2;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
}
.social-actions button:first-child {
    color: #db4437;
}
.auth-signup-line {
    margin-top: 26px;
    color: #1d2d3c;
    font-size: 14px;
}
.auth-signup-line a {
    color: var(--blue-dark);
    text-decoration: none;
}
.auth-switch {
    margin-top: clamp(20px, 3vh, 30px);
    text-align: center;
    color: var(--muted);
    font-size: clamp(12px, 0.9vw, 14px);
}
.auth-switch a { font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.panel {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}
.panel.narrow { max-width: 680px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel-head-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
    min-width: 0;
}
.panel-head-content h2 {
    margin: 0;
    flex: 1;
    min-width: 0;
}
.toggle-btn {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.toggle-btn:hover {
    background: #f1f5f9;
    color: #172554;
}
.toggle-btn svg {
    width: 18px;
    height: 18px;
}
.collapsible-panel .panel-head {
    flex-direction: row;
    align-items: center;
}
.toggle-btn[aria-expanded="false"] {
    transform: rotate(180deg);
}
.collapsible-panel.collapsed .panel-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 !important;
    border: none;
}
.collapsible-panel .panel-content {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
.panel-subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.stats-grid, .content-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}
.stats-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.content-grid { grid-template-columns: 2fr 1fr; align-items: start; }
.analytics-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
}
.analytics-grid.compact {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}
.analytics-main {
    min-height: 360px;
}
.chart-legend {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-radius: 999px;
}
.legend-dot.upload { background: #2563eb; }
.legend-dot.verified { background: #14b8a6; }
.bar-chart {
    display: grid;
    grid-template-columns: repeat(6, minmax(52px, 1fr));
    gap: 18px;
    height: 260px;
    align-items: end;
    padding: 18px 8px 0;
    border-radius: 22px;
    background:
        repeating-linear-gradient(to top, transparent 0, transparent 51px, rgba(148, 163, 184, 0.16) 52px),
        linear-gradient(180deg, rgba(248, 250, 252, 0.7), rgba(255, 255, 255, 0.1));
}
.bar-month {
    display: grid;
    gap: 10px;
    align-items: end;
    height: 100%;
    text-align: center;
}
.bar-pair {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 7px;
    height: 210px;
}
.bar {
    display: block;
    width: min(28px, 42%);
    min-height: 4px;
    border-radius: 999px 999px 6px 6px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
}
.bar.upload {
    background: linear-gradient(180deg, #2563eb, #60a5fa);
}
.bar.verified {
    background: linear-gradient(180deg, #14b8a6, #5eead4);
}
.bar-month small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.donut-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}
.donut {
    --value: 0;
    width: 156px;
    height: 156px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fff 0 58%, transparent 59%),
        conic-gradient(#14b8a6 calc(var(--value) * 1%), #e2e8f0 0);
    box-shadow: inset 0 0 0 1px #eef2f7, 0 18px 38px rgba(20, 184, 166, 0.12);
}
.unit-donut-layout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}
.unit-donut {
    --value: 0;
    width: 176px;
    height: 176px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fff 0 52%, transparent 53%),
        conic-gradient(#6366f1 0 calc(var(--value) * 1%), #f43f7f 0 50%, #e2e8f0 0);
    box-shadow: 0 20px 44px rgba(99, 102, 241, 0.16);
}
.unit-donut strong,
.unit-donut span {
    grid-area: 1 / 1;
    text-align: center;
}
.unit-donut strong {
    max-width: 112px;
    margin-top: -18px;
    color: #4f46e5;
    font-size: 20px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}
.unit-donut span {
    margin-top: 42px;
    color: #6366f1;
    font-size: 24px;
    font-weight: 800;
}
.donut strong,
.donut span {
    grid-area: 1 / 1;
}
.donut strong {
    margin-top: -14px;
    color: var(--blue-dark);
    font-size: 30px;
}
.donut span {
    margin-top: 38px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.status-list {
    display: grid;
    gap: 9px;
}
.status-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #eef2f7;
    color: var(--muted);
    font-size: 13px;
}
.status-list strong {
    color: var(--blue-dark);
}
.unit-bars {
    display: grid;
    gap: 14px;
}
.unit-bar-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    color: #334155;
    font-weight: 800;
}
.unit-bar-label strong {
    color: #0f766e;
}
.unit-bar-track {
    height: 11px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}
.unit-bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6, #2563eb);
}
.mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.mini-metrics > div {
    min-height: 156px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 18px;
    border: 1px solid #eef2f7;
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.72);
    text-align: center;
}
.metric-icon {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}
.metric-icon.teal { background: #ccfbf1; color: #0f766e; }
.metric-icon.blue { background: #dbeafe; color: #2563eb; }
.metric-icon.orange { background: #ffedd5; color: #f97316; }
.mini-metrics strong {
    color: var(--blue-dark);
    font-size: 30px;
}
.mini-metrics p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.settings-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 2fr);
    gap: 18px;
    align-items: start;
}
.stat-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 26px;
    padding: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #14b8a6, #2563eb);
}
.stat-card:nth-child(2)::before { background: linear-gradient(90deg, #22c55e, #14b8a6); }
.stat-card:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #f97316); }
.stat-card:nth-child(4)::before { background: linear-gradient(90deg, #2563eb, #7c3aed); }
.stat-card span { display: block; color: var(--muted); font-size: 13px; font-weight: 800; }
.stat-card strong { display: block; margin-top: 8px; font-size: clamp(32px, 2.8vw, 44px); color: var(--blue-dark); letter-spacing: 0; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px 12px; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top; }
th { color: #334155; background: #f8fafc; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.7px; }
tbody tr:hover { background: #f8fffd; }
.empty { text-align: center; color: var(--muted); padding: 22px; }
.form-stack { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label span { display: block; margin-bottom: 7px; font-weight: 700; font-size: 13px; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 11px 12px;
    color: var(--text);
    background: var(--surface);
    font: inherit;
    min-height: 42px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.12);
}
.compact-input {
    max-width: 96px;
}
.switch-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 118px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
}
.switch-line input {
    width: 18px;
    height: 18px;
    accent-color: #14b8a6;
}
textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
.checkbox-line { display: flex; align-items: center; gap: 8px; }
.checkbox-line input { width: auto; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.actions.inline { justify-content: flex-end; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: #00a99d; color: #fff; box-shadow: 0 14px 28px rgba(20, 184, 166, 0.28); }
.btn.primary:hover { background: #008f85; }
.btn.secondary { background: var(--green-soft); color: var(--blue-dark); border-color: #bde8cf; }
.filters { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.filters input { max-width: 360px; }
.filters select { max-width: 240px; }
.row-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.detail-grid div { background: #f7fbfe; border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
dt { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
dd { margin: 0; font-weight: 700; }
.badge { display: inline-flex; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.badge-muted { background: #edf1f4; color: #5d6b77; }
.badge-warning { background: #fff4cc; color: #8a6500; }
.badge-success { background: #ddf7e7; color: #167343; }
.badge-danger { background: #ffe1e1; color: #9f2626; }
.badge-orange { background: #ffe8d4; color: #a55212; }
.verify-form { display: grid; gap: 8px; min-width: 250px; }
.unit-list { display: grid; gap: 8px; }
.unit-list div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding: 8px 0; }
.unit-list div {
    border-bottom-color: #eef2f7;
    padding: 11px 0;
}
.unit-list strong {
    display: inline-flex;
    min-width: 34px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f0fdfa;
    color: #0f766e;
}
.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; border: 1px solid; background: var(--surface); box-shadow: var(--shadow); }
.alert ul { margin-bottom: 0; }
.alert.success { border-color: #bde8cf; color: #166534; background: #f0fff6; }
.alert.danger { border-color: #ffc6c6; color: #8a1f1f; background: #fff6f6; }
.glass-login-card > .alert {
    margin: 0 0 18px;
    border-radius: 16px;
    box-shadow: none;
    font-size: 14px;
}
.glass-login-card > .alert strong {
    display: block;
    margin-bottom: 8px;
}
.glass-login-card > .alert ul {
    margin: 0;
    padding-left: 20px;
}
.progress { width: 120px; height: 8px; background: #e5edf3; border-radius: 999px; overflow: hidden; display: inline-block; margin-right: 8px; }
.progress span { display: block; height: 100%; background: var(--green); }
.note { padding: 12px; border-radius: 8px; background: #fff8e5; border: 1px solid #f5dfa7; margin-bottom: 14px; }
.top-space { margin-top: 20px; }

/* Admin UI */
