.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(circle at 8% 8%, rgba(248, 113, 113, 0.45), transparent 34%),
        radial-gradient(circle at 92% 88%, rgba(251, 113, 133, 0.38), transparent 40%),
        linear-gradient(160deg, var(--bg-top) 0%, var(--bg-bottom) 58%, #ffffff 100%);
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(248, 181, 192, 0.78);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    padding: 30px 26px;
    backdrop-filter: blur(7px);
    animation: login-rise 0.35s ease;
}

.login-eyebrow {
    margin: 0 0 8px;
    color: #8b1e2c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1.1;
    color: #7f1d1d;
}

.subtitle {
    margin: 8px 0 22px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#loginForm label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #7d2630;
    font-size: 13px;
    font-weight: 700;
}

#loginForm .password-toggle {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #8f2933;
    margin-top: -2px;
}

#loginForm .password-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--brand-1);
}

#loginForm input {
    border: 1px solid #f3c8cf;
    border-radius: 10px;
    padding: 11px 12px;
    background: #fff6f7;
    color: #5f1d24;
    font-size: 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

#loginForm input:focus {
    outline: none;
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25);
}

.login-btn {
    margin-top: 2px;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    background: linear-gradient(140deg, var(--brand-1), var(--brand-2));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 9px 20px rgba(220, 38, 38, 0.32);
}

.login-btn:hover {
    transform: translateY(-1px);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-msg {
    min-height: 20px;
    margin: 2px 0 0;
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
}

@keyframes login-rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 560px) {
    .auth-page {
        padding: 12px;
    }

    .login-card {
        padding: 24px 18px;
    }

    .title {
        font-size: 29px;
    }
}
