:root {
    --bg: #eef4f8;
    --panel: #ffffff;
    --primary: #066286;
    --primary-soft: #0ea5e9;
    --text: #0f172a;
    --muted: #6b7280;
    --border: #e2e8f0;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --radius: 18px;
    --sidebar: #0e2f42;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
    background: radial-gradient(circle at 10% 20%, #d8e9f5, #eef4f8 35%),
        radial-gradient(circle at 80% 0%, #cfe6ff, rgba(255, 255, 255, 0.8) 35%),
        linear-gradient(135deg, #e8f0f6 0%, #f6fbff 100%);
    color: var(--text);
    margin: 0;
    min-height: 100vh;
}

.app-shell {
    display: grid;
    grid-template-columns: 84px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--sidebar);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.sidebar__brand {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(160deg, #0ea5e9, #22c55e);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    font-size: 18px;
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
    width: 100%;
}

.sidebar__item {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dbeafe;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-inline: auto;
}

.sidebar__item:hover,
.sidebar__item.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.main {
    padding: 32px 40px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.topbar__title h1 {
    margin: 0;
    font-size: 28px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    color: var(--muted);
    font-weight: 700;
}

.content {
    display: grid;
    place-items: center;
    min-height: 80vh;
}

.hero-card {
    width: min(1100px, 100%);
    background: var(--panel);
    border-radius: 22px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.hero-card__copy h2 {
    font-size: 32px;
    margin: 0;
}

.hero-card__copy p {
    color: var(--muted);
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    color: var(--text);
}

.feature-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.feature-list i {
    color: var(--primary);
}

.hero-card__form {
    background: linear-gradient(160deg, rgba(14, 165, 233, 0.08), rgba(34, 197, 94, 0.08));
    border: 1px solid var(--border);
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--text);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--muted);
}

.input-icon .form-control {
    padding-left: 40px;
    height: 50px;
}

.auth-btn {
    height: 50px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    border: none;
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.35);
}

.auth-btn:hover {
    filter: brightness(1.02);
}

.support-note {
    font-size: 13px;
}

.auth-links {
    font-size: 14px;
}

.auth-links a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links--inline {
    font-size: 13px;
}

@media (max-width: 1024px) {
    .app-shell {
        grid-template-columns: 70px 1fr;
    }

    .hero-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main {
        padding: 24px;
    }

    .hero-card {
        padding: 24px;
    }
}