/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

/* General Form Styling */
.acf-custom-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.acf-custom-form {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.acf-custom-form .form-section {
    margin-bottom: 30px;
}

.acf-custom-form .form-section h2 {
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #0073aa;
}

.acf-custom-form .form-group {
    margin-bottom: 15px;
}

.acf-custom-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.acf-custom-form input[type="text"],
.acf-custom-form input[type="email"],
.acf-custom-form input[type="number"],
.acf-custom-form input[type="url"],
.acf-custom-form textarea,
.acf-custom-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.acf-custom-form input[type="checkbox"] {
    margin-right: 10px;
}

.acf-custom-form .btn-submit {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.acf-custom-form .btn-submit:hover {
    background-color: #005f8c;
}

/* Opening and Closing Hours Styling */
.day-section {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    background-color: #fff;
}

.day-section h3 {
    margin-bottom: 10px;
    color: #333;
}

.time-fields {
    margin-top: 10px;
}

.time-fields label {
    display: inline-block;
    margin-bottom: 5px;
}

.time-fields select {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 10px;
}

.time-fields select:last-child {
    margin-right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .time-fields select {
        width: 100%;
        margin-right: 0;
    }

    .day-section {
        padding: 10px;
    }

    .acf-custom-form .form-section h2 {
        font-size: 1.5em;
    }

    .acf-custom-form .btn-submit {
        width: 100%;
    }
}

.form-section h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #0073aa;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.form-section .form-group {
    margin-bottom: 15px;
}

.form-section .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-section .form-group input[type="file"] {
    display: block;
    width: 100%;
}

.required {
    color: red!important;
    font-weight: bold;
    margin-left: 5px;
}

.error {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Ensure hidden fields take no space */
.hidden {
    display: none !important;
}

/* Category dropdown*/
select[name="cat"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
