﻿.site-forgot-password-page {
    min-height: calc(100vh - 160px);
    padding: 3rem 0;
    background: radial-gradient( circle at top left, rgba(37, 99, 235, .08), transparent 34% ), #f8fafc;
}

.site-forgot-password-wrapper {
    display: flex;
    justify-content: center;
}

.site-forgot-password-card {
    width: 100%;
    max-width: 560px;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}

.site-forgot-password-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 18px;
    font-size: 1.5rem;
}

.site-forgot-password-heading {
    margin-bottom: 2rem;
}

.site-forgot-password-eyebrow {
    display: inline-block;
    margin-bottom: .5rem;
    color: #2563eb;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-forgot-password-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 750;
    line-height: 1.2;
}

.site-forgot-password-description {
    margin: .85rem 0 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

.site-forgot-password-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.site-form-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.site-form-label {
    margin: 0;
    color: #334155;
    font-size: .92rem;
    font-weight: 650;
}

.site-form-control-wrapper {
    position: relative;
}

.site-form-control-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transform: translateY(-50%);
    pointer-events: none;
}

.site-form-control {
    min-height: 52px;
    padding-left: 2.85rem;
    border-color: #cbd5e1;
    border-radius: 14px;
    box-shadow: none;
}

    .site-form-control::placeholder {
        color: #94a3b8;
    }

    .site-form-control:hover {
        border-color: #94a3b8;
    }

    .site-form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .12);
    }

    .site-form-control.input-validation-error {
        border-color: #dc2626;
    }

        .site-form-control.input-validation-error:focus {
            border-color: #dc2626;
            box-shadow: 0 0 0 .2rem rgba(220, 38, 38, .1);
        }

.site-form-validation-message {
    min-height: 1.15rem;
    color: #dc2626;
    font-size: .82rem;
    font-weight: 500;
}

.site-form-validation-summary {
    padding: .9rem 1rem;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    font-size: .9rem;
}

    .site-form-validation-summary:empty,
    .site-form-validation-summary.validation-summary-valid {
        display: none;
    }

    .site-form-validation-summary ul {
        margin: 0;
        padding-left: 1.1rem;
    }

.site-forgot-password-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 52px;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .18);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

    .site-forgot-password-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(37, 99, 235, .22);
    }

    .site-forgot-password-submit:disabled {
        cursor: not-allowed;
        opacity: .72;
        transform: none;
        box-shadow: none;
    }

.site-forgot-password-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.site-forgot-password-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    color: #475569;
    border-radius: 10px;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 650;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

    .site-forgot-password-back-link:hover {
        color: #2563eb;
        background: #eff6ff;
        text-decoration: none;
        transform: translateX(-2px);
    }

@media (max-width: 767.98px) {
    .site-forgot-password-page {
        padding: 1.5rem 0;
    }

    .site-forgot-password-card {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .site-forgot-password-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
        border-radius: 16px;
        font-size: 1.25rem;
    }

    .site-forgot-password-heading {
        margin-bottom: 1.5rem;
    }

    .site-forgot-password-description {
        font-size: .95rem;
    }
}
