@import url('https://fonts.googleapis.com/css2?family=Ubuntu');

:root{
    --eye-close: url('../images/close_black.svg');
    --eye-open: url('../images/open_black.svg');
    --eye-close-b: url('../images/close_white.svg');
    --eye-open-b: url('../images/open_white.svg');

    /* light_teme */
    --bg-color: #FBFFD0;
    --font-color-main: #000000;
    --font-color-main2: #353535;
    --font-color-link: #009640;
    --input-border: 1px solid #353535;
    --select-arrow: url('../images/arrow.png');
    --error-back: rgb(254, 198, 198);
    --error-font: #ac2b1d;
    --success-back: #42944A;
    --success-font: rgb(255, 255, 255);

    /* light_teme */
    --font: 'Ubuntu', sans-serif;
    --back-btn: #FFE400;
    --back-btn-unactive: linear-gradient(317deg, #BBBAB2 0%, #B3BAB1 0.01%, #8F8F8F 100%);
    --select-back-color: #009640;
    --select-font-color: #ffff;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: var(--bg-color);
}

.dark-mode {
    --eye-close: url('../images/close_white.svg');
    --eye-open: url('../images/open_white.svg');
    --bg-color: #1F1F1F;
    --font-color-main:  #FDFDFD;
    --font-color-main2: #FDFDFD;
    --font-color-link: #08987F;
    --input-border: 1px solid #FDFDFD;
    --select-arrow: url('../images/arrow2.png');

    --error-back: rgb(126, 26, 26);
    --error-font: rgb(252, 219, 219);

    --success-back: #42944A;
    --success-font: rgb(250, 250, 250);
}

.wrapper{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.content{
    width: 100%;
    max-width: 335px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 19px;
}
.content2{
    width: 100%;
    max-width: 335px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 19px;
}
.main-image{
    margin-top: 10px;
    object-fit: scale-down;
    width: 100%;
    max-width: 200px;
    height: auto;
}
.main-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;

}
.link-to-req-auto{
    font-family: var(--font);
    color: var(--font-color-main2);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 14px;
}
.link-to-req-auto2{
    font-family: var(--font);
    color: var(--font-color-main2);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;

    margin-bottom: 14px;
}
.main-text{
    font-family: var(--font);
    color: var(--font-color-main2);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    margin-top: 10px;
    text-align: center;
    width: 95%;
    margin: 10px auto 0 auto;
}
.link-to-req-auto>a, .link-to-req-auto2>a{
    font-family: var(--font);
    color: var(--font-color-link);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
}
.main-form-label{
    font-family: var(--font);
    color: var(--font-color-main);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}
.input-div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: 15px;
}
.input-div input{
    padding-left: 15px;
    color: var(--font-color-main);
    width: 100%;
    height: 57px;
    border-radius: 10px;
    border: var(--input-border);
    background: none;
    outline: none;
}
.code-input{
    width: 80%;
    align-self: center;
    text-align: center;
    font-size: 2em;
    padding-left: 20px;
    letter-spacing: 20px;
    color: var(--font-color-main);
    height: 57px;
    border-radius: 10px;
    border: var(--input-border);
    background: none;
    outline: none;
    caret-color: var(--bg-color);
}
.code-text{
    width: 100%;
    display: block;
    text-align: center;
    align-self: center;
    font-family: var(--font);
    color: var(--font-color-main);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 20px 0;
}
.color-mail{
    font-size: 18px;
    color: var(--back-btn);
}
.input-div input:focus, .input-div input:checked{
    border: var(--input-border);
    background: none;
}
/* show_password  */
.input-eye-div{
    width: 100%;
    position: relative;
}
.show_password{
    /* background: #FBFFD0; */
    margin: auto;
    width: 40px;
    height: 35px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 50%;
    background-image: var(--eye-close);
    background-repeat: no-repeat;
    background-position: center center;
}


.forgot-pass{
    padding: 0;
    margin-top: 5px;
    align-self: flex-start;
    font-family: var(--font);
    color: var(--font-color-link);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    text-decoration: none;
}

.submit-btn{
    margin-top: 17px;
    width: 100%;
    height: 47px;
    background: var(--back-btn);
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
}


/* custom select */

.custom-select{
    width: 100%;
    position: relative;
    font-family: var(--font);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;

}

.custom-select>select{
    display: none;
    color: var(--font-color-main);
    width: 100%;
    height: 57px;
    border-radius: 10px;
    border: var(--input-border);
    background: none;
    outline: none;
}

.select-selected {
    background-color: var(--bg-color);
}

  /*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    width: 60px;

    background-image: var(--select-arrow);
    background-repeat: no-repeat;
    background-position: center;

    transition: all .3s;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
}

.select-selected{
    height: 57px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    border-radius: 10px;
    color: var(--font-color-main);
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: var(--input-border);
    cursor: pointer;
    user-select: none;
}

/*style the items (options), including the selected item:*/
/* .select-items div,.select-selected {

} */
.select-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 23px 0;
    gap: 12px;
    background-color: #009640 !important;
    margin: 0 auto;
    width: 94%;
    max-width: 322px;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    align-self: center;
}
.select-items div{
    max-width: 172px;
    width: 100%;
    height: 24px;

    border-bottom: 1px solid var(--select-font-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #009640;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    color: var(--select-font-color);
}

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: var(--bg-color);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.2);
}


/* errors */

.errors-messages-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 335px;
    background: var(--error-back);
    border-radius: 10px;
    animation: errorApear .5s ease-in-out;
    transition: all .3s;
    margin-top: 10px;
    overflow-y: scroll;
    -ms-overflow-style: none;
}
.errors-messages-div::-webkit-scrollbar { width: 0; }

.error-div{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 3px;
    gap: 10px;
}
.error-text{
    color: var(--error-font);
    background: none;
    font-family: var(--font);
    font-size: 14px;
}
.success-messages-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 335px;
    background: var(--success-back);
    border-radius: 10px;
    animation: errorApear .5s ease-in-out;
    transition: all .3s;
    margin-top: 10px;
    overflow-y: scroll;
    -ms-overflow-style: none;
}
.success-div{
    color: var(--success-font);
    background: none;
    font-family: var(--font);
    font-size: 14px;
}
.success-text{
    color: var(--success-font);
    background: none;
    font-family: var(--font);
    font-size: 14px;
}
.error-img{
    width: 20px;
    height: 20px;
    background: none;
}

.agreementDiv{
    width: 100%;
    /*background: white;*/
    margin-top: 17px;
    position: relative;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.checkboxDiv{
    height: 16px;
    width: 16px;
    border: var(--input-border);
    border-radius: 3px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.checkboxDiv img{
    width: 95%;
    height: 95%;
}
.link-to-req-auto-mini{
    font-family: var(--font);
    color: var(--font-color-main2);
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    margin-left: 7px;
}
.link-to-req-auto-mini > a{
    font-family: var(--font);
    color: var(--font-color-link);
    font-weight: 500;
    font-size: 13px;
    line-height: 16px;
    text-decoration: none;
}
.active-false-btn{
    background: var(--back-btn-unactive);
}
.agreementDiv #agreeInput{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    z-index: -10;
    visibility: hidden;
}

/*.agreementDiv .active::before{*/
/*    position: absolute;*/
/*    content: '';*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    right: 0;*/
/*    left: 0;*/
/*}*/

@keyframes errorApear {
    0%{
        visibility: hidden;
        transform: translate(0, 200px);
    }
    90%{
        visibility: visible;
        transform: translate(0, 0);
    }
    100%{
        visibility: visible;
        transform: translate(0, 0);
    }
}

@media only screen and (max-height: 730px) {
    .input-div input{
        height: 45px;
    }
    .select-selected{
        height: 45px;
    }
    .submit-btn{
        height: 37px;
    }
    .main-image{
        max-width: 150px;
        height: auto;
    }
}


/* test launguage */
.languages-div{
    /* margin-top: -10px; */
    /*margin-top: 3px;*/
    /*margin-bottom: -10px;*/
    /* position: absolute; */
    /* top: 10px; */
    /* right: 10px; */
    gap: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.lang-div{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: var(--font-color-main);
    border: 2px solid #FFE400;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.lang-div-active{
    background-color: #ffe6008c;
    font-weight: 800;
}


/*privacy policy*/
.documentPrivacyPolicy{
    width: 100%;
    min-height: 100vh;
    background: white;
    padding: 60px 10px 10px 10px;
    margin-top: -60px;
}
.documentPrivacyPolicy h1{
    font-size: 30px;
}

.documentPrivacyPolicy h2{
    font-size: 20px;
    margin-top: 30px;
}
.documentPrivacyPolicy ul{
    margin-left: 15px;
}
.backBtn{
    font-size: 20px;
    line-height: 30px;
}


