.relative { position: relative; }
.align { display: flex; justify-content: center !important; align-items: center !important; }

.forma {
    background-color: #ECECEC;
    padding-top: 40px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden; /* Овал не будет вылезать за края */
    z-index: 1;
}

/* Стили для всех полей ввода */
.input_form, .textarea_form {
    width: 100%;
    border-radius: 7px;
    border: none;
    background-color: #444444;
    color: white;
    padding: 15px 15px;
    font-size: 14px;
}
.input_form { height: 50px; }
.input_form::placeholder, .textarea_form::placeholder { color: #b0b0b0; }
.input_form:focus, .textarea_form:focus { outline: 2px solid #FF8400; }

/* Кнопка */
.btn_form {
    width: 220px;
    height: 50px;
    border-radius: 7px;
    border: none;
    background-color: #FF8500;
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s ease;
    position: relative;
    z-index: 10;
    cursor: pointer;
}
.btn_form:hover {
    color: #FF8500;
    border: 2px solid #FF8500;
    background-color: white;
}

/* Чекбокс и текст */
.cookeis_footer1 { display: flex; align-items: flex-start; gap: 10px; width: 100%; max-width: 700px; margin: 0 auto; text-align: left; }
.cookeis_footer1 input { margin-top: 4px; accent-color: #FF8400; }
.cookeis_footer1 label { color: #444444; font-size: 13px; line-height: 1.4; white-space: nowrap; margin-top: 2.8%;}
.cookeis_footer1 a { text-decoration: underline; }

/* --- ДЕКОРАТИВНЫЙ ОВАЛ (НЕВИДИМЫЙ ПО УМОЛЧАНИЮ) --- */
.circle_forma {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    
    width: 1200px; 
    height: 400px;
    border-radius: 50% 50% 0 0;
    
    z-index: -1;
    pointer-events: none;
    transition: all 0.5s ease;
    
    /* Невидимый по умолчанию */
    background: transparent;
    opacity: 0; 
}
textarea.form-control{
    margin-left:9px;
}

/* ======================================================= */
/* ИЗМЕНЕНИЕ: Появление овала при наведении на ВСЮ ФОРМУ */
/* ======================================================= */
.forma:hover .circle_forma {
    opacity: 1;
    background: radial-gradient(ellipse at 50% 100%, #ff8c00 0%, #ffb347 30%, rgba(236,236,236,0) 70%);
    transform: translateX(-50%) scale(1.15);
}
.cookeis_footer1{
    white-space: nowrap;
}

/* --- АДАПТИВЫ --- */
@media (max-width: 767px) {
    .only_pk { display: none !important; }
    .form-control{margin:0;}
    .row[style*="display: flex; gap: 10px;"] { flex-direction: column !important; }
    
    textarea.form-control{
    margin-left:0px;
}
    .cookeis_footer1 { width: 90% !important; }
    .btn_form { width: 90% !important; }
    
    .circle_forma {
        width: 800px !important;
        height: 200px !important;
        bottom: -60px !important;
        transform: translateX(-50%) scale(1) !important;
        background: transparent !important;
        opacity: 0 !important;
    }
 .cookeis_footer1 label { white-space: normal;}
    /* Появление на мобильных при наведении (или тапе) на форму */
    .forma:hover .circle_forma {
        opacity: 1 !important;
        background: radial-gradient(ellipse at 50% 100%, #ff8c00 0%, #ffb347 30%, rgba(236,236,236,0) 70%) !important;
        transform: translateX(-50%) scale(1.1) !important;
    }
}
@media (min-width: 767px) { .only_mobile { display: none !important; } }
