:root{color-scheme:dark;--panel:rgba(27,29,31,.94);--line:rgba(255,255,255,.12);--muted:#aeb3b7;--text:#f5f6f7;--accent:#c83236;--accent-dark:#9f2428;--success:#59bd78;--danger:#ef6868}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}
body.login-page{font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:#141617 url('../images/codeshooter-backend-background-v1.png') center/cover fixed no-repeat}
body.login-page:before{content:"";position:fixed;inset:0;background:linear-gradient(105deg,rgba(10,11,12,.92),rgba(18,19,20,.65) 55%,rgba(10,11,12,.45));pointer-events:none}
.login-shell{position:relative;z-index:1;min-height:100vh;display:grid;place-items:center;padding:32px 20px}
.login-card{width:min(460px,100%);overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 24px 70px rgba(0,0,0,.55);backdrop-filter:blur(14px)}
.login-brand{padding:24px 32px 20px;border-bottom:1px solid var(--line);background:linear-gradient(120deg,rgba(255,255,255,.08),rgba(255,255,255,.02))}
.login-brand img{display:block;width:min(250px,75%);height:auto;filter:drop-shadow(0 4px 10px rgba(0,0,0,.3))}.login-brand p{margin:12px 0 0;color:#d6d8da;font-size:14px;letter-spacing:.04em}
.login-content{padding:30px 32px 32px}.login-kicker{color:#d84a4e;font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.login-heading h1{margin:7px 0 8px;font-size:30px;line-height:1.15}.login-heading p{margin:0 0 24px;color:var(--muted);line-height:1.55}
.login-alert{margin:0 0 20px;padding:13px 15px;border:1px solid rgba(239,104,104,.45);border-radius:9px;color:#ffd6d6;background:rgba(145,34,38,.28);font-size:14px;line-height:1.45}
.login-form{display:grid;gap:10px}.login-form label{font-size:14px;font-weight:700;color:#e6e7e8}.login-form input{width:100%;height:48px;margin-bottom:8px;padding:0 14px;border:1px solid #555a5e;border-radius:9px;background:#202326;color:#fff;font:inherit;outline:none;transition:.18s}.login-form input:focus{border-color:#d4494d;box-shadow:0 0 0 4px rgba(200,50,54,.16)}
.password-label{display:flex;align-items:center;justify-content:space-between;gap:16px}.login-card a{color:#e15a5e;text-decoration:none}.login-card a:hover{text-decoration:underline}.password-label a{font-size:13px}
.login-form button{height:50px;margin-top:7px;border:0;border-radius:9px;color:#fff;background:linear-gradient(180deg,var(--accent),var(--accent-dark));font:700 15px Inter,Segoe UI,Arial,sans-serif;cursor:pointer;box-shadow:0 8px 20px rgba(159,36,40,.28)}.login-form button:hover{filter:brightness(1.09)}
.login-meta{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin-top:24px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.login-status{display:inline-flex;align-items:center;gap:8px;margin-right:auto}.login-status i{width:8px;height:8px;border-radius:50%;background:var(--danger);box-shadow:0 0 0 4px rgba(239,104,104,.12)}.login-status.is-online i{background:var(--success);box-shadow:0 0 0 4px rgba(89,189,120,.12)}
@media(max-width:520px){.login-shell{padding:18px 12px}.login-brand,.login-content{padding-left:22px;padding-right:22px}.login-card{border-radius:14px}.login-heading h1{font-size:26px}.login-meta{align-items:flex-start;flex-direction:column}.login-status{margin-right:0}}

/* Responsive snippet from main-dashboard.css */
@media (max-width: 980px) {
    .dashboard-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-sidebar {
        order: -1;
    }
}

@media (max-width: 700px) {
    .eds-dashboard #container.dashboard-shell {
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
    }

    .eds-dashboard #header.dashboard-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .dashboard-brand {
        width: 100%;
        gap: 12px;
    }

    .eds-dashboard #logo {
        width: 130px !important;
        max-height: 58px;
    }

    .dashboard-header-tools {
        flex: none;
        width: 100%;
    }

    .dashboard-layout {
        gap: 12px;
        padding: 12px;
    }

    .dashboard-feed,
    .dashboard-sidebar,
    .dashboard-welcome {
        padding: 14px !important;
        border-radius: 10px;
    }

    .dashboard-feed {
        overflow-x: auto;
    }

    .dashboard-feed table {
        font-size: 13px;
    }
}

@media (max-width: 500px) {
    /* Mobile‑specific tweaks
    */
    .eds-dashboard #header.dashboard-header {
        padding: 12px;
    }
    .eds-dashboard #logo {
        width: 100px !important;
    }
    .dashboard-feed table {
        font-size: 12px;
    }
    .dashboard-layout {
        gap: 8px;
        padding: 8px;
    }
    .dashboard-feed,
    .dashboard-sidebar,
    .dashboard-welcome {
        padding: 8px !important;
    }
}

/* Responsive tweaks for very small ... (truncated)*/
