.form__inner * {
    box-sizing: border-box;
}

.right_form__title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: inherit;
}

.form__inner {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
}

/* Поля формы */
.form__question {
    margin-bottom: 25px;
}

.form_caption {
    margin-bottom: 8px;
}

.form_caption_text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

/* Поля ввода */
.form_answer input[type="text"],
.form_answer input[type="email"],
.form_answer input[type="tel"],
.form_answer input[type="number"],
.form_answer textarea,
.form_answer select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fff;
}

.form_answer input:focus,
.form_answer textarea:focus,
.form_answer select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Чекбоксы целей использования */
.form_answer input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    background: #fff;
}

.form_answer input[type="checkbox"]:checked {
    background: #3498db;
    border-color: #3498db;
}

.form_answer input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.form_answer label {
    cursor: pointer;
    font-size: 16px;
    color: #2c3e50;
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
}

/* Группа чекбоксов */
.form__question:has(input[type="checkbox"]) {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.form__question:has(input[type="checkbox"]) .form_caption_text {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
}

/* Кнопка отправки */
.form_submit {
    text-align: center;
    margin: 35px 0 25px;
}

.form_submit input[type="submit"] {
    padding: 16px 45px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
}

.form_submit input[type="submit"]:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Чекбокс соглашения */
.agreement-container {
    margin: 30px 0 20px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.agreement-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    flex-shrink: 0;
}

.agreement-checkbox input[type="checkbox"]:checked {
    background: #3498db;
    border-color: #3498db;
}

.agreement-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.agreement-text {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.agreement-text a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.agreement-text a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .form__inner {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .right_form__title {
        font-size: 24px;
    }
    
    .form_submit input[type="submit"] {
        width: 100%;
        padding: 18px;
    }
    
    .agreement-checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .form__question:has(input[type="checkbox"]) {
        padding: 15px;
    }
}

/* Валидация */
.error-fld {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #e74c3c;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    cursor: help;
}

.error-fld::before {
    content: "!";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}