.search-section {
    display: table;
    margin: auto;
}

.shop-map-container {
    background: #f9fafb;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.shop-map-header {
    background: #ffffff;
    border-bottom: 1px solid #e1e5e9;
    padding: 0px 0px 16px 0px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-inputs {
    display: flex;
    gap: 1px;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    width: 100%;
}

.search-field, .location-field, .date-field, .time-field {
    position: relative;
    flex: 1;
    border-right: 1px solid #e5e7eb;
}

.search-field {
    flex: 2;
}

.time-field {
    border-right: none;
}

.search-input {
    border: none;
    padding: 16px 40px 16px 20px;
    font-size: 15px;
    font-weight: 500;
    background: transparent;
    outline: none;
    color: #374151;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 16px;
}

.location-select, .date-input, .time-input {
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    background: transparent;
    outline: none;
    color: #374151;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    flex: 1;
}

.location-select::placeholder,
.date-input::placeholder,
.time-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.menu-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.shop-map-content {
    height: calc(100vh - 80px);
}

.sidebar-section {
    background: #f9fafb;
    height: calc(100vh - 88px);
    overflow-y: auto;
    border-right: 1px solid #e5e7eb;
}

.sidebar-header {
    padding: 24px 20px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.results-count {
    font-size: 16px;
    color: #111827;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.count {
    color: #17c6aa;
    margin-right: 10px;
    font-weight: 700;
}

.filters-btn {
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    transition: all 0.2s ease;
}

.treatment-categories {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 16px;
    position: relative;
}

.category-header {
    padding: 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}

.category-header h6 {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selected-category {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selected-category::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #6b7280;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.category-header.active .selected-category::after {
    transform: rotate(180deg);
}

.categories-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.category-section {
    padding: 12px 0;
}

.category-section:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
}

.category-section-title {
    padding: 8px 16px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #374151;
}

.category-item:hover {
    background: #f9fafb;
}

.category-item.active {
    background: #f0f9ff;
    color: #0369a1;
    font-weight: 500;
}

.category-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #6b7280;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-item.active .category-icon {
    color: #0369a1;
}

.shop-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    gap: 16px;
    border: 1px solid #f3f4f6;
}

.shop-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: #e5e7eb;
}

.shop-card.active {
    border: 2px solid #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 15px rgba(0, 0, 0, 0.1);
}

.shop-image {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 28px;
}

.shop-info {
    flex: 1;
    min-width: 0;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.shop-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    margin-bottom: 6px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.3;
}

.shop-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.rating-score {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    margin-left: 2px;
}

.stars {
    display: flex;
    gap: 1px;
    align-items: center;
}

.stars .fa-star,
.stars .fa-star-half-alt {
    font-size: 14px;
    transition: color 0.2s ease;
}

.stars .fa-star.filled,
.stars .fa-star-half-alt.half-filled {
    color: #f59e0b;
}

.stars .fa-star.empty {
    color: #e5e7eb;
}

.review-count {
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
    margin-left: 2px;
}

.shop-address {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.shop-address i {
    color: #e74c3c;
}

.shop-services {
    margin-bottom: 16px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-item:first-child {
    padding-top: 0;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.service-name {
    font-weight: 500;
    color: #111827;
    font-size: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.service-duration {
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
}

.service-price {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    white-space: nowrap;
}

.more-services {
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
    color: #3b82f6;
    font-weight: 500;
}

.shop-availability {
    margin-bottom: 16px;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 8px;
    border-left: 3px solid #22c55e;
}

.availability-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #166534;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.next-slot {
    margin-left: auto;
    font-weight: 400;
    color: #16a34a;
    font-size: 12px;
}

.shop-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.book-btn {
    flex: 1;
    padding: 12px 16px;
    background: #3b82f6;
    color: white;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.book-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.filters-btn {
    border: 1px solid #ccc !important;
    transition: all 900ms !important;
}

.filters-btn i {
    margin-right: 10px;
}

.view-btn {
    flex: 1;
    padding: 12px 16px;
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.view-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
    text-decoration: none;
    transform: translateY(-1px);
}

.map-section {
    position: relative;
    background: #f9fafb;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
}

.map-container {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-controls button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-controls button:hover {
    background: #f8f9fa;
}

/* Tablet Styles */
@media (max-width: 992px) {
    .shop-map-content {
        flex-direction: column;
    }
    
    .sidebar-section {
        height: 40vh;
        min-height: 300px;
    }
    
    .map-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .shop-card {
        padding: 18px;
    }
    
    .shop-name {
        font-size: 16px;
    }
    
    .service-item {
        font-size: 13px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .search-inputs {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-inputs input,
    .search-inputs select {
        width: 100%;
        margin-bottom: 0;
    }
    
    .shop-map-content {
        flex-direction: column;
    }
    
    .sidebar-section {
        height: 45vh;
        min-height: 280px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .map-section {
        height: 55vh;
        min-height: 350px;
        border-radius: 0;
    }
    
    .shop-card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .shop-image {
        width: 72px;
        height: 72px;
    }
    
    .shop-name {
        font-size: 15px;
        line-height: 1.3;
    }
    
    .shop-rating {
        margin: 8px 0;
    }
    
    .stars {
        font-size: 14px;
    }
    
    .rating-score {
        font-size: 13px;
    }
    
    .review-count {
        font-size: 12px;
    }
    
    .service-item {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .service-duration,
    .service-price {
        font-size: 11px;
    }
    
    .shop-actions {
        margin-top: 12px;
    }
    
    .book-btn,
    .view-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .sidebar-section {
        height: 40vh;
        min-height: 250px;
    }
    
    .map-section {
        height: 60vh;
        min-height: 300px;
    }
    
    .shop-card {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .shop-image {
        width: 60px;
        height: 60px;
    }
    
    .shop-name {
        font-size: 14px;
    }
    
    .stars {
        font-size: 12px;
    }
    
    .rating-score {
        font-size: 12px;
    }
    
    .review-count {
        font-size: 11px;
    }
    
    .service-item {
        font-size: 11px;
        padding: 4px 0;
    }
    
    .service-duration,
    .service-price {
        font-size: 10px;
    }
    
    .book-btn,
    .view-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .more-services {
        font-size: 10px;
    }
}

/* Date Picker Modal Styles */
.date-picker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-picker-container {
    position: fixed;
    top: 160px;
    left: 950px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 24px;
    width: 320px;
    max-width: 90vw;
}

.date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.month-year {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.prev-month, .next-month {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
}

.prev-month:hover, .next-month:hover {
    background: #f3f4f6;
    color: #374151;
}

.quick-select {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.quick-select-btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-select-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.today-btn {
    background: #3b82f6 !important;
    color: white !important;
    border-color: #3b82f6 !important;
}

.today-btn:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day-header {
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    background: #f9fafb;
}

.calendar-day {
    padding: 12px 4px;
    text-align: center;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    background: #f3f4f6;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.empty:hover {
    background: transparent;
}

.calendar-day.today {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
}

.calendar-day.selected {
    background: #3b82f6;
    color: white;
    font-weight: 600;
}

.calendar-day.selected:hover {
    background: #2563eb;
}

input[type=text] {
    border: none;
}

.form-control[readonly] {
    background-color: #fff;
}



/*=====|| FILTER MODAL ||===== */
.leaflet-container a.leaflet-popup-close-button {
    top: 10px;
    right: 10px;
}
.filter_card {
    position: absolute;
    display: none;
    width: 585px;
    top: 250px; 
    left: 1000px; 
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.map_filter_heading {
    background-color: #17c6aa;
    padding-top: 10px;
    padding-bottom: 10px;
}

.map_filter_heading h1 {
    font-size: 18px;
    color: #fff;
    padding-left: 15px;
    margin-bottom: 0px;
}

.filters_btn {
    cursor: pointer;
}

#filter_card {
    display: none;
}

#filter_card.show {
    display: block;
}

.filter_sortby {
    margin-top: 15px;
    padding: 0 15px; 
    font-family: Arial, sans-serif; 
}

.filter_sortby h3 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}

.filter_sortby label {
    display: flex;       
    align-items: center;  
    margin-top: 15px;
    cursor: pointer; 
    font-size: 16px;        
}

.filter_sortby input[type="radio"] {
    width: 25px;
    height: 25px;
    margin-right: 15px; 
    cursor: pointer;       
}

.filter_rate {
    font-family: Arial, sans-serif; 
    margin-top: 15px;
    padding: 0 15px; 
    margin-bottom: 0px;
}

.filter_rate h3 {
    display: block;
    justify-content: space-between;
    margin-top: 0px;
    margin-bottom: 0px;
}

.filter_rate h3 span {
    float: right;
    font-size: 14px;
}

.slider-container {
    margin-top: 10px;
}

.slider-container input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #17c6aa;
    cursor: pointer;
    border: 2px solid #007bff;
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #17c6aa;
    cursor: pointer;
    border: 2px solid #007bff;
}

.slider-value {
    display: inline-block;
    margin-left: 15px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.venue_type {
    margin-top: 15px;
    padding: 0 15px; 
}

.venue_type h3 {
    margin-bottom: 0px;
}

.buttons label {
    padding: 7px 15px;
    margin-right: 15px;
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
    background-color: #fff;
    cursor: pointer;
}

.buttons label.active {
    background-color: #17c6aa;
    color: white;
    border-color: #17c6aa;
}

.buttons label input {
    display: none;
}

.booking_option {
    margin-top: 15px;
    padding: 0px 15px;
}
.booking_option h3 {
    margin-bottom: 0px;
}

.booking_option label {
    padding: 7px 15px;
    margin-right: 15px;
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
    background-color: #fff;
    cursor: pointer;
}

.booking_option label.active {
    background-color: #17c6aa;
    color: white;
    border-color: #17c6aa;
}

.booking_option label input {
    display: none;
}

.filter_data_clear_apply {
    display: table;
    margin: auto;
    padding: 0px 15px 20px 15px;
}

.filter_data_clear_apply {
    display: flex;
    gap: 15px;
}

.filter_data_clear_apply button {
    flex: 1;
    padding: 8px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
    transition: all 900ms ease-in-out;
}

.filter_data_clear_apply button:last-child {
    color: #fff;
    background-color: #17c6aa;
    transition: all 900ms ease-in-out;
}

.filter_data_clear_apply button:hover {
    color: #fff;
    background-color: #000;
}
