/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* --- 1. Űrlap konténer --- */
.gform-theme--foundation {
    --gf-form-gap-y: 20px !important;
}

.gform_wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- 2. Cím és Leírás --- */
.gform_wrapper .gform_heading {
    margin-bottom: 25px;
    text-align: center;
}
.gform_wrapper .gform_title {
    font-size: 24px;
    color: #333333;
    font-weight: bold;
}
.gform_wrapper .gform_description {
    font-size: 14px;
    color: #666666;
    margin-top: 5px;
}

/* --- 3. Mezők címkéi (Label) --- */
.gform_wrapper .gform-field-label {
    font-size: 15px;
    font-family: "Raleway";
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

/* --- 4. Szöveges beviteli mezők és textareak --- */
.gform_wrapper .ginput_container input:not([type=submit]),
.gform_wrapper .ginput_container textarea,
.gform_wrapper .ginput_container select {
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 12px;
    background-color: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

/* Fókusz (kattintás) és hibaállapot a mezőkön */
.gform_wrapper .ginput_container input:focus,
.gform_wrapper .ginput_container textarea:focus,
.gform_wrapper .ginput_container select:focus {
    background-color: #ffffff;
    border-color: #7D381F;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.gform_wrapper li.gfield.gfield_error input {
    border-color: #e74c3c;
    background-color: #ffffff;
}

/* --- 5. Hibaüzenetek formázása --- */
.gform_wrapper .gfield_description.validation_message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
}
.gform_wrapper div.validation_error {
    color: #e74c3c;
    background-color: #ffffff;
    border: 1px solid #f8d7da;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* --- 6. Küldés gomb --- */
.gform_wrapper .gform_footer input.button {
    width: 100%;
    padding: 14px;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.1s ease;
}



.gform_wrapper .gform_footer input.button:hover {
    background-color: #34495e;
}

#gform_submit_button_1 {
font-family: "Raleway";
    font-weight: 800;
    text-transform: uppercase;
    width: 100%;
    border-radius: 12px;
    margin: 0;
    padding: 20px 36px 19px 36px;
    background: linear-gradient(135deg, #17442F, #0F2B1E);
}

.gfield_required {
    padding-left: 3px;
}

/* 1. Minden lehetséges fókusz állapot és árnyék teljes kikapcsolása globálisan a formon belül */
body .gform_wrapper input:focus,
body .gform_wrapper input:focus-visible,
body .gform_wrapper input:focus-within,
body .gform_wrapper textarea:focus,
body .gform_wrapper textarea:focus-visible,
body .gform_wrapper select:focus,
body .gform_wrapper select:focus-visible {
    outline: none !important;
    outline-width: 0px !important;
    outline-color: transparent !important;
    outline-style: none !important;
    outline-offset: 0px !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* 2. Ugyanez fókusz elhagyásakor (alapállapotban) és átmenet nélkül, hogy ne villanjon vissza */
body .gform_wrapper input,
body .gform_wrapper textarea,
body .gform_wrapper select {
    outline: none !important;
    outline-width: 0px !important;
    outline-offset: 0px !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    transition: none !important; /* Blokkolja a villanást okozó animációt */
    -webkit-transition: none !important;
    
}

/* 3. Biztosítjuk, hogy fókusz alatt is KIZÁRÓLAG a te barna szegélyed éljen, semmi más */
body .gform_wrapper input:focus, 
body .gform_wrapper textarea:focus, 
body .gform_wrapper select:focus {
    border-color: #7D381F !important;
}


/* 1. Kinyírjuk a Gravity Forms Orbital téma saját háttér és árnyék változóit */
.gform_wrapper, 
div[id^="gform_wrapper_"] {
    --gf-bg-color: transparent !important;
    --gf-form-bg: transparent !important;
    --gf-ctrl-bg-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* 2. Nullázzuk az összes beágyazott konténert, ami a form mögött generálhatja ezt a blokkot */
body .gform_wrapper,
body .gform_wrapper form,
body .gform_wrapper .gform_body,
body .gform-theme--framework {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.gform-theme--framework {
    --gf-ctrl-size-md: 50px !important;
}