
/* =========================================================
   PASSWORD RESET — PREMIUM ACCOUNT DESIGN
   ========================================================= */

.password-reset-page {
    width: 100%;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 20px;
    position: relative;
    isolation: isolate;
}

.password-reset-page::before,
.password-reset-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(75px);
    pointer-events: none;
}

.password-reset-page::before {
    width: 280px;
    height: 280px;
    top: 5%;
    left: 8%;
    background: rgba(37, 99, 235, 0.13);
}

.password-reset-page::after {
    width: 260px;
    height: 260px;
    right: 8%;
    bottom: 5%;
    background: rgba(124, 58, 237, 0.13);
}

.password-reset-card {
    width: 100%;
    max-width: 490px;
    padding: 42px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 25px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: resetCardEnter 0.65s ease both;
}

@keyframes resetCardEnter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-reset-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 23px;
    color: #ffffff;
    font-size: 29px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

.password-reset-header {
    text-align: center;
    margin-bottom: 30px;
}

.password-reset-header h1 {
    margin: 0 0 12px;
    color: #f8fafc;
    font-size: clamp(23px, 4vw, 29px);
    font-weight: 800;
    line-height: 1.4;
}

.password-reset-header p {
    margin: 0;
    color: #a8b3c5;
    font-size: 14px;
    line-height: 1.9;
}

.password-reset-header .security-note {
    margin-top: 12px;
    color: #7dd3fc;
    font-size: 13px;
}

.password-reset-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.password-reset-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.password-reset-form label {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
}

.password-reset-form .input-wrapper {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 13px;
    background: rgba(2, 6, 23, 0.38);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.password-reset-form .input-wrapper:focus-within {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.password-reset-form .input-wrapper > i {
    color: #94a3b8;
    font-size: 15px;
}

.password-reset-form .input-wrapper input {
    width: 100%;
    min-width: 0;
    padding: 15px 0;
    border: 0;
    outline: none;
    color: #f8fafc;
    background: transparent;
    font: inherit;
    font-size: 14px;
}

.password-reset-form .input-wrapper input::placeholder {
    color: #64748b;
}

.password-reset-form .input-wrapper input:focus {
    outline: none;
    box-shadow: none;
}

.password-reset-form .helptext,
.password-reset-form .password-help {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}

.password-reset-form .password-help ul {
    padding-left: 20px;
    margin: 7px 0 0;
}

.password-reset-form .password-help li {
    margin-bottom: 4px;
}

.password-reset-form .field-error,
.password-reset-form .form-errors {
    color: #fca5a5;
    font-size: 12px;
    line-height: 1.7;
}

.password-reset-form .form-errors {
    padding: 12px 14px;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 11px;
    background: rgba(127, 29, 29, 0.16);
}

.reset-submit {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 0;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(110deg, #2563eb, #7c3aed);
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reset-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 32px rgba(37, 99, 235, 0.32);
}

.reset-submit:active {
    transform: translateY(0);
}

.button-link {
    margin-top: 10px;
}

.password-reset-footer {
    margin-top: 27px;
    padding-top: 21px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    text-align: center;
}

.password-reset-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #93c5fd;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.password-reset-footer a:hover {
    color: #c4b5fd;
}

.success-icon {
    background: linear-gradient(135deg, #059669, #0d9488);
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.22);
}

.error-icon {
    background: linear-gradient(135deg, #dc2626, #ea580c);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.22);
}

.status-card {
    text-align: center;
}

@media (max-width: 600px) {
    .password-reset-page {
        min-height: auto;
        padding: 40px 14px;
    }

    .password-reset-card {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .password-reset-icon {
        width: 66px;
        height: 66px;
        font-size: 25px;
        border-radius: 20px;
    }

    .password-reset-header {
        margin-bottom: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .password-reset-card {
        animation: none;
    }

    .reset-submit {
        transition: none;
    }
}
