/* ===== ФОРМА ЗАЯВКИ ===== */
.application-form-section {
    background: #a43ccf;
    border-radius: 50px;
    padding: 60px 60px;
    margin: 80px 0;
    color: white;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.form-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.form-info h2 {
    line-height: 1.0;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 0;
    align-self: flex-start;
}

.form-info .contact-info {
    margin-top: 0;
    align-self: normal;
}

.form-info .phone {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    color: #433F45;
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #a43ccf;
    box-shadow: 0 0 0 3px rgba(164, 60, 207, 0.1);
}

/* Стили для чекбоксов со скругленными углами */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border-radius: 4px;
    accent-color: #a43ccf;
}

/* Дополнительные стили для более надежного скругления */
.checkbox-group input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #89888A;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    position: relative;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #a43ccf;
    border-color: #a43ccf;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '\2714';
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-group label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
}
.checkbox-group a{
    text-decoration: underline;
}
/* Контейнер для кнопок - прижимаем к низу */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: auto;
    flex-wrap: wrap;
    padding-top: 20px;
}

.submit-btn {
    background: #a43ccf;
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.submit-btn:hover {
    background: #8a2eb8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(164, 60, 207, 0.3);
}

/* Новая кнопка "Заказать звонок" */
.callback-btn {
    background: white;
    color: #a43ccf;
    border: 2px solid #a43ccf;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
}

.callback-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(164, 60, 207, 0.2);
}

/* Адаптивность */
@media (max-width: 992px) {
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-info {
        min-height: auto;
    }

    .form-info h2 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .form-buttons {
        flex-direction: column;
        margin-top: 20px;
        padding-top: 0;
    }

    .submit-btn,
    .callback-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .application-form-section {
        padding: 40px 20px;
    }

    .form-info h2 {
        font-size: 32px;
    }

    .form-info .phone {
        font-size: 24px;
    }
}