:root {
    --center-card-width: 560px;
}

body {
    background:
        linear-gradient(135deg, rgba(0, 75, 255, 0.1), rgba(0, 75, 255, 0.04)),
        #eef3f8;
}

.auth-clean-shell,
.auth-shell {
    width: min(100% - 32px, var(--center-card-width));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0;
    padding: 34px 0;
}

.brand-panel,
.clean-brand,
.clean-copy,
.status-pill {
    display: none;
}

.clean-auth-card,
.auth-card {
    width: 100%;
    max-width: var(--center-card-width);
    grid-column: 1;
    padding: 34px;
    background: rgba(255, 255, 255, 0.94);
}

.form-row-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.text-link {
    color: #004bff;
    font-size: 13px;
    font-weight: 950;
}

.text-link:hover {
    text-decoration: underline;
}

.button.primary {
    background: #004bff;
    box-shadow: 0 15px 32px rgba(0, 75, 255, 0.32);
}

.button.primary:hover {
    background: #003fe0;
}

.center-link {
    justify-self: center;
}

.password-wrap input {
    padding-right: 58px;
}

.password-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: #64748b;
    padding: 0;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    border-color: #d8e2f0;
    background: #f6f9fd;
    color: #004bff;
}

.eye-icon {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.eye-closed {
    display: none;
}

.password-toggle.is-visible .eye-open {
    display: none;
}

.password-toggle.is-visible .eye-closed {
    display: block;
}

@media (max-width: 620px) {
    .auth-clean-shell,
    .auth-shell {
        width: min(100% - 20px, 520px);
        padding: 10px 0;
    }

    .clean-auth-card,
    .auth-card {
        padding: 20px;
    }

    .form-row-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}
