/*
|--------------------------------------------------------------------------
| OxTrade Password Recovery
|--------------------------------------------------------------------------
*/

.forgot-password-page {
    min-height: 100vh;
}


/*
|--------------------------------------------------------------------------
| Recovery Card
|--------------------------------------------------------------------------
*/

.auth-recovery-card {
    max-width: 500px;
}


/*
|--------------------------------------------------------------------------
| Recovery Header
|--------------------------------------------------------------------------
*/

.auth-recovery-card .auth-header p {
    max-width: 410px;
    margin-left: auto;
    margin-right: auto;
}


/*
|--------------------------------------------------------------------------
| Recovery Form
|--------------------------------------------------------------------------
*/

.recovery-form {
    margin-top: 28px;
}


/*
|--------------------------------------------------------------------------
| Recovery Information
|--------------------------------------------------------------------------
*/

.recovery-info {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    width: 100%;
    margin-top: 6px;
    padding: 15px 16px;

    border: 1px solid rgba(17, 24, 39, 0.09);
    border-radius: 12px;

    background: rgba(17, 24, 39, 0.035);

    box-sizing: border-box;
}


.recovery-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 9px;

    background: #111827;
    color: #ffffff;

    font-size: 14px;
}


.recovery-info-content {
    display: flex;
    flex-direction: column;
    gap: 3px;

    min-width: 0;
}


.recovery-info-content strong {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}


.recovery-info-content span {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.55;
}


/*
|--------------------------------------------------------------------------
| Submit Loader
|--------------------------------------------------------------------------
*/

.recovery-submit-loader {
    display: none;

    width: 15px;
    height: 15px;

    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;

    border-radius: 50%;

    animation: recoverySpin 0.7s linear infinite;
}


.auth-submit-button.is-loading
.recovery-submit-loader {
    display: block;
}


.auth-submit-button.is-loading
#forgotPasswordSubmitIcon {
    display: none;
}


@keyframes recoverySpin {
    to {
        transform: rotate(360deg);
    }
}


/*
|--------------------------------------------------------------------------
| Success State
|--------------------------------------------------------------------------
*/

.recovery-success {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    margin-top: 28px;

    padding: 26px 22px;

    box-sizing: border-box;

    border: 1px solid rgba(17, 24, 39, 0.09);
    border-radius: 14px;

    background: rgba(17, 24, 39, 0.025);

    text-align: center;
}


.recovery-success[hidden] {
    display: none;
}


.recovery-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin-bottom: 15px;

    border-radius: 50%;

    background: #111827;
    color: #ffffff;

    font-size: 21px;
}


.recovery-success-content {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.recovery-success-content h2 {
    margin: 0;

    color: #111827;

    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}


.recovery-success-content p {
    margin: 0;

    color: #6b7280;

    font-size: 13px;
    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| Success Note
|--------------------------------------------------------------------------
*/

.recovery-success-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    width: 100%;
    margin-top: 19px;
    padding-top: 16px;

    border-top: 1px solid rgba(17, 24, 39, 0.08);

    box-sizing: border-box;

    color: #6b7280;

    font-size: 12px;
    line-height: 1.55;

    text-align: left;
}


.recovery-success-note i {
    flex: 0 0 auto;

    margin-top: 2px;

    color: #111827;
}


/*
|--------------------------------------------------------------------------
| Dark Theme
|--------------------------------------------------------------------------
*/

[data-theme="dark"] .recovery-info {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
}


[data-theme="dark"] .recovery-info-icon {
    background: #ffffff;
    color: #111827;
}


[data-theme="dark"] .recovery-info-content strong {
    color: #f9fafb;
}


[data-theme="dark"] .recovery-info-content span {
    color: #9ca3af;
}


[data-theme="dark"] .recovery-success {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
}


[data-theme="dark"] .recovery-success-icon {
    background: #ffffff;
    color: #111827;
}


[data-theme="dark"] .recovery-success-content h2 {
    color: #f9fafb;
}


[data-theme="dark"] .recovery-success-content p {
    color: #9ca3af;
}


[data-theme="dark"] .recovery-success-note {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: #9ca3af;
}


[data-theme="dark"] .recovery-success-note i {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 520px) {

    .auth-recovery-card {
        width: 100%;
    }


    .recovery-info {
        padding: 14px;
    }


    .recovery-success {
        padding: 23px 18px;
    }

}


@media (max-width: 380px) {

    .recovery-info {
        gap: 10px;
    }


    .recovery-info-icon {
        flex-basis: 31px;

        width: 31px;
        height: 31px;

        font-size: 13px;
    }

}