
:root {
    --unit: 0.065vw;
    --color-primary: #2C7955;
    --color-secondary: #E0EBE6;
    --color-success: #4BAE4F;
    --color-danger: #F26C6D;
    --color-warning: #F7B422;
    --color-info: #2196F3;
    --color-light-gray: #F4F4F4;
    --color-light-gray1: #F7F7F7;
    --color-light-gray2: #D9D9D9;
    --color-light-gray3: #FAFAFA;
    --color-gray: #979797;
    --color-dark: #373737;
    --color-mystic: #645CAA;
    --color-toxic: #B589C8;
    --color-aqua: #2FC7B5;
    --color-light-primary: #F4F8F6;
    --color-primary-opacity: #E3ECEA;
    --color-secondary-opacity: #F3F4F4;
    --color-success-opacity: #E9F1E9;
    --color-danger-opacity: #F7E4E4;
    --color-warning-opacity: #FBEEE1;
    --color-info-opacity: #E2EDF6;
    --color-mystic-opacity: #EBE8F1;
    --color-toxic-opacity: #F2E4EE;
}

* {
    font-family: 'Poppins';
    font-style: normal;
    color: #686868;
    font-size: calc(var(--unit)* 15);
    line-height: calc(var(--unit)* 31);
    position: relative;
    outline: none !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.minthr-auth-box {
    border-radius: calc(var(--unit) * 11);
    background: #FFF;
    box-shadow: 0px 5px 27px 0px rgba(104, 104, 104, 0.25);
    padding: calc(var(--unit) * 35) calc(var(--unit) * 40);
}

.minthr-logo {
    width: calc(var(--unit)* 136);
    margin-bottom: calc(var(--unit) * 20);
}

.form-control:focus {
    outline: none !important;
    box-shadow: none;
}

.minthr-auth {
    background-image: url(../images/login-bg2.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: calc(var(--unit)* 60) 0;
}

.form-container {
    width: calc(var(--unit)* 454);
    margin: auto;
    text-align: center;
}

.form-title {
    color: #373737;
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 600;
    font-size: calc(var(--unit)* 15);
    line-height: calc(var(--unit)* 24);
    margin-top: calc(var(--unit)* 25);
    margin-bottom: calc(var(--unit)* 35);
}

.form-desc {
    color: #979797;
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    font-size: calc(var(--unit)* 15);
    line-height: calc(var(--unit)* 23);
    padding: 0 calc(var(--unit)* 30);
    margin-bottom: calc(var(--unit)* 35);
}

.form-row {
    display: flex;
    text-align: center;
}

.form-group {
    margin-bottom: calc(var(--unit)* 25);
    text-align: left;
    position: relative;
}

    .form-group .form-password .show-password {
        background: transparent;
        border: none;
        position: absolute;
        inset-inline-end: calc(var(--unit)* 16);
        height: calc(var(--unit)* 19);
        top: 50%;
        transform: translateY(-50%);
        padding: 0;
        cursor: pointer;
    }

        .form-group .form-password .show-password img {
            width: calc(var(--unit)* 21);
            height: calc(var(--unit)* 21);
        }

    .form-group.success .form-control {
        border: 1px solid #49C67A;
        background-color: rgba(73, 198, 122, 0.05);
    }

    .form-group.error .form-control {
        border: 1px solid #F26C6D;
        background-color: rgba(242, 108, 109, 0.05);
    }

    .form-group.error .form-control {
        border: 1px solid #F26C6D;
        background-color: rgba(242, 108, 109, 0.05);
    }

    .form-group .form-message {
        display: none;
        font-family: Poppins;
        font-style: normal;
        font-weight: 500;
        font-size: calc(var(--unit)* 11);
        line-height: calc(var(--unit)* 31);
        margin-top: calc(var(--unit)* 5);
    }

    .form-group.success .form-message {
        display: block;
        color: #49C67A;
    }

    .form-group.error .form-message {
        display: block;
        color: #F26C6D;
    }

    .form-group label {
        color: #373737;
        font-family: Poppins;
        font-style: normal;
        font-weight: 500;
        font-size: calc(var(--unit)* 15);
        line-height: calc(var(--unit)* 31);
        letter-spacing: calc(var(--unit)* 0.45);
    }

        .form-group label span {
            color: #F26C6D;
        }

    .form-group .form-control {
        width: 100%;
        height: calc(var(--unit)* 53);
        background: rgba(247, 247, 247, 0.45);
        border: 1px solid #D9D9D9;
        color: #373737;
        font-family: Poppins;
        font-style: normal;
        font-weight: 400;
        font-size: calc(var(--unit)* 15);
        line-height: calc(var(--unit)* 31);
        letter-spacing: calc(var(--unit)* 0.45);
        padding: 0 calc(var(--unit)* 20);
        border-radius: calc(var(--unit)* 7);
    }

        .form-group .form-control::placeholder {
            color: #C4C4C4;
        }

        .form-group .form-control::-ms-input-placeholder {
            color: #C4C4C4;
        }

.lost-password {
    color: var(--color-primary);
    text-align: center;
    font-family: Poppins;
    font-size: calc(var(--unit)* 15);
    font-style: normal;
    font-weight: 400;
    text-decoration-line: underline;
    margin-left: auto;
}

.social-login {
    border-top: 1px solid #D9D9D9;
    margin-top: calc(var(--unit)* 40);
    padding-top: calc(var(--unit)* 40);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .social-login > div {
        color: #979797;
        text-align: center;
        font-family: Poppins;
        font-style: normal;
        font-weight: 500;
        font-size: calc(var(--unit)* 15);
        line-height: calc(var(--unit)* 31);
        letter-spacing: calc(var(--unit)* 0.45);
        width: calc(var(--unit)* 64);
        position: absolute;
        top: calc(var(--unit)* -15);
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
    }

    .social-login .btn {
        width: 100%;
        height: calc(var(--unit)* 58);
        border-radius: calc(var(--unit)* 11);
        border: 1px solid rgba(202, 217, 219, 0.65);
        background: #FFF;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #373737;
        text-align: center;
        font-family: Poppins;
        font-style: normal;
        font-weight: 500;
        font-size: calc(var(--unit)* 13);
        line-height: calc(var(--unit)* 31);
        letter-spacing: calc(var(--unit)* 0.13);
    }

        .social-login .btn img {
            width: calc(var(--unit)* 25);
            height: calc(var(--unit)* 25);
            position: absolute;
            inset-inline-start: calc(var(--unit)* 13);
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }

.form-btn {
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 600;
    font-size: calc(var(--unit)* 15);
    line-height: calc(var(--unit)* 24);
    height: calc(var(--unit)* 57);
    background: var(--color-primary);
    width: 100%;
    border: none;
    border-radius: calc(var(--unit)* 7);
    margin-top: calc(var(--unit)* 25);
    cursor: pointer;
}

    .form-btn:disabled {
        background: var(--color-gray) !important;
        cursor: not-allowed !important;
    }

.form-checkbox span {
    position: relative;
    padding-inline-start: calc(var(--unit) * 36);
    cursor: pointer;
}

.form-checkbox input {
    display: none;
}

.form-checkbox span::before {
    content: "";
    position: absolute;
    top: calc(var(--unit) * -1);
    inset-inline-start: 0;
    width: calc(var(--unit) * 25);
    height: calc(var(--unit) * 25);
    background: #F8FAFB;
    border: calc(var(--unit) * 1) solid #D9D9D9;
    border-radius: calc(var(--unit) * 3);
}

.form-checkbox span:after {
    content: "";
    position: absolute;
    display: none;
    inset-inline-start: calc(var(--unit) * 9);
    top: calc(var(--unit) * 3.5);
    width: calc(var(--unit) * 7);
    height: calc(var(--unit) * 12);
    border: solid white;
    border-width: 0 calc(var(--unit) * 3) calc(var(--unit) * 3) 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.form-checkbox input:checked ~ span:after {
    display: block;
}

.form-checkbox input:checked ~ span::before {
    background-color: var(--color-primary);
}

.form-checkbox a {
    color: #373737;
}

.form-file {
    height: calc(var(--unit) * 75);
    border-radius: calc(var(--unit) * 5);
    border: calc(var(--unit) * 2) dashed #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .form-file img {
        width: calc(var(--unit) * 22);
        height: calc(var(--unit) * 22);
        margin-inline-end: calc(var(--unit) * 10);
    }

    .form-file input {
        display: none;
    }

.form-input-desc {
    color: #979797;
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    font-size: calc(var(--unit) * 11);
    line-height: calc(var(--unit) * 24);
    margin-top: calc(var(--unit) * 10);
}

.minthr-forget-password .form-btn {
    margin-bottom: calc(var(--unit) * 30);
}

.success-message {
    background: rgba(73, 198, 122, 0.11);
    color: #49C67A;
    padding: calc(var(--unit) * 15);
    margin-bottom: calc(var(--unit) * 20);
    border-radius: calc(var(--unit) * 7);
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-size: calc(var(--unit) * 11);
    line-height: calc(var(--unit) * 21);
}

.danger-message {
    background: var(--color-danger-opacity);
    color: var(--color-danger);
    padding: calc(var(--unit) * 15);
    margin-bottom: calc(var(--unit) * 20);
    border-radius: calc(var(--unit) * 7);
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-size: calc(var(--unit) * 11);
    line-height: calc(var(--unit) * 21);
}

    .danger-message ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

.password-validation {
    text-align: left;
    margin-bottom: calc(var(--unit) * 30);
}

.password-validation-title {
    color: #979797;
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-size: calc(var(--unit) * 13);
    line-height: calc(var(--unit) * 31);
}

.password-validation .validation-item {
    color: #979797;
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-size: calc(var(--unit) * 11);
    line-height: calc(var(--unit) * 31);
    margin-bottom: calc(var(--unit) * 5);
    padding-left: calc(var(--unit) * 20);
}

    .password-validation .validation-item::before {
        content: "";
        background-image: url(../auth-icons/unvalide.svg);
        width: calc(var(--unit) * 13);
        height: calc(var(--unit) * 13);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        inset-inline-start: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .password-validation .validation-item.valide::before {
        background-image: url(../auth-icons/valide.svg);
    }

.back-to-login {
    color: #373737;
    text-align: center;
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-size: calc(var(--unit) * 11);
    line-height: calc(var(--unit) * 23);
    padding-bottom: 0;
}

    .back-to-login a {
        color: var(--color-primary);
        font-family: Poppins;
        font-style: normal;
        font-weight: 500;
        font-size: calc(var(--unit) * 11);
        line-height: calc(var(--unit) * 23);
    }

.minthr-condition {
    background-image: url(../images/login-bg2.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
}

.minthr-condition-box {
    border-radius: calc(var(--unit) * 11);
    background: #FFF;
    box-shadow: 0px 5px 27px 0px rgba(104, 104, 104, 0.25);
    padding: calc(var(--unit) * 20) calc(var(--unit) * 20);
    width: calc(var(--unit) * 600);
    height: calc(var(--unit) * 686);
    display: flex;
    flex-direction: column;
}

.minthr-condition-header {
    padding: 0 calc(var(--unit) * 20);
}

    .minthr-condition-header div {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: calc(var(--unit) * 5);
        border-bottom: calc(var(--unit) * 1) solid #D9D9D9;
        padding-bottom: calc(var(--unit) * 15);
    }

    .minthr-condition-header img {
        width: calc(var(--unit) * 35) !important;
        min-width: calc(var(--unit) * 35) !important;
        height: calc(var(--unit) * 35) !important;
    }

    .minthr-condition-header h3 {
        font-weight: 500;
        font-size: calc(var(--unit) * 18);
        font-family: Poppins;
    }

.minthr-condition-content {
    margin-top: calc(var(--unit) * 10);
    height: calc(var(--unit) * 520);
    overflow-y: scroll;
    padding-right: calc(var(--unit) * 10);
    padding-left: calc(var(--unit) * 20);
}

.minthr-condition-footer {
    margin-top: auto;
    display: flex;
    gap: calc(var(--unit) * 20);
    padding: calc(var(--unit) *10) calc(var(--unit) * 20);
}

    .minthr-condition-footer button, .minthr-condition-footer a {
        border: none;
        border-radius: calc(var(--unit) *100 );
        padding: 0 calc(var(--unit) * 17);
        display: inline-block;
        font-family: "Poppins";
        font-style: normal;
        font-weight: 600;
        font-size: calc(var(--unit) * 12);
        line-height: calc(var(--unit) * 17);
        color: #fff;
        min-width: calc(var(--unit) * 42);
        min-height: calc(var(--unit) * 35);
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        text-decoration: none;
        cursor: pointer;
        text-align: center;
    }

    .minthr-condition-footer .minthr-condtion-btn-outline {
        background-color: transparent;
        margin-left: auto;
        border: calc(var(--unit) * 2) solid var(--color-primary);
        color: var(--color-primary);
        padding: 0 calc(var(--unit) * 35);
    }

    .minthr-condition-footer .minthr-condtion-btn-primary {
        background: var(--color-primary);
    }

::-webkit-scrollbar {
    width: calc(var(--unit) * 3);
    height: calc(var(--unit) * 3);
}

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    /*    width: calc(var(--unit-minthr) * 5);*/
}


::-webkit-scrollbar-track {
    background: var(--color-light-gray3);
    /*    width: calc(var(--unit-minthr) * 5);*/
}
@media (max-width: 480px) {

    :root {
        --unit: 0.24132vw;
    }

    .minthr-auth {
        display: flex;
        padding: calc(var(--unit)* 12) calc(var(--unit)* 6) calc(var(--unit)* 12);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top center;
        background-color: #D5D2D2;
        align-items: flex-end;
    }

    .minthr-auth-box {
        background: #FFF;
        padding: calc(var(--unit) * 68) calc(var(--unit) * 23);
        padding-bottom: calc(var(--unit) * 23);
        /* height: 100dvh; */
        min-height: 80dvh;
        overflow: auto;
    }

    span.field-validation-error,
    span.field-validation-error span {
        color: #f26c6d !important;
        font-size: calc(var(--unit-minthr)* 11);
    }

    @media (max-width: 480px) {

        :root {
            --unit: 0.24132vw;
        }

        .minthr-auth {
            background: #fff;
            display: block;
            padding: 0;
            height: 100vh;
            max-height: 100svh;
            height: 100svh;
            height: -webkit-fill-available;
            overflow: hidden;
        }

        .minthr-auth-box {
            border-radius: 0;
            background: #fff;
            box-shadow: none;
            padding: calc(var(--unit) * 68) calc(var(--unit) * 23);
            padding-bottom: calc(var(--unit) * 23);
            height: 100vh;
            height: 100svh;
            max-height: 100svh;
            overflow: auto;
        }

        .minthr-logo {
            margin: auto;
            margin-bottom: calc(var(--unit) * 20);
        }

        .form-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .form-desc {
            padding: 0;
        }

        .form-container .form {
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .form-container .form-btn {
            margin-top: auto;
            margin-bottom: 0;
        }
    }

    .form-desc {
        padding: 0;
    }

    .form-container .form {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .form-container .form-btn {
        /* margin-top: auto; */
        margin-bottom: 0;
    }
}
