/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

  table {
        border-collapse: collapse;
        width: 100%;
        font-family: Arial, sans-serif;
    }
    th, td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
        color: #E85A4F;
    }
    th {
        background-color: #f2f2f2;
        font-weight: bold;
    }
    .merged-header {
        background-color: #e6e6e6;
        text-align: center;
        font-weight: bold;
    }
    .forthcoming {
        background-color: #f9f9f9;
        font-style: normal;
    }
    .table-container {
        display: flex;
        justify-content: space-between;
    }
    .main-table {
        width: 70%;
    }
    .forthcoming-table {
        width: 30%;
    }

/* Filter Container */
.table-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Program Type Dropdown */
.table-filter select {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 180px;
}

/* Date Range Input */
.table-filter input[type="text"] {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 200px;
}

/* Filter and Reset Buttons */
.table-filter button {
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #E85A4F;
    transition: background-color 0.3s ease;
}

.table-filter button:hover {
    background-color: #d14a40;
}

/* Separate Filter and Reset buttons for better alignment */
.table-filter button:nth-child(3) { /* Filter button */
    margin-right: 5px;
}

.table-filter button:nth-child(4) { /* Reset button */
    background-color: #6c757d;
}

.table-filter button:nth-child(4):hover { /* Reset button hover */
    background-color: #5b6369;
}
.forthcoming ul {
 padding-left: 0px;
list-style: none;
}

/* General Form Styling */
.gurdwara-booking-form {
    margin: 0 auto;
    padding: 20px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 10px;
}

/* Form Title */
.gurdwara-booking-form h2 {
    text-align: center;
    color: #E85A4F;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Two-Column Layout */
.gurdwara-booking-form .form-group {
    width: 48%;
    display: inline-block;
    margin-bottom: 15px;
    vertical-align: top;
}

/* Full-Width Fields */
.gurdwara-booking-form .form-group-full {
    width: 100%;
}

/* Form Labels */
.gurdwara-booking-form label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

/* Input Fields */
.gurdwara-booking-form input[type="text"],
.gurdwara-booking-form input[type="email"],
.gurdwara-booking-form input[type="date"],
.gurdwara-booking-form input[type="time"],
.gurdwara-booking-form input[type="number"],
.gurdwara-booking-form select,
.gurdwara-booking-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.gurdwara-booking-form input:focus,
.gurdwara-booking-form textarea:focus,
.gurdwara-booking-form select:focus {
    border-color: #E85A4F;
}

/* Textarea and Checkbox Styling */
.gurdwara-booking-form textarea {
    min-height: 80px;
    resize: vertical;
}

.gurdwara-booking-form input[type="checkbox"] {
    margin-right: 5px;
}

/* Full-width Button */
.gurdwara-booking-form .btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #E85A4F;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gurdwara-booking-form .btn:hover {
    background-color: #d14a40;
}

/* Conditional Sections */
.gurdwara-booking-form .private-langar-fields,
.gurdwara-booking-form .general-langar-field,
.gurdwara-booking-form .shared-langar-field {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f0f0;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gurdwara-booking-form .form-group {
        width: 100%;
    }

    .gurdwara-booking-form .btn {
        font-size: 14px;
    }
}



 .modal {
        display: none;
        /* Hidden by default */
        position: fixed;
        /* Stay in place */
        z-index: 9999;
        /* Sit on top */
        padding-top: 100px;
        /* Location of the box */
        left: 0;
        top: 0;
        width: 100%;
        /* Full width */
        height: 100%;
        /* Full height */
        overflow: auto;
        /* Enable scroll if needed */
        background-color: rgb(0, 0, 0);
        /* Fallback color */
        background-color: rgba(0, 0, 0, 0.4);
        /* Black w/ opacity */
    }

    /* Modal Content */
    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
    }

    /* The Close Button */
    .close {
        color: #aaaaaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

    .gurdwara-booking-btn {
        font-family: "Open Sans", Sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 22px;
        background-color: var(--e-global-color-primary);
        border-radius: 25px 25px 25px 25px;
        padding: 10px 30px 10px 30px;
        color: #fff;
        margin: 0 auto;
        border: none;
    }

    .btnwrpF {
        text-align: center;
    }

    .gurdwara-booking-btn:hover {
        background: #8e8d8a;
    }

    .modal_booking .wpcf7-form label.error {
        color: #f00;
        font-size: 15px;
        float: none;
        padding-left: 5px;
        text-align: left;
    }

    .modal_booking .modal-content {
        background-color: var(--e-global-color-secondary);
    }

    .modal_booking h2.elementor-heading-title.elementor-size-default {
        text-transform: uppercase;
        color: #E85A4F;
        font-family: "Oswald-V", Sans-serif;
        font-size: 26px;
        font-weight: 400;
        text-transform: capitalize;
        line-height: 40px;
    }

    .modal_booking .close {
        color: #ffffff;
        float: right;
        font-size: 28px;
        font-weight: bold;
        background: #000;
        padding: 0 15px;
    }
    .form-group {
        margin-bottom: 1rem;
    }
    .form-group label {
        display: inline-block;
        margin-bottom: .5rem;
    }
    .form-control {
        display: block;
        width: 100%;
        padding: .375rem .75rem;
        font-size: 1rem;
        line-height: 1.5;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: .25rem;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }

    .gurdwara-booking-form {
        text-align: left;
    }