/* /forgot-password and /reset-password (Components/MarketingPage.cs): from Components/Shared/AuthCard.razor.css.
   The page's own form is styled through :where(.auth-wrapper), which is what ::deep was. */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #0a0f1a 0%, #0d1421 100%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, #131c2e 0%, #0d1421 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #cbd5e1;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
}

h2 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

:where(.auth-wrapper) p {
    margin: 0 0 1rem;
    line-height: 1.5;
    color: #94a3b8;
}

:where(.auth-wrapper) label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

:where(.auth-wrapper) input {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 0.95rem;
}

:where(.auth-wrapper) input:focus {
    outline: none;
    border-color: #13dfff;
}

:where(.auth-wrapper) .auth-btn {
    display: block;
    width: 100%;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #13dfff, #00cfee);
    color: #0a0f1a;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

:where(.auth-wrapper) .auth-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: #13dfff;
    font-size: 0.9rem;
    text-decoration: none;
}

:where(.auth-wrapper) .auth-error {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 71, 87, 0.5);
    background: rgba(255, 71, 87, 0.1);
    color: #ff6b7a;
    font-size: 0.9rem;
}

:where(.auth-wrapper) .validation-message {
    margin: -0.6rem 0 0.8rem;
    color: #ff6b7a;
    font-size: 0.8rem;
}
