.container-forma{
    font-size: 16px;
    line-height: 1.2;
    width: 100%;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    max-width: 1860px;
}
.content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
}

.left-side{
    width: 25%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.left-side::before{
    content: "";
    position: absolute;
    height: 70%;
    width: 2px;
    background: #FFC700;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}
.right-side{
    width: 75%;
    margin-left: 75px;
}
.details{
    margin-bottom: 15px;
    text-align: center;
}
.details i{
    font-size: 25px;
    color: #FFC700;
    margin-bottom: 10px;
}
.topic{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 7px;
}
.text-one, .text-two{
    font-size: 14px;
    color: #afafb6;
}
.topic-text{
    font-size: 23px;
    font-weight: 600;
    color: #FFC700;
    margin-bottom: 10px;
}
.right-side p{
    margin-bottom: 20px;
}
.input-box{
    width: 100%;
    height: 50px;
    margin: 20px 0;
    margin-bottom: 30px;
}

.input-box-one{
    width: 200px;
    height: 50px;
}
.input-box input, .input-box-one input,
.input-box textarea, .input-box-one textarea{
    width: 100%;
    height: 100%;
    border: none;
    padding: 0 20px;
    border-radius: 5px;
    background: #f0f1f8;
    max-width: 650px;
    margin-bottom: 3px;
}
.input-box label, .input-box-one label{
    font-size: 12px;
    color: #afafb6;
    padding-left: 5px;
}
.input-box textarea, .input-box-one textarea{
   resize: none; 
   padding: 20px;
   font-family: 'Montserrat', sans-serif;
}
.message-box{
    min-height: 110px;    
}
.button-forma{
    display: inline-block;
}
.button-forma input[type="submit"],  .form-container .cancel{
    color: #fff;
    background: #FFC700;
    border: none;
    outline: none;
    padding: 15px 30px;
    border-radius: 5px;
    transition: 0.2s;
    margin-top: 50px;
    font-size: 18px;
    font-weight: 500;
}
.button-forma input[type="submit"]:hover, .form-container .cancel:hover{
    background: #c0990b;
}

/* Стили для чекбоксов согласия */
.checkbox-group {
    margin: 20px 0;
    margin-bottom: 30px;
}

.checkbox-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-item label {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-item a {
    color: #FFC700;
    text-decoration: none;
}

.checkbox-item a:hover {
    text-decoration: underline;
}

/* Обязательные поля */
.checkbox-item input[type="checkbox"]:required + label::after {
    content: " *";
    color: #ff0000;
}


/* Адаптивность для чекбоксов */
@media (max-width: 700px) {
    .checkbox-item {
        margin-bottom: 12px;
    }
    
    .checkbox-item label {
        font-size: 13px;
    }
    
    .checkbox-item input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
}
@media (max-width: 800px) {
    .content{
        height: 100%;
        flex-direction: column-reverse;
    }
    .content-build{
        height: 100%;
        flex-direction: column;
    }
    .content-build img{
        margin-bottom: 20px;
    }
    .left-side{
        margin-top: 50px;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .details{
        margin-right: 20px;
    }
    .details :last-child{
        margin-right: 0;
    }
    .left-side::before{
        display: none;
    }
    .right-side{
        width: 100%;
        margin-left: 0;
    }
    .button-forma{
        display: flex; /* Добавляем это */
        justify-content: center; /* И это */
        width: 100%; /* И это */
    }   
}
/* Очень маленькие телефоны */
@media (max-width: 700px) {
    .container-forma{
        padding: 10px 10px;
    }
    
    .content{
        padding: 15px 10px;
    }
    
    .topic-text{
        font-size: 18px;
    }
    
    .right-side p{
        font-size: 13px;
    }
    
    .details i{
        font-size: 22px;
    }
    
    .topic{
        font-size: 16px;
    }
    
    .text-one, .text-two{
        font-size: 13px;
    }
    
    .input-box{
        margin: 12px 0 20px 0;
    }
    
    .input-box input {
        height: 40px;
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .input-box textarea {
        height: 80px;
        min-height: 80px;
        padding: 10px 12px;
        font-size: 14px;
    }
    .input-box label, .input-box-one label{
        font-size: 11px;
        color: #afafb6;
    }
    
    .message-box{
        min-height: 80px;
    }
    .button-forma{
        display: flex; /* Добавляем это */
        justify-content: center; /* И это */
        width: 100%; /* И это */
    }   
    .button-forma input[type="submit"]{
        padding: 10px 15px;
        font-size: 15px;
        margin-top: 10px;
        width: auto;
    }
}
