@import url('/assets/css/components/nullstyle.css');
@import url(/assets/css/components/header.css);
@import url(/assets/css/components/footer.css);
@import url(/assets/css/components/modal.css);
@import url(/assets/css/components/cookies.css);
a{
    color: black;
}
body{
    font-family: 'Montserrat', serif;
    background: #F5F5F5;
}
.all-wrapper{
    display: flex;
    flex-direction: column;
    max-width: 1440px;
    padding: 0px 140px;
    margin: 0px auto;
    min-height: 100%;
}
@media (max-width:1200px) {
    .all-wrapper{
        max-width: 1200px;
    }
}
@media (max-width:1100px) {
    .all-wrapper {
        padding: 30px;
    }
}

@media (max-width:830px) {
    .all-wrapper {
        padding: 20px;
    }
}
@media (max-width:640px) {
    .all-wrapper{
        padding: 10px;
    } 
}
.main {
    flex: 1 1 auto;
}
.main__item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.register{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.register__title{
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 50px;
    color: #0F5D5D;
}
@media (max-width:1200px) {
    .register__title{
        font-size: 26px;
    }
}
@media (max-width:768px) {
    .register__title{
        font-size: 22px;
        line-height: 30px;
    } 
}
@media (max-width:425px) {
    .register__title{
        font-size: 20px;
    } 
}
.register__form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.register__form form{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    flex-wrap: wrap;
    gap:20px;
}

#fio {
    order: 0;
}
#email {
    order: 1;
}
#company_name {
    order: 2;
}
.password-container {
    order: 3;
}
#online_phone {
    order: 4;
}
#password_repeat {
    order: 5;
}
.register__form-politics{
    order: 6;
}
.submit {
    order: 7;
}

@media (max-width:600px) {
    .register__form form{
        flex-direction: column;
    }
    #online_phone {
        order: 5;
    }
    #password_repeat {
        order: 4;
    }
}

.form-input{
    width: 260px;
    border: 1px solid black;
    padding: 5px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #4F4F4F;
}
.submit{
    margin-left: auto;
    margin-right: auto;
}
.submit__button{
    border-radius: 30px;
    border: 1px solid #0F5D5D;
    background-color:#F5F5F5;
    color: #0F5D5D;
    padding: 10px;
    height: 50px;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    cursor: pointer;
}
.register__form-err-message{
    text-align: center;
    padding: 5px 0px;
    margin-top: 10px;
    display: none;
}

.reg-checkbox{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 25px;
}

@media (max-width:600px) {
    .reg-checkbox{
        gap: 8px;
    }
}

.reg-checkbox input{
    min-width: 26px;
    min-height: 26px;
}

@media (max-width:600px) {
    .reg-checkbox input{
        min-width: 22px;
        min-height: 22px;
    }
}

.reg-checkbox label a{
    color: #0F5D5D;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
}

@media (max-width:600px) {
    .reg-checkbox label{
        font-size: 16px;
        font-weight: 500;
        max-width: 250px;
    }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
  }
  
.shake {
    animation: shake 0.5s;
}

.password-container {
    position: relative;
}

.eye-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
}

.eye-btn img {
    height: 20px;
    width: 20px;
}
