﻿/*=================================================
CONTACT FORM RESULT MODAL
==================================================*/

.contact-result-modal .modal-dialog {
    max-width: 420px;
    width: calc(100% - 30px);
    margin: 30px auto;
}

.contact-result-modal .modal-content {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: none;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(21, 10, 81, 0.22);
}


/*=================================================
BODY
==================================================*/

.contact-result-body {
    padding: 34px 28px 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/*=================================================
IMAGE
==================================================*/

.contact-result-image-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
}

.contact-result-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
}


/*=================================================
TITLE
==================================================*/

.contact-result-title {
    margin: 0 0 4px;
    color: #150A51;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 800;
}


/*=================================================
MESSAGE
==================================================*/

.contact-result-message {
    margin: 0 0 24px;
    color: #150A51;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
}


/*=================================================
DISMISS BUTTON
==================================================*/

.contact-result-dismiss {
    min-width: 125px;
    height: 36px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFD501;
    color: #150A51;
    border: none;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s;
}

    .contact-result-dismiss:hover {
        background: #150A51;
        color: #fff;
    }


/*=================================================
CLOSE BUTTON
==================================================*/

.contact-result-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    border: 3px solid #707070;
    border-radius: 4px;
    color: #707070;
    font-size: 25px;
    line-height: 18px;
    font-weight: 700;
    cursor: pointer;
    opacity: 1;
    transition: .2s;
}

    .contact-result-close:hover {
        border-color: #150A51;
        color: #150A51;
    }


/*=================================================
SUCCESS STATE
==================================================*/

.contact-result-modal.is-success .contact-result-title {
    color: #150A51;
}

.contact-result-modal.is-success .contact-result-message {
    color: #150A51;
}


/*=================================================
ERROR STATE
==================================================*/

.contact-result-modal.is-error .contact-result-title {
    color: #150A51;
}

.contact-result-modal.is-error .contact-result-message {
    color: #150A51;
}

/*=================================================
RESET PASSWORD MODAL
==================================================*/

#formModal .modal-dialog {
    width: calc(100% - 30px);
    max-width: 620px;
    margin: 30px auto;
}

#formModal .reset-password-modal {
    position: relative;
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(21, 10, 81, 0.25);
    overflow: hidden;
}


/*=================================================
FORM
==================================================*/

#formModal .reset-password-form {
    width: 100%;
    margin: 0;
    padding: 48px 62px 55px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}


/*=================================================
CLOSE BUTTON
==================================================*/

#formModal .reset-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    border: 3px solid #666;
    border-radius: 5px;
    color: #666;
    font-size: 27px;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

    #formModal .reset-modal-close:hover {
        border-color: #150A51;
        color: #150A51;
    }


/*=================================================
PAW ICON
==================================================*/

#formModal .reset-password-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 213, 1, 0.22);
    color: #150A51;
    font-size: 40px;
}

    #formModal .reset-password-icon i {
        line-height: 1;
    }


/*=================================================
HEADING
==================================================*/

#formModal .reset-password-heading {
    text-align: center;
    margin-bottom: 32px;
}

    #formModal .reset-password-heading h2 {
        margin: 0 0 10px;
        color: #150A51;
        font-size: 42px;
        line-height: 1.05;
        font-weight: 800;
    }

    #formModal .reset-password-heading p {
        max-width: 440px;
        margin: 0 auto;
        color: #5B587A;
        font-size: 16px;
        line-height: 1.45;
        font-weight: 400;
    }


/*=================================================
FORM GROUP
==================================================*/

#formModal .reset-form-group {
    width: 100%;
    margin-bottom: 22px;
}

    #formModal .reset-form-group label {
        display: block;
        margin-bottom: 9px;
        color: #150A51;
        font-size: 16px;
        line-height: 1.2;
        font-weight: 800;
        text-align: left;
    }


/*=================================================
INPUT WRAPPER
==================================================*/

#formModal .reset-input-wrapper {
    position: relative;
    width: 100%;
}


    /* icon */

    #formModal .reset-input-wrapper > i {
        position: absolute;
        left: 20px;
        /* Half of the 62px input height */
        top: 31px;
        transform: translateY(-50%);
        color: #666B7C;
        font-size: 18px;
        pointer-events: none;
        z-index: 2;
    }
    #formModal .reset-input-wrapper label.error,
    #formModal .reset-input-wrapper .error {
        display: block;
        margin: 7px 0 0 0;
        color: red;
        font-size: 13px;
        line-height: 18px;
        font-weight: 400;
        text-align: left;
    }

    /*=================================================
INPUTS
==================================================*/

    #formModal .reset-input-wrapper input {
        width: 100%;
        height: 62px;
        padding: 0 20px 0 56px;
        background: #fff;
        border: 1px solid #D7D9E0;
        border-radius: 32px;
        color: #333;
        font-size: 16px;
        outline: none;
        box-shadow: none;
        box-sizing: border-box;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        #formModal .reset-input-wrapper input::placeholder {
            color: #A0A0A0;
        }


        /* focus */

        #formModal .reset-input-wrapper input:focus {
            border-color: #FFD501;
            box-shadow: 0 0 0 3px rgba(255, 213, 1, 0.12);
        }


/*=================================================
SHOW PASSWORD
==================================================*/

#formModal .reset-show-password {
    margin-top: 2px;
    margin-bottom: 28px;
}

    #formModal .reset-show-password label {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        color: #5B587A;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
    }


    /* hide browser checkbox */

    #formModal .reset-show-password input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }


/* custom checkbox */

#formModal .reset-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
    background: #fff;
    border: 2px solid #7C7C89;
    border-radius: 5px;
    box-sizing: border-box;
}

#formModal .reset-show-password input[type="checkbox"]:checked + .reset-checkbox {
    background: #FFD501;
    border-color: #FFD501;
}


/* tick */

#formModal .reset-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #150A51;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#formModal .reset-show-password input[type="checkbox"]:checked + .reset-checkbox::after {
    display: block;
}


/*=================================================
SUBMIT BUTTON
==================================================*/

#formModal .reset-password-submit {
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 25px;
    background: #150A51 !important;
    color: #fff !important;
    border: 2px solid #150A51 !important;
    border-radius: 999px !important;
    font-size: 16px;
    font-weight: 800;
    box-shadow: none !important;
    cursor: pointer;
    transition: .25s;
}

    #formModal .reset-password-submit:hover {
        background: #FFD501 !important;
        border-color: #FFD501 !important;
        color: #150A51 !important;
    }

/*=================================================
TABLET
==================================================*/

@media (max-width: 767px) {

    .contact-result-modal .modal-dialog {
        max-width: 400px;
    }

    .contact-result-body {
        padding: 32px 22px 34px;
    }

    .contact-result-image {
        max-width: 195px;
    }

    .contact-result-title {
        font-size: 32px;
    }

    .contact-result-message {
        font-size: 17px;
    }
    #formModal .modal-dialog {
        max-width: 560px;
    }

    #formModal .reset-password-form {
        padding: 44px 35px 42px;
    }

    #formModal .reset-password-heading h2 {
        font-size: 34px;
    }

    #formModal .reset-password-heading p {
        font-size: 15px;
    }

    #formModal .reset-password-icon {
        width: 76px;
        height: 76px;
        font-size: 34px;
    }
}


/*=================================================
MOBILE
==================================================*/

@media (max-width: 576px) {

    /* SUCCESS / ERROR MODAL */
    .contact-result-modal .modal-dialog {
        width: calc(100% - 50px);
        max-width: 330px;
        margin: 20px auto;
    }

    .contact-result-body {
        padding: 24px 18px 26px;
    }

    .contact-result-image {
        max-width: 145px;
    }

    .contact-result-title {
        font-size: 26px;
    }

    .contact-result-message {
        font-size: 14px;
        line-height: 1.35;
    }


    /* RESET PASSWORD MODAL */
    #formModal .modal-dialog {
        width: calc(100% - 40px);
        max-width: 350px;
        margin: 18px auto;
    }

    #formModal .reset-password-form {
        padding: 30px 18px 24px;
    }

    #formModal .reset-password-icon {
        width: 56px;
        height: 56px;
        font-size: 25px;
        margin-bottom: 14px;
    }

    #formModal .reset-password-heading {
        margin-bottom: 18px;
    }

        #formModal .reset-password-heading h2 {
            font-size: 25px;
            line-height: 1.1;
        }

        #formModal .reset-password-heading p {
            max-width: 275px;
            font-size: 13px;
            line-height: 1.4;
        }

    #formModal .reset-form-group {
        margin-bottom: 14px;
    }

        #formModal .reset-form-group label {
            font-size: 13px;
        }

    #formModal .reset-input-wrapper input {
        height: 50px;
        padding: 0 16px 0 46px;
        /* keep 16px so iPhone doesn't zoom on focus */
        font-size: 16px !important;
        border-radius: 26px;
    }

    #formModal .reset-input-wrapper > i {
        left: 17px;
        top: 25px;
        font-size: 15px;
    }

    #formModal .reset-password-submit {
        height: 48px;
        font-size: 14px;
    }

    #formModal .reset-modal-close {
        top: 10px;
        right: 10px;
        width: 26px;
        height: 26px;
        font-size: 21px;
    }
}
