/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

/* ===== КАСТОМНЫЕ СТИЛИ ДЛЯ ФОРМЫ CONTACT FORM 7 ===== */

.responsive-form .row {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.responsive-form .column-half {
    flex: 1;
    min-width: 250px;
}

.responsive-form .column-full {
    width: 100%;
}

.responsive-form .wpcf7-form-control {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    margin: 0;
}

/* Контейнер чекбокса - обновленный */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    padding: 0;
    background: transparent;
    margin: 15px 0;
    border-radius: 0;
    gap: 12px;
}

.checkbox-container .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    position: relative;
    top: 2px;
}

/* Чекбокс - с границей и кастомным стилем */
.checkbox-container .wpcf7-acceptance input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid #ccc !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    background-color: #f8f9fa;
    border-radius: 3px;
    position: relative;
    transition: all 0.2s ease;
}

/* Чекбокс при наведении */
.checkbox-container .wpcf7-acceptance input[type="checkbox"]:hover {
    border-color: #ffc03d !important;
}

/* Чекбокс при активации - ваш цвет #ffc03d */
.checkbox-container .wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: #ffc03d !important;
    border-color: #ffc03d !important;
}

/* Галочка внутри чекбокса */
.checkbox-container .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white !important;
    font-size: 12px;
    font-weight: bold;
}

/* Текст чекбокса - уменьшенный, белый */
.checkbox-text {
    font-size: 11px !important;
    margin: 0 !important;
    line-height: 1.4;
    color: #ffffff !important;
    font-weight: 400;
}

.checkbox-text a {
    color: #ffc03d !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.checkbox-text a:hover {
    text-decoration: underline;
    color: #ffd166 !important;
}

/* Кнопка отправки */
.responsive-form input[type="submit"] {
    width: 100%;
    height: 50px;
    background: #ffc03d;
    color: #2c3e50;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.responsive-form input[type="submit"]:hover {
    background: #ffaa00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 192, 61, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .responsive-form .row {
        flex-direction: column;
        gap: 12px;
    }
    .responsive-form .column-half {
        width: 100%;
    }
    .checkbox-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }
    .checkbox-container .wpcf7-acceptance input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
    .checkbox-text {
        font-size: 10px !important;
        line-height: 1.3;
    }
}

.responsive-form p {margin-bottom: 20px;}

.wpcf7-not-valid-tip {color: #dc3232; font-size: 13px;}

.responsive-form .wpcf7-form-control {border: none;}
}
.wpcf7 form.sent .wpcf7-response-output { color: #eee!important;}

/* ===== КОНЕЦ СТИЛЕЙ ДЛЯ ФОРМЫ ===== */