.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.sidebar-account {
    display: grid;
    gap: 5px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.account-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
}

.account-meta {
    color: #9eabc0;
    font-size: 12px;
}

.logout-button {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dce4ef;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    text-align: left;
}

.logout-button:hover {
    color: #ffffff;
}

.stat-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-status-panel,
.centered-state {
    margin-top: 24px;
}

.section-copy,
.centered-state p,
.client-welcome-grid p {
    color: var(--muted);
    line-height: 1.7;
}

.centered-state {
    max-width: 720px;
    text-align: center;
}

.centered-state h1 {
    margin: 8px 0 12px;
}

.centered-state .primary-button {
    margin-top: 12px;
}

.client-welcome-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.client-welcome-grid > div {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8fafc;
}

.client-welcome-grid h3 {
    margin: 0 0 8px;
}

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 10%, rgba(47, 114, 230, 0.2), transparent 32%),
        linear-gradient(135deg, #07111f, #10243d 55%, #17395e);
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 520px);
    min-height: 100vh;
}

.auth-introduction {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(36px, 7vw, 92px);
    color: #ffffff;
}

.auth-introduction h1 {
    max-width: 760px;
    margin: 14px 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.04;
}

.auth-introduction p {
    max-width: 680px;
    color: #c8d4e5;
    font-size: 17px;
    line-height: 1.75;
}

.auth-brand .brand-name {
    color: #ffffff;
}

.auth-card {
    align-self: center;
    margin: 32px;
    padding: clamp(30px, 5vw, 54px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 28px 70px rgba(1, 9, 20, 0.32);
}

.auth-card h2 {
    margin: 8px 0 8px;
    font-size: 30px;
}

.auth-help {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 20px;
}

.auth-form .form-field input {
    min-height: 52px;
}

.auth-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
    font: inherit;
}

@media (max-width: 1100px) {
    .stat-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .auth-introduction {
        min-height: 44vh;
    }

    .auth-card {
        width: min(680px, calc(100% - 40px));
        margin: -40px auto 40px;
    }
}

@media (max-width: 700px) {
    .stat-grid-four,
    .client-welcome-grid {
        grid-template-columns: 1fr;
    }

    .auth-introduction {
        padding: 34px 24px 72px;
    }

    .auth-card {
        padding: 28px 22px;
    }
}
