/* =========================================================
   FORGOT PASSWORD HERO
========================================================= */

.forgot-password-hero {

    position: relative;

    min-height: calc(100vh - 100px);

    padding: 55px 15px 60px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(13, 110, 253, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(0, 180, 216, 0.10),
            transparent 35%
        ),
        #f6f9fc;
}


/* =========================================================
   BACKGROUND GLOWS
========================================================= */

.forgot-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(2px);
}

.forgot-glow-1 {

    width: 320px;

    height: 320px;

    left: -160px;

    bottom: -120px;

    background: rgba(13, 110, 253, 0.08);
}

.forgot-glow-2 {

    width: 360px;

    height: 360px;

    right: -180px;

    top: -130px;

    background: rgba(0, 180, 216, 0.08);
}


/* =========================================================
   WRAPPER
========================================================= */

.forgot-password-wrapper {

    position: relative;

    z-index: 2;

    max-width: 650px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   PORTAL BADGE
========================================================= */

.forgot-portal-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 20px 10px 10px;

    margin-bottom: 22px;

    background: #ffffff;

    border: 1px solid #e4ebf3;

    border-radius: 50px;

    color: #075ccf;

    font-size: 15px;

    font-weight: 700;

    box-shadow: 0 8px 25px rgba(15, 45, 80, 0.07);
}

.forgot-portal-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #0969e8;

    color: #ffffff;

    font-size: 15px;
}


/* =========================================================
   CARD
========================================================= */

.forgot-password-card {

    background: #ffffff;

    border: 1px solid #e5ebf2;

    border-radius: 22px;

    padding: 38px 45px 32px;

    box-shadow:
        0 25px 60px rgba(20, 45, 80, 0.10);
}


/* =========================================================
   ICON
========================================================= */

.forgot-password-icon {

    width: 62px;

    height: 62px;

    margin: 0 auto 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background: #eaf2ff;

    color: #0869e8;

    font-size: 25px;
}


/* =========================================================
   LABEL
========================================================= */

.forgot-label {

    display: block;

    margin-bottom: 7px;

    color: #0869e8;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================================================
   HEADING
========================================================= */

.forgot-password-card h1 {

    margin: 0 0 12px;

    color: #09213f;

    font-size: 42px;

    font-weight: 800;

    line-height: 1.1;
}

.forgot-password-card h1 span {

    color: #176ee5;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.forgot-description {

    max-width: 520px;

    margin: 0 auto 28px;

    color: #718096;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   ALERT
========================================================= */

.forgot-alert {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    text-align: left;

    margin-bottom: 22px;

    border-radius: 10px;
}

.forgot-alert > i {

    margin-top: 3px;

    font-size: 17px;
}

.forgot-alert strong {

    display: block;

    margin-bottom: 3px;
}


/* =========================================================
   FORM
========================================================= */

.forgot-password-card .form-group {

    margin-bottom: 20px;

    text-align: left;
}

.forgot-password-card label {

    display: block;

    margin-bottom: 8px;

    color: #26384d;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   INPUT
========================================================= */

.forgot-input {

    position: relative;
}

.forgot-input > i {

    position: absolute;

    left: 17px;

    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    color: #9ba8b8;

    font-size: 15px;
}

.forgot-input .form-control {

    height: 54px;

    padding: 0 18px 0 48px;

    border: 1px solid #dce3eb;

    border-radius: 10px;

    background: #fbfcfe;

    color: #1d2f44;

    font-size: 15px;

    box-shadow: none;

    transition: all 0.2s ease;
}

.forgot-input .form-control:focus {

    border-color: #176ee5;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(23, 110, 229, 0.10);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.forgot-submit-btn {

    width: 100%;

    height: 54px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border: none;

    border-radius: 10px;

    background: #0869e8;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    box-shadow:
        0 10px 25px rgba(8, 105, 232, 0.20);

    transition: all 0.2s ease;
}

.forgot-submit-btn:hover {

    background: #075bc9;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 13px 28px rgba(8, 105, 232, 0.25);
}


/* =========================================================
   LINKS
========================================================= */

.forgot-links {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 23px;

    padding-top: 20px;

    border-top: 1px solid #edf0f4;

    font-size: 13px;
}

.forgot-links a {

    color: #0869e8;

    font-weight: 700;

    text-decoration: none;
}

.forgot-links a:hover {

    color: #064fae;

    text-decoration: underline;
}

.forgot-links span {

    color: #aab4c0;
}


/* =========================================================
   SECURITY NOTE
========================================================= */

.forgot-security {

    margin: 17px 0 0;

    color: #8a98a8;

    font-size: 12px;
}

.forgot-security i {

    margin-right: 5px;

    color: #6d7d90;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .forgot-password-hero {

        min-height: auto;

        padding: 30px 15px 40px;

        display: block;
    }

    .forgot-password-wrapper {

        max-width: 100%;
    }

    .forgot-portal-badge {

        margin-bottom: 18px;

        padding: 8px 16px 8px 8px;

        font-size: 13px;
    }

    .forgot-portal-icon {

        width: 32px;

        height: 32px;

        font-size: 13px;
    }

    .forgot-password-card {

        padding: 28px 20px 24px;

        border-radius: 17px;
    }

    .forgot-password-icon {

        width: 54px;

        height: 54px;

        margin-bottom: 14px;

        border-radius: 15px;

        font-size: 21px;
    }

    .forgot-label {

        font-size: 10px;

        letter-spacing: 1.7px;
    }

    .forgot-password-card h1 {

        font-size: 31px;

        line-height: 1.15;
    }

    .forgot-description {

        font-size: 14px;

        line-height: 1.6;

        margin-bottom: 22px;
    }

    .forgot-password-card .form-group {

        margin-bottom: 16px;
    }

    .forgot-input .form-control {

        height: 50px;

        font-size: 14px;
    }

    .forgot-submit-btn {

        height: 50px;

        font-size: 14px;
    }

    .forgot-links {

        font-size: 12px;

        gap: 7px;
    }

    .forgot-security {

        font-size: 11px;
    }

}

/* ======================================================
   FORGOT PASSWORD - FINAL DESKTOP ALIGNMENT
====================================================== */

/* Main content wrapper */
.forgot-password-wrapper {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 920px;

    margin: 0 auto;

    text-align: center;
}


/* Portal badge */
.forgot-portal-badge {

    margin: 0 auto 32px;

}


/* Recovery card */
.forgot-password-card {

    width: 100%;

    max-width: 910px;

    margin: 0 auto;

    padding: 52px 64px 58px;

    box-sizing: border-box;

}


/* Recovery icon */
.forgot-password-icon {

    width: 88px;

    height: 88px;

    margin: 0 auto 24px;

    border-radius: 20px;

    font-size: 28px;

}


/* Account recovery label */
.forgot-label {

    margin-bottom: 16px;

}


/* Main heading */
.forgot-password-card h1 {

    margin: 0 0 18px;

    font-size: 46px;

    line-height: 1.08;

}


/* Description */
.forgot-description {

    max-width: 760px;

    margin: 0 auto 38px;

    font-size: 17px;

    line-height: 1.65;

}


/* Form */
.forgot-password-card .form-group {

    margin-bottom: 22px;

}


/* Form width */
.forgot-password-card form {

    width: 100%;

    max-width: 780px;

    margin: 0 auto;

}


/* Input */
.forgot-input .form-control {

    height: 64px;

    padding-left: 52px;

    border-radius: 12px;

    font-size: 16px;

}


/* Submit button */
.forgot-submit-btn {

    height: 64px;

    border-radius: 12px;

    font-size: 16px;

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

    .forgot-password-hero {

        min-height: auto;

        padding: 28px 15px 45px;

        display: block;

    }


    .forgot-password-wrapper {

        width: 100%;

        max-width: 100%;

    }


    .forgot-portal-badge {

        margin-bottom: 22px;

        padding: 8px 16px 8px 8px;

        font-size: 13px;

    }


    .forgot-password-card {

        width: 100%;

        max-width: 100%;

        padding: 34px 22px 30px;

        border-radius: 20px;

    }


    .forgot-password-icon {

        width: 68px;

        height: 68px;

        margin-bottom: 20px;

        border-radius: 17px;

        font-size: 24px;

    }


    .forgot-label {

        font-size: 10px;

        letter-spacing: 1.7px;

        margin-bottom: 12px;

    }


    .forgot-password-card h1 {

        font-size: 32px;

        line-height: 1.15;

        margin-bottom: 15px;

    }


    .forgot-description {

        max-width: 100%;

        font-size: 14px;

        line-height: 1.6;

        margin-bottom: 26px;

    }


    .forgot-password-card form {

        max-width: 100%;

    }


    .forgot-password-card .form-group {

        margin-bottom: 18px;

    }


    .forgot-input .form-control {

        height: 56px;

        font-size: 14px;

        padding-left: 48px;

        border-radius: 11px;

    }


    .forgot-submit-btn {

        height: 56px;

        font-size: 14px;

        border-radius: 11px;

    }


    .forgot-links {

        margin-top: 20px;

        padding-top: 18px;

    }


    .forgot-security {

        margin-top: 15px;

    }

}


/* ======================================================
   FORGOT PASSWORD - FINAL LAYOUT
====================================================== */

.forgot-password-wrapper {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 920px;

    margin: 0 auto;

    text-align: center;
}


/* ======================================================
   PORTAL BADGE
====================================================== */

.forgot-portal-badge {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 32px;

}


/* ======================================================
   RECOVERY CARD
====================================================== */

.forgot-password-card {

    width: 100%;
    max-width: 910px;

    margin: 0 auto;

    padding: 52px 64px 56px;

    text-align: center;

    box-sizing: border-box;

}


/* ======================================================
   ICON
====================================================== */

.forgot-password-icon {

    width: 88px;
    height: 88px;

    margin: 0 auto 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    font-size: 28px;

}


/* ======================================================
   LABEL
====================================================== */

.forgot-label {

    display: block;

    margin-bottom: 15px;

}


/* ======================================================
   HEADING
====================================================== */

.forgot-password-card h1 {

    margin: 0 0 18px;

    font-size: 48px;

    line-height: 1.1;

    text-align: center;

}


/* ======================================================
   DESCRIPTION
====================================================== */

.forgot-description {

    max-width: 760px;

    margin: 0 auto 36px;

    font-size: 17px;

    line-height: 1.65;

    text-align: center;

}


/* ======================================================
   ALERTS
====================================================== */

.forgot-alert {

    max-width: 780px;

    margin: 0 auto 24px;

    display: flex;

    align-items: flex-start;

    gap: 12px;

    text-align: left;

    border-radius: 12px;

}

.forgot-alert > i {

    margin-top: 3px;

    font-size: 18px;

}


/* ======================================================
   FORM
====================================================== */

.forgot-password-card form {

    width: 100%;

    max-width: 780px;

    margin: 0 auto;

    text-align: left;

}


.forgot-password-card .form-group {

    margin-bottom: 22px;

}


.forgot-password-card .form-group label {

    display: block;

    margin-bottom: 9px;

    font-weight: 600;

}


/* ======================================================
   INPUT
====================================================== */

.forgot-input {

    position: relative;

    width: 100%;

}


.forgot-input > i {

    position: absolute;

    left: 18px;

    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

}


.forgot-input .form-control {

    width: 100%;

    height: 64px;

    padding-left: 52px;

    padding-right: 18px;

    border-radius: 12px;

    font-size: 16px;

    box-sizing: border-box;

}


/* ======================================================
   SUBMIT BUTTON
====================================================== */

.forgot-submit-btn {

    width: 100%;

    max-width: 780px;

    height: 64px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    font-size: 16px;

    font-weight: 700;

}


/* ======================================================
   LINKS
====================================================== */

.forgot-links {

    max-width: 780px;

    margin: 28px auto 0;

    padding-top: 22px;

    text-align: center;

}


/* ======================================================
   SECURITY NOTE
====================================================== */

.forgot-security {

    margin: 20px auto 0;

    text-align: center;

}


/* ======================================================
   LARGE DESKTOP
====================================================== */

@media (min-width: 1200px) {

    .forgot-password-card {

        max-width: 910px;

        padding-left: 64px;

        padding-right: 64px;

    }

}


/* ======================================================
   TABLET
====================================================== */

@media (max-width: 991px) {

    .forgot-password-card {

        max-width: 800px;

        padding: 45px 45px 50px;

    }

    .forgot-password-card h1 {

        font-size: 42px;

    }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

    .forgot-password-hero {

        min-height: auto;

        padding: 28px 15px 45px;

    }


    .forgot-password-wrapper {

        width: 100%;

        max-width: 100%;

    }


    .forgot-portal-badge {

        margin-bottom: 22px;

        font-size: 13px;

    }


    .forgot-password-card {

        width: 100%;

        max-width: 100%;

        padding: 34px 22px 30px;

        border-radius: 20px;

    }


    .forgot-password-icon {

        width: 68px;

        height: 68px;

        margin-bottom: 20px;

        border-radius: 17px;

        font-size: 24px;

    }


    .forgot-label {

        margin-bottom: 12px;

        font-size: 10px;

        letter-spacing: 1.7px;

    }


    .forgot-password-card h1 {

        font-size: 32px;

        line-height: 1.15;

        margin-bottom: 15px;

    }


    .forgot-description {

        max-width: 100%;

        margin-bottom: 26px;

        font-size: 14px;

        line-height: 1.6;

    }


    .forgot-alert {

        font-size: 13px;

        padding: 12px;

    }


    .forgot-password-card form {

        max-width: 100%;

    }


    .forgot-password-card .form-group {

        margin-bottom: 18px;

    }


    .forgot-input .form-control {

        height: 56px;

        padding-left: 48px;

        font-size: 14px;

        border-radius: 11px;

    }


    .forgot-submit-btn {

        max-width: 100%;

        height: 56px;

        font-size: 14px;

        border-radius: 11px;

    }


    .forgot-links {

        margin-top: 20px;

        padding-top: 18px;

        font-size: 13px;

    }


    .forgot-security {

        margin-top: 15px;

        font-size: 12px;

    }

}

/* ======================================================
   FORGOT PASSWORD - NAVBAR CLEARANCE
====================================================== */

.forgot-password-hero {
    position: relative;

    /*
     * Keep all forgot-password content below
     * the main website navbar.
     */
    padding-top: 75px;
    padding-bottom: 80px;

    overflow: hidden;
}


/* Portal badge must not sit against navbar */

.forgot-password-hero .forgot-password-wrapper {
    position: relative;
    z-index: 2;

    padding-top: 5px;
}


/* Give the badge its own breathing room */

.forgot-password-hero .forgot-portal-badge {
    position: relative;

    margin-top: 20px;
    margin-bottom: 32px;
}


/* Recovery card */

.forgot-password-hero .forgot-password-card {
    position: relative;
    z-index: 2;

    margin-top: 0;
}


/* ======================================================
   DESKTOP
====================================================== */

@media (min-width: 992px) {

    .forgot-password-hero {
        padding-top: 85px;
        padding-bottom: 90px;
    }

    .forgot-password-hero .forgot-portal-badge {
        margin-top: 15px;
        margin-bottom: 32px;
    }

}


/* ======================================================
   TABLET
====================================================== */

@media (max-width: 991px) {

    .forgot-password-hero {
        padding-top: 70px;
        padding-bottom: 70px;
    }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

    .forgot-password-hero {
        /*
         * Extra space because the mobile navbar
         * occupies more vertical space.
         */
        padding-top: 75px;
        padding-bottom: 50px;
    }

    .forgot-password-hero .forgot-password-wrapper {
        padding-top: 0;
    }

    .forgot-password-hero .forgot-portal-badge {
        margin-top: 15px;
        margin-bottom: 25px;
    }

}

@media (max-width: 767px) {

    .forgot-password-hero {
        padding-top: 90px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 45px;
    }

    .forgot-portal-badge {
        margin-top: 20px;
        margin-bottom: 25px;
    }

}