
/*!* Изменение цвета автозаполнения *!*/
/*input:-webkit-autofill {*/
/*    -webkit-text-fill-color: yellow !important;*/
/*}*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    -webkit-text-fill-color: var(--color-label) !important;;
    /*-webkit-box-shadow: 0 0 0 30px rgba(0,0,0,.5) inset !important;*/
    transition: background-color 5000s ease-in-out 0s; /* выставляется желаемая задержка */
}



.field_line{
    display: flex;
    justify-content: space-between;
}


.login-box {
    display: flex;
    flex-direction: column;
    background: var(--color-background-element);
    /*min-width: 400px;*/
    max-width: 600px;
    height: fit-content;
    align-self: center;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.6);
    border-radius: 10px;
}


.login-box .user-box label {
    /*font-size: 12px;*/
    color: var(--color-text-element);
}


.login-box h2 {
    margin: 0 0 30px;
    color: var(--color-text-element);
    text-align: center;
}
.login-box h4 {
    margin: 0 0 10px;
    color: var(--color-text-element);
    text-align: center;
}

.user-box {
    /*.login-box .user-box {*/
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 20px 3px 0;
    /*width: 100%;*/
    border-bottom: 1px solid var(--color-label);

}

.login-box .user-box input {
    width: 100%;
    font-size: 16px;
    color: var(--color-text);
    border: none;
    outline: none;
    background: transparent;
}



.login-box .user-box select {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid var(--color-primary);
    outline: none;
    background: transparent;
}


.login-box__row-label{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0 0;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-text-element);
    /*color: var(--color-label);*/
    /*border-left: 1px solid var(--color-label);*/
    /*border-right: 1px solid var(--color-label);*/

}


.login-box .user-box_radio {
    display: flex;
    /*flex-direction: column;*/
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 20px;
    width: 100%;
}

.field_line__radio_block{
    display: flex;
    width: 100%;
    /*height: 100%;*/
    margin-top: 5px;
    align-self: center;
}

/* radio button */

.field_line__radio_block .option{
    /*background: #fff;*/
    /*height: 100%;*/
    width: 100%;
    display: flex;
    align-items: center;
    /*justify-content: space-evenly;*/
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px 0;
    /*border: 2px solid lightgrey;*/
    transition: all 0.3s ease;
}
.field_line__radio_block .option .dot{
    min-height: 16px;
    min-width: 16px;
    /*background: red;*/
    background: #d9d9d9;
    border-radius: 50%;
    position: relative;
}
.field_line__radio_block .option .dot::before{
    position: absolute;
    content: "";
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: var(--color-green);
    border-radius: 50%;
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.3s ease;
}
input[type="radio"]{
    display: none;
}

#option-1:checked:checked ~ .option-1 .dot,
#option-2:checked:checked ~ .option-2 .dot{
    background: #fff;
}
#option-1:checked:checked ~ .option-1 .dot::before,
#option-2:checked:checked ~ .option-2 .dot::before{
    opacity: 1;
    transform: scale(1);
}
.field_line__radio_block .option span{
    margin: 0 20%;
}
#option-1:checked:checked ~ .option-1 span,
#option-2:checked:checked ~ .option-2 span{
    color: var(--color-green);
}

/* -- radio button -- */
/* checkbox */

/* для элемента input c type="checkbox" */
.custom-checkbox {
    /*position: absolute;*/
    z-index: -1;
    opacity: 0;
    display: none;
}

/* для элемента label, связанного с .custom-checkbox */
.custom-checkbox+label {
    /*display: inline-flex;*/
    align-items: center;
    user-select: none;
}

/* создание в label псевдоэлемента before со следующими стилями */
.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    border-radius: 0.25em;
    /*margin-right: 0.5em;*/
    margin-right: 10%;
    margin-bottom: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #b3d7ff;
}

/* стили для активного чекбокса (при нажатии на него) */
.custom-checkbox:not(:disabled):active+label::before {
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}

/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
    border-color: #80bdff;
}

/* стили для чекбокса, находящегося в состоянии checked */
.custom-checkbox:checked+label::before {
    border-color: #0b76ef;
    background-color: #0b76ef;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
    background-color: #e9ecef;
}

/* -- checkbox -- */




.login-box .a_btn {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: var(--color-label);
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-top: 40px;
    letter-spacing: 4px;
}

.btn_wrapper{
    flex: 0 0 100%;
    /*height: 100%;*/
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    margin-top:20px;
}



.button_second{
    position: relative;
    padding: 10px 20px;
    color: var(--color-label);
    background-color: rgba(28,28,28,0);
    border: none;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-top: 40px;
    letter-spacing: 4px;
}

.login-box .a_btn:hover {
    background: var(--color-sm-element);
    color: var(--color-primary);
    border-radius: 5px;
    box-shadow: 0 0 5px var(--color-sm-element),
    0 0 25px var(--color-primary),
    0 0 50px var(--color-primary),
    0 0 100px var(--color-primary);
}


.login-box__btn{
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}
.login-box__btn a{
    margin: 0 10px;
}


.login-box__btn .a_btn{
    color: var(--color-text);
    transition: 0.5s;
}
.login-box__btn .a_btn:hover{
    color: var(--color-sm-element);
    transition: 0.5s;
}





@media (min-width: 601px) and (max-width: 2400px){
    /*.login-box {*/
    /*    min-width: 100%;*/
    /*}*/

    .login-box .user-box label {
        font-size: 12px;
    }
}

@media screen and (max-width: 600px) {
    .login-box {
        min-width: 100%;
    }
    .field_line{
        flex-direction: column;
    }
    .login-box .user-box label {
        /*font-size: 1.6em;*/
    }
    .login-box .user-box input {
        font-size: 1.5em;
    }
    .login-box .user-box span {
        /*font-size: 0.8em;*/
    }
    .login-box__btn{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
    }
    .login-box__btn a{
        margin: 15px 0;
    }
    .btn_wrapper{
        flex-direction: column;
    }
    .btn_wrapper label{
        flex-direction: column;
    }

    input[type="text"], input[type="password"], input[type="email"], input[type="date"],
    input[type="time"], input[type="url"], input[type="number"], input[type="tel"],
    textarea, select, .vTextField {
        max-width: 600px;

    }
}