﻿body {
    color: #777;
    background-color: #fff;
    margin: 0;
    padding-top: 40px;
    padding-bottom: 40px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    padding-top: 0 !important;
    overflow: hidden;
}

.reset-card, .set-password-card {
    text-align: center;
    display: flex;
    flex-direction: row-reverse;
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0 auto;
    justify-content: center;
}

.reset-password, .set-password {
    text-align: left;
    display: flex;
    justify-content: center;
    width: 50%;
    height: 100%;
    background-color: #fff;
    align-items: center;
    transition: background-color 0.3s ease-in-out, padding 0.3s ease;
    color: #10122B;
}

* {
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

.reset__left-col, .set__left-col {
    width: 100%;
    max-width: 571px;
}

.reset__left-bg, .set__left-bg {
    width: 50%;
    height: auto;
    background: url(../images/login_bg.webp), linear-gradient(0deg, #056dff 0%, #056dff 100%), linear-gradient(0deg, #056dff 14.15%, #10122b 78.54%);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin: 12px;
}

.reset__logo-wrapper, .set__logo-wrapper {
    display: flex;
    margin-bottom: 42px;
}

.reset__password-desc, .set__password-desc {
    color: #10122B;
    margin: 0 0 16px;
    font-size: 14px;
}

.reset__logo, .set__logo {
    max-height: 70px;
    max-width: 212px;
    width: auto;
    height: auto;
    display: block;
    border-right: 1px solid #10122B;
    padding: 0 15px 0 0;
}

.reset__title, .set__title {
    font-size: 24px;
    font-weight: 400;
    color: #10122B;
    clear: both;
    text-indent: 0;
    margin: 0;
    padding: 0 15px 0 15px;
}

.reset__submit-button-wrapper, .set__submit-button-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 21px;
}

.set__submit-button-wrapper {
    justify-content: flex-end;
}

.reset__submit-button, .set__submit-button {
    display: block;
    color: #10122B;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    background-color: transparent;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 1;
    font-family: 'Inter', sans-serif;
}

    .reset__submit-button:disabled, .set__submit-button:disabled {
        cursor: default;
        background: gray;
    }

    .reset__submit-button:hover, .set__submit-button:hover {
        opacity: 0.7;
        background: transparent;
    }

.set__submit-button {
    background-color: #0DD896 !important;
    padding: 10px 24px;
    border-radius: 4px;
}

.reset-privacy-policy {
    color: #10122b;
    margin: 8px 0;
    padding: 0;
    font-size: 14px;
    width: 60%;
}

.reset-privacy-policy a {
    color: #213275;
    text-decoration: underline;
}


.reset__email-input, .set__password-input {
    display: block;
    border: 1px solid #79747E;
    padding: 12px 20px 12px;
    width: 100%;
    font-size: 16px;
    line-height: normal;
    border-radius: 4px;
    background: #fff;
    color: #10122B;
    font-family: "Geist", sans-serif;
    position: relative;
    z-index: 2;
    transition: padding-top 0.3s ease;
}

.reset__input-placeholder, .set__input-placeholder {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #777;
    pointer-events: none;
    z-index: 2;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease, background 0.3s ease;
    background-color: transparent;
    padding: 0 4px;
    font-weight: 400;
}

.reset__email-input:focus + .reset__input-placeholder,
.reset__email-input:not(:placeholder-shown) + .reset__input-placeholder,
.set__password-input:focus + .set__input-placeholder,
.set__password-input:not(:placeholder-shown) + .set__input-placeholder {
    top: 2px;
    font-size: 12px;
    color: #777;
    background-color: #fff;
    z-index: 2;
    letter-spacing: 0.4px;
}

.reset__email-input:focus,
.set__password-input:focus {
    border: 1px solid #056DFF;
}

.reset__input-wrapper, .set__input-wrapper {
    position: relative;
    margin-bottom: 24px;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-password-input {
    display: none;
}

.set__password-toggle-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    z-index: 2;
    opacity: 0.5;
}

.reset-card a {
    text-decoration: underline;
}


/*===== MEDIA QUERIES =====*/

/*Desktop screens*/
@media (max-width: 1360px) {
    .reset-password, .set-password {
        padding: 30px !important;
    }
}

/*Tablet landscape screens*/
@media (max-width: 1024px) {
    .reset__submit-button-wrapper {
        flex-direction: column-reverse;
    }

    .reset__submit-button, .reset-privacy-policy {
        width: 100% !important;
    }

    .reset-privacy-policy {
        margin: 42px 0 8px !important;
    }

    .reset__left-col, .set__left-col {
        width: auto !important;
    }

    .reset__submit-button {
        text-align: right;
        padding: 0 !important;
    }
}

/*Tablet portrait screens*/
@media (max-width: 768px) {
    .reset-password, .set-password {
        padding: 16px !important;
    }

    .reset-card a {
        white-space: normal;
    }

    .reset__logo, .set__logo {
        max-width: 170px !important;
        transition: max-width 0.3s ease, margin-bottom 0.3s ease;
    }

    .reset__title, .set__title {
        font-size: 18px !important;
        display: flex;
        align-items: center;
    }

    .reset__logo-wrapper, .set__logo-wrapper {
        margin-bottom: 50px !important;
    }

    .reset__left-bg, .set__left-bg {
        background-size: cover !important;
    }

    .reset__email-input, .set__email-input {
        width: -webkit-fill-available;
    }
}

/*Mobile screens*/
@media (max-width: 568px) {
    .reset-card, .set-password-card {
        flex-direction: column-reverse !important;
    }

    .reset-password, .set-password {
        width: auto !important;
        align-items: baseline !important;
        padding: 16px 32px !important;
    }

    .reset__left-bg, .set__left-bg {
        margin: 0 0 40px !important;
        width: auto !important;
        height: 45% !important;
        background-position: bottom !important;
        border-radius: 0 !important;
    }

    .reset__submit-button, .set__submit-button {
        padding: 12px !important;
    }

    .reset__privacy-policy {
        font-size: 12px !important;
    }

    .reset__title, .set__title {
        font-size: 18px !important;
    }
}
