﻿

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f7f7f7;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-left: 0px;
    margin-right: 0px;
}

.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto;
}

.dropdown-field {
    flex: 1 !important;
    min-width: 180px !important;
    padding: 12px 40px 12px 40px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background-color: #EDEDED !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 12px center, right 12px center !important;
    background-size: 18px 18px, 14px !important;
    appearance: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

    .dropdown-field:focus {
        outline: none;
        border-color: #005c42;
        box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
    }

    /* .dropdown-field.facility-dropdown {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
            background-position: right 12px center;
            padding-left: 16px;
        } */

    .dropdown-field.prayer-room-dropdown {
        background-image: url('/publicSite/images/icons/prayerroomgroup.svg'), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    }


.location-input1 {
/*    flex: 1;*/
    min-width: 100px;
    padding: 10px 12px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    background-image: url('../publicSite/images/icons/Vector.svg');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px 16px;
    transition: border-color 0.3s ease;
}

@media (max-width: 768px) {
    .location-input1 {
        width: 100% !important;
    }
}



.tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    border: none;
    background: #f5f5f5;
    font-weight: bold;
    font-size: 16px;
    border-radius: 12px 12px 0 0;
}

    .tab.active {
        background: #05cd6d;
        border-bottom: 2px solid green;
    }

.search-box {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
}

    .search-box.active {
        display: flex;
    }

.search-input {
    flex: 2;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
/*    margin-left: 2%;*/
}

.dropdown {
    background-color: #F6F7F9;
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.location-btn {
    flex: 1;
    background: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
}

.custom-btn {
    flex: 1;
    background: green;
    color: white;
    font-weight: bold;
    border: none;
}

.search-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    border-radius: 8px;
    margin-right: 3%;
    flex: 1;
    background: #005c42;
    color: white;
    font-weight: bold;
}
/* ================= */
.top-banner {
    background-color: #eadfae;
    padding: 2px 0px;
    font-size: 16px;
    color: #333;
}

.banner-text {
    flex-grow: 1;
}

.banner-btn {
    background-color: #ffffff;
    border: 2px solid #005c42;
    color: #005c42;
    padding: 4px 16px;
    color: #005b41;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 3px;
    font-family: 'Jost', sans-serif;
    font-weight: 900; /* maximum bold */
}

/* .banner-btn:hover {
            background-color: #005c42;
            color: white;
        } */

.close-banner {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    margin-left: 12px;
}

.search-tabs {
    background-color: white;
    padding: 0;
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-top: 3px;
    align-items: center;
}

.tab-button {
    flex: 0 0 auto;
    background: none;
    border: none;
    padding: 6px 27px;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 7px;
}

    .tab-button.active {
        background-color: #005c42;
        color: #fff;
    }

    .tab-button:hover:not(.active) {
        background-color: #f2f2f2;
        color: #005c42;
    }

.tab-content {
    padding: 0;
    background-color: white;
}

.search-form {
    display: none;
}

    .search-form.active {
        display: block;
    }

.search-fields-card {
    /* background-color: #f8f9fa;
        border: 1px solid #e9ecef; */
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.search-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.dropdown-item i {
    margin-right: 8px;
}


.search-input {
    flex: 1;
    min-width: 150px;
    padding: 10px 12px 10px 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f8f9fa;
    background-image: url('../publicSite/images/icons/VectorSearch.svg');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px 16px;
    transition: border-color 0.3s ease;
}

    .search-input:focus {
        outline: none;
        border-color: #005c42;
        box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.1);
    }

@@media (max-width: 768px) {
    .search-input {
        padding-left: 30px !important;
        background-size: 14px 14px;
        background-position: 8px center;
    }
}

.dropdown-select {
    flex: 1;
    min-width: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #EDEDED;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 12px;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

    .dropdown-select:focus {
        outline: none;
        border-color: #005c42;
        box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.1);
    }
.dropdown-selectPrayer {
    flex: 1;
    min-width: 220px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #EDEDED;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 12px;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

    .dropdown-selectPrayer:focus {
        outline: none;
        border-color: #005c42;
        box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.1);
    }
.location-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    transition: border-color 0.3s ease;
}

    .location-input:focus {
        outline: none;
        border-color: #005c42;
        box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.1);
    }

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #005c42;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

    .btn-primary:hover {
        background-color: #1e3d1b;
        transform: translateY(-1px);
    }

.btn-secondary {
    background-color: white;
    border: 2px solid #005c42;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #005c42;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

    .btn-secondary:hover {
        background-color: #005c42;
        color: white;
        transform: translateY(-1px);
    }

.use-location-btn {
    background-color: transparent;
    border: none;
    color: #005c42;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

    .use-location-btn:hover {
        background-color: rgba(45, 90, 39, 0.1);
    }

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
}

    .checkbox-item input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #005c42;
    }

.facility-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

@@media (max-width: 768px) {
    .search-row {
        flex-direction: column;
        gap: 8px;
    }

    .search-input, .dropdown-select, .location-input {
        width: 100%;
        min-width: unset;
    }

    .use-location-btn {
        align-self: flex-start;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .tab-content {
        padding: 20px 16px;
    }
}

@@media (max-width: 576px) {
    .tab-buttons {
        flex-direction: column;
    }

    .tab-button {
        border-bottom: 1px solid #e9ecef;
    }

        .tab-button:last-child {
            border-bottom: none;
        }
}

@@media (max-width: 768px) {
    .dropdown-field {
        width: 100% !important;
        min-width: unset !important;
        flex: none !important;
        box-sizing: border-box;
    }
}



/* ===================== */

@@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }

    .tab {
        margin-bottom: 10px;
    }

        .tab:last-child {
            margin-bottom: 0;
        }
    /* .wrapper {
                  padding: 10px;
                }*/

    .search-container {
        padding: 15px;
    }

    .search-box.active {
        flex-direction: column !important;
    }

    .search-input, .dropdown, .search-btn, .location-btn {
        font-size: 14px;
        width: 100%;
        padding: 10px 5px;
        margin: 0;
    }
}

@@media (max-width: 480px) {
    .search-input, .dropdown, .search-btn, .location-btn {
        font-size: 12px;
        /*padding: 8px;*/
    }
}
/* ======Side Bar Buttons======= */

.sidebar {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 50;
    background-color: white;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}


@@media (min-width: 640px) {
    .sidebar {
        bottom: auto;
        top: 69.333333%;
        left: 1rem;
    }
}

.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.sidebar-btn {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    border-radius: 0.5rem; /* rounded-lg */
    cursor: pointer;
    transition: none;
}

    .sidebar-btn i {
        font-size: 1.25rem;
        margin-right: 0.75rem;
    }

    .sidebar-btn span {
        white-space: nowrap;
    }

.sidebar-btn {
    color: var(--brand-green);
}




    .sidebar-btn.active {
        background-color: #005b41;
        color: white;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }


        .sidebar-btn.active:hover {
            background-color: green;
        }



.extra-bold {
    font-weight: 900 !important;
}