/* 
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 */

/* WPForms Container & Field Layout */
#wpforms-form-15 .wpforms-field-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#wpforms-form-15 .wpforms-field {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* Two-column layout for Name and Email */
#wpforms-form-15 .wpforms-field-name,
#wpforms-form-15 .wpforms-field-email.wpforms-one-half {
    width: 48% !important;
}

/* Dark Theme Input Fields and Textareas */
#wpforms-form-15 input[type="text"],
#wpforms-form-15 input[type="email"],
#wpforms-form-15 textarea {
    background-color: #161b22 !important; /* Darker slate input background */
    border: 1px solid #38414a !important; /* Subtle industrial border */
    border-radius: 6px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #f0f6fc !important; /* Clean white/light gray text */
    transition: all 0.3s ease;
}

/* Input Placeholder Text Color */
#wpforms-form-15 input::placeholder,
#wpforms-form-15 textarea::placeholder {
    color: #8b949e !important;
}

/* Focus State with an Industrial Safety Gold/Amber or Steel Blue accent */
#wpforms-form-15 input:focus,
#wpforms-form-15 textarea:focus {
    border-color: #d97706 !important; /* Amber accent (or use #38bddf for steel blue) */
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2) !important;
    outline: none !important;
}

/* Field Labels for Dark Background */
#wpforms-form-15 .wpforms-field-label {
    font-weight: 500 !important;
    font-size: 13px !important;
    color: #c9d1d9 !important; /* Muted light gray for readability */
    margin-bottom: 6px !important;
}

/* Submit Button */
#wpforms-form-15 .wpforms-submit {
    background-color: #d97706 !important; /* Matching amber accent button */
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#wpforms-form-15 .wpforms-submit:hover {
    background-color: #b45309 !important;
}
/* Lighten form labels for better accessibility */
#wpforms-form-15 .wpforms-field-label {
    color: #e2e8f0 !important;
}

/* Mobile First: Force all WPForms fields to 100% full width */
@media screen and (max-width: 767px) {
    #wpforms-form-15 .wpforms-field-name,
    #wpforms-form-15 .wpforms-field-email.wpforms-one-half,
    #wpforms-form-15 .wpforms-field {
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important;
        margin-bottom: 15px !important;
    }
}

/* Desktop Only: Side-by-side 2-column layout */
@media screen and (min-width: 768px) {
    #wpforms-form-15 .wpforms-field-container {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    #wpforms-form-15 .wpforms-field-name,
    #wpforms-form-15 .wpforms-field-email.wpforms-one-half {
        width: 48% !important;
    }
}