:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f5f7fb;
    background: #0b0d12;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(83, 100, 255, 0.18), transparent 34rem),
        radial-gradient(circle at 90% 80%, rgba(30, 210, 160, 0.12), transparent 28rem),
        #0b0d12;
}

a {
    color: inherit;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
}

.brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #b8bfce;
    font-size: 14px;
}

.site-nav a,
.nav-button {
    padding: 0;
    border: 0;
    color: inherit;
    background: none;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.site-nav a:hover,
.nav-button:hover {
    color: #ffffff;
}

.page-shell {
    display: grid;
    place-items: center;
    width: min(1120px, calc(100% - 40px));
    min-height: calc(100vh - 92px);
    margin: 0 auto;
    padding: 48px 0 120px;
}

.hero-card,
.auth-card,
.empty-state,
.admin-heading {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(20, 23, 31, 0.78);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.hero-card {
    width: min(760px, 100%);
    padding: clamp(38px, 8vw, 84px);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #8c9aff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(40px, 8vw, 74px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

p {
    color: #adb5c5;
    font-size: 17px;
    line-height: 1.65;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    color: #d9deea;
    font-size: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #35d39d;
    box-shadow: 0 0 0 6px rgba(53, 211, 157, 0.1);
}

.auth-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(34px, 7vw, 80px);
    width: min(860px, 100%);
    padding: clamp(32px, 6vw, 62px);
}

.auth-card h1,
.admin-heading h1 {
    font-size: clamp(34px, 6vw, 54px);
}

.auth-form {
    display: grid;
    align-content: start;
    gap: 10px;
}

.auth-form label {
    margin-top: 10px;
    color: #dce1eb;
    font-size: 14px;
    font-weight: 650;
}

.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    padding: 14px 16px;
    outline: none;
    color: #ffffff;
    background: rgba(7, 9, 13, 0.72);
    font: inherit;
}

.auth-form input:focus {
    border-color: #8492ff;
    box-shadow: 0 0 0 4px rgba(132, 146, 255, 0.12);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.primary-button {
    margin-top: 16px;
    border: 0;
    border-radius: 13px;
    padding: 15px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #6877ff, #5260dd);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.primary-button:hover {
    filter: brightness(1.08);
}

.form-error {
    margin: 0;
    color: #ff8c9c;
    font-size: 13px;
}

.page-shell:has(.admin-heading) {
    display: block;
}

.admin-heading {
    padding: 42px;
}

.empty-state {
    display: grid;
    place-items: center;
    margin-top: 24px;
    padding: 72px 32px;
    text-align: center;
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    color: #8996ff;
    font-size: 30px;
}

.empty-state h2 {
    margin-bottom: 8px;
    font-size: 26px;
}

.empty-state p {
    max-width: 540px;
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .site-header,
    .page-shell {
        width: min(100% - 28px, 1120px);
    }

    .auth-card {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .auth-card,
    .admin-heading {
        border-radius: 22px;
    }

    h1 {
        font-size: 42px;
    }
}
