/* Menu Page Custom Styles */

/* Menu Partial Image Styles */
.menu-partial-image {
    object-fit: cover;
}

/* Form Check Styles */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.card-header {
    border-bottom: 1px solid rgba(0,0,0,.125);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-body {
        max-height: 300px !important;
    }
}

/* Date Picker Styles */
.date-picker-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 320px;
    max-width: 350px;
    position: absolute;
    z-index: 1050;
}

/* Calendar Header */
.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.date-picker-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.date-picker-nav-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6c757d;
    position: relative;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.date-picker-nav-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
    transform: translateY(-1px);
}

.date-picker-nav-btn:active {
    transform: translateY(0);
}

.date-picker-nav-btn i {
    font-size: 16px;
    line-height: 1;
    display: block;
    color: inherit;
    transition: all 0.2s ease;
}

.date-picker-nav-btn:hover i {
    transform: scale(1.2);
    color: #1976d2;
}

/* Calendar Grid */
.calendar-grid {
    width: 100%;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 8px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    padding: 8px 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    position: relative;
    min-height: 40px;
}

.calendar-day:hover {
    background: #e3f2fd;
    color: #1976d2;
    transform: scale(1.05);
}

.calendar-day.available {
    background: #ffffff;
    border: 1px solid #e9ecef;
}

.calendar-day.available:hover {
    background: #e3f2fd;
    border-color: #1976d2;
    color: #1976d2;
}

.calendar-day.selected {
    background: #1976d2;
    color: #ffffff;
    border-color: #1976d2;
    font-weight: 600;
}

.calendar-day.selected:hover {
    background: #1565c0;
    transform: scale(1.05);
}

.calendar-day.booked {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day.booked:hover {
    background: #ffebee;
    color: #d32f2f;
    transform: none;
}

.calendar-day.past {
    background: #f8f9fa;
    color: #adb5bd;
    border: 1px solid #e9ecef;
    cursor: not-allowed;
}

.calendar-day.past:hover {
    background: #f8f9fa;
    color: #adb5bd;
    transform: none;
}

.calendar-day.other-month {
    color: #adb5bd;
    background: transparent;
}

.calendar-day.today {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffcc02;
    font-weight: 600;
}

.calendar-day.today:hover {
    background: #ffe0b2;
    color: #ef6c00;
}

/* Legend */
.date-picker-legend {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #6c757d;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    border: 1px solid rgba(0,0,0,0.1);
}

.legend-color.available {
    background: #4caf50;
}

.legend-color.booked {
    background: #f44336;
}

.legend-color.today {
    background: #ff9800;
}

/* Date Input */
#selectedDate {
    cursor: pointer;
    background-color: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
}

#selectedDate:hover {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

#selectedDate:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
    outline: none;
}

#selectedDate::after {
    content: '📅';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 576px) {
    .date-picker-container {
        min-width: 280px;
        left: 10px !important;
        right: 10px;
        width: calc(100vw - 20px);
        padding: 15px;
    }
    
    .calendar-day {
        min-height: 35px;
        font-size: 13px;
    }
    
    .date-picker-title {
        font-size: 16px;
    }
}

/* Menu Customization Section */
#menuCustomizationSection {
    display: none;
}

#bookNowSection {
    display: none;
}

/* Animation for showing sections */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom button styles */
.btn-customize {
    transition: all 0.3s ease;
}

.btn-customize:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Menu item cards */
.menu-item-card {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.menu-item-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Loading spinner */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading-spinner.show {
    display: block;
}

/* Date picker legend */
.date-picker-legend {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Responsive date picker */
@media (max-width: 576px) {
    .date-picker-container {
        min-width: 280px;
        left: 10px !important;
        right: 10px;
        width: calc(100vw - 20px);
    }
}

/* ========== Menu/Index.cshtml Styles ========== */

/* Service Type Buttons */
.btn-lg {
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border: none;
}

.btn-lg small {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Services Showcase Section */
#servicesShowcase {
    animation: fadeInSection 0.5s ease-in;
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-item .stat-icon {
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: rotate(5deg);
}

.feature-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.category-preview {
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.bg-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

@media (max-width: 768px) {
    .stat-item h4 {
        font-size: 1.5rem;
    }
    .feature-card {
        margin-bottom: 1rem;
    }
}

/* ========== Menu/Browse.cshtml Styles ========== */

/* Custom Dropdown Styles with Visible Scrollbar */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-height: 38px;
}

.custom-select-trigger:hover {
    border-color: #86b7fe;
}

.custom-select-trigger.active {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.custom-select-trigger i {
    transition: transform 0.3s ease;
    color: #6c757d;
}

.custom-select-trigger.active i {
    transform: rotate(180deg);
}

/* Dropdown Menu with Scrollbar */
.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 0.25rem;
    display: none;
}

.custom-select-dropdown.show {
    display: block;
}

/* Custom Scrollbar for Dropdown */
.custom-select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0.375rem 0.375rem 0;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Dropdown Options */
.custom-select-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.custom-select-option:hover {
    background-color: #f8f9fa;
}

.custom-select-option.selected {
    background-color: #0d6efd;
    color: #fff;
}

.custom-select-option:first-child {
    border-radius: 0.375rem 0.375rem 0 0;
}

.custom-select-option:last-child {
    border-radius: 0 0 0.375rem 0.375rem;
}

.menu-item-card {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.menu-item-card:last-child {
    border-bottom: none;
}

.category-chip {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    color: #495057;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.category-chip:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.category-chip.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.category-chip.active:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.category-chip .chip-close {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.category-chip .chip-close:hover {
    opacity: 1;
}

.menu-loading-spinner {
    display: none;
}

.menu-card-body-scroll {
    max-height: 550px;
    overflow-y: auto;
}

.menu-customization-section-hidden {
    display: none;
}

/* Ensure columns are displayed side by side */
#menuCustomizationSection.show {
    display: flex !important;
    flex-wrap: wrap;
}

#menuCustomizationSection > .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
    padding-right: calc(var(--bs-gutter-x, 0.75rem));
    padding-left: calc(var(--bs-gutter-x, 0.75rem));
}

/* ========== RESPONSIVE DESIGN FOR ALL DEVICES ========== */

/* Mobile devices - Stack columns vertically */
@media (max-width: 768px) {
    #menuCustomizationSection > .col-md-4 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Adjust card headers for mobile */
    .card-header h5 {
        font-size: 1rem;
    }
    
    /* Better touch targets for mobile */
    .menu-item-card {
        padding: 1rem;
    }
    
    .form-check-input {
        width: 1.2em;
        height: 1.2em;
    }
    
    /* Category chips responsive */
    .category-chip {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Tablets - Two columns */
@media (min-width: 769px) and (max-width: 991px) {
    #menuCustomizationSection > .col-md-4:nth-child(1),
    #menuCustomizationSection > .col-md-4:nth-child(2) {
        width: 50%;
    }
    
    #menuCustomizationSection > .col-md-4:nth-child(3) {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Large tablets and small desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    #menuCustomizationSection > .col-md-4 {
        width: 33.333333%;
    }
}

/* Large desktops */
@media (min-width: 1200px) {
    #menuCustomizationSection > .col-md-4 {
        width: 33.333333%;
    }
    
    .menu-card-body-scroll {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    /* Hide icon in Next button on mobile */
    #loadMenuBtn i {
        display: none;
    }
    
    /* Mobile custom dropdown adjustments */
    .custom-select-option {
        padding: 0.75rem 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .custom-select-dropdown {
        max-height: 200px;
    }
}

/* ========== Booking Summary Modal Styles ========== */

.booking-summary-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.booking-summary-section:last-of-type {
    border-bottom: none;
}

.booking-summary-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0d6efd;
    width: 100%;
}

.booking-summary-title .badge {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Menu categories container - compact table layout */
.menu-categories-container {
    display: block;
    margin-top: 1rem;
}

/* Menu Category Summary - Table Row Style */
.menu-categories-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-category-summary {
    border: 1px solid #e0e0e0;
    border-bottom: none;
    display: flex;
    min-height: 60px;
    transition: all 0.3s ease;
    background: #fff;
}

.menu-category-summary:last-child {
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}

.menu-category-summary:first-child {
    border-radius: 8px 8px 0 0;
}

.menu-category-summary:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.menu-category-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    padding: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid #dee2e6;
    min-width: 150px;
    width: 20%;
    font-size: 1rem;
    position: relative;
}

.menu-category-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #dee2e6, transparent);
}

.menu-category-count {
    display: none; /* Hide count in compact layout */
}

.menu-items-list {
    padding: 1rem;
    background: white;
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #495057;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.menu-items-list:hover {
    background: #f8f9fa;
}

/* Table styling for menu items */
.menu-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.menu-items-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.menu-items-table th {
    background: #ffc107;
    color: #856404;
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0a800;
}

.menu-items-table tbody tr {
    transition: all 0.2s ease;
}

.menu-items-table tbody tr:nth-child(odd) {
    background: #fafafa;
}

.menu-items-table tbody tr:nth-child(even) {
    background: white;
}

.menu-items-table tbody tr:hover {
    background: #fffbf0;
}

.menu-items-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    color: #495057;
}

.menu-items-table td:first-child {
    width: 40px;
    text-align: center;
    font-weight: 600;
    color: #ffc107;
}

.menu-items-table td:last-child {
    width: 100%;
}

/* Empty state styling */
.menu-items-empty {
    padding: 0.5rem;
    color: #6c757d;
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.menu-items-empty:hover {
    opacity: 1;
}

/* Custom scrollbar for menu items list */
.menu-items-list::-webkit-scrollbar {
    width: 6px;
}

.menu-items-list::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.menu-items-list::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 3px;
}

.menu-items-list::-webkit-scrollbar-thumb:hover {
    background: #e0a800;
}

/* Responsive design for compact menu layout */
@media (max-width: 768px) {
    .menu-categories-container {
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    }
    
    .menu-category-summary {
        flex-direction: column;
        min-height: auto;
        border-radius: 0;
    }
    
    .menu-category-summary:first-child {
        border-radius: 6px 6px 0 0;
    }
    
    .menu-category-summary:last-child {
        border-radius: 0 0 6px 6px;
    }
    
    .menu-category-header {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        min-width: auto;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    .menu-category-header::after {
        display: none;
    }
    
    .menu-items-list {
        padding: 0.75rem;
        min-height: 50px;
        font-size: 0.9rem;
    }
    
    .menu-items-empty {
        font-size: 0.8rem;
        padding: 0.25rem;
    }
    
    /* Title with count mobile optimization */
    .booking-summary-title {
        font-size: 1rem;
        flex-direction: row;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.75rem;
    }
    
    .booking-summary-title .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
        align-self: center;
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .menu-categories-container {
        border-radius: 4px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }
    
    .menu-category-summary:first-child {
        border-radius: 4px 4px 0 0;
    }
    
    .menu-category-summary:last-child {
        border-radius: 0 0 4px 4px;
    }
    
    .menu-category-header {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .menu-items-list {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    /* Address section mobile optimization */
    .address-section .booking-summary-section {
        padding: 1rem;
        margin: 0 -0.5rem;
    }
    
    .address-section .form-control,
    .address-section .form-select {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .address-section .form-label {
        font-size: 0.8rem;
    }
    
    #addAddressBtn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Event Detail Cards */
.booking-detail-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.booking-detail-card:hover {
    background: #e9ecef;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.booking-detail-icon {
    font-size: 1.75rem;
    color: #0d6efd;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.booking-detail-content {
    flex: 1;
}

.booking-detail-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.booking-detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
}



/* Address Section Styles */
.address-section {
    margin-top: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.address-section .booking-summary-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.address-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.address-section .form-control,
.address-section .form-select {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.address-section .form-control:focus,
.address-section .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.address-section .form-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

#addressCharCount {
    font-weight: 600;
    color: #0d6efd;
}

#addAddressBtn {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#addAddressBtn:hover {
    background: linear-gradient(135deg, #157347 0%, #146c43 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

/* Modal Footer Buttons */
#dynamicBookingBtn {
    min-width: 150px;
    transition: all 0.3s ease;
}

#dynamicBookingBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .booking-detail-card {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
        min-height: 70px;
        margin-bottom: 0.75rem;
        border-radius: 0.75rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .booking-detail-icon {
        margin-bottom: 0;
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .booking-detail-content {
        flex: 1;
        min-width: 0;
        padding-left: 0.75rem;
    }

    .booking-detail-label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
        font-weight: 500;
    }

    .booking-detail-value {
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.2;
    }

    /* Extra small mobile devices */
    @media (max-width: 576px) {
        .booking-detail-card {
            padding: 0.875rem;
            min-height: 65px;
            margin-bottom: 0.5rem;
        }

        .booking-detail-icon {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }

        .booking-detail-content {
            padding-left: 0.625rem;
        }

        .booking-detail-label {
            font-size: 0.7rem;
        }

    .booking-detail-value {
        font-size: 0.95rem;
    }
    
    /* Badge adjustments for extra small screens */
    .booking-summary-title {
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .booking-summary-title .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Mobile-specific improvements for booking cards */
@media (max-width: 768px) {
    .booking-detail-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }
    
    .booking-detail-card:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    
    /* Ensure proper spacing between cards */
    .booking-summary-section .row {
        margin: 0;
    }
    
    .booking-summary-section .col-12 {
        padding: 0;
    }
}

.menu-category-header {
        font-size: 0.875rem;
    }

    .menu-items-table {
        font-size: 0.8125rem;
    }
    
    .menu-items-table th {
        font-size: 0.6875rem;
        padding: 0.4rem 0.5rem;
    }
    
    .menu-items-table td {
        padding: 0.6rem 0.5rem;
    }
    
    /* Stack menu categories vertically on mobile */
    .menu-categories-container {
        grid-template-columns: 1fr;
    }
}