/* style.css - Mobile First Hall Booking System */
:root {
    --primary: #ff6600;
    --primary-light: #ff9933;
    --primary-dark: #e55a00;
    --secondary: #ffd700;
    --light-bg: #fffaf0;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --border-radius: 12px;
}

/* Remove number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--light-bg);
    color: #333;
    line-height: 1.6;
    padding-bottom: 80px;
}

/* Navigation */
nav.sticky-top {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    padding: 1rem;
}

.nav-back-btn {
    background: white;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-back-btn:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: relative;
    margin: 1rem 0;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: #e0e0e0;
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Cards */
.modern-card {
    background: white;
    border-radius: var(--border-radius);
    margin: 1rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-title h4 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
}

.card-title p {
    margin: 0.25rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

/* ===== VENUE CARD DESIGN (Like your screenshot) ===== */
.venue-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.venue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.venue-card.selected {
    border: 2px solid #ff6600 !important;
    background-color: rgba(255, 102, 0, 0.05) !important;
}

.venue-card.selected::before {
    content: '✓ Selected';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Image Section */
.venue-image-container {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.venue-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.venue-card:hover .venue-image {
    transform: scale(1.05);
}

.venue-image-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-image-placeholder i {
    font-size: 48px;
    color: white;
    opacity: 0.8;
}

/* Content Section */
.venue-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Venue Name */
.venue-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Capacity */
.venue-capacity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 1rem;
}

.venue-capacity i {
    color: var(--primary);
    font-size: 18px;
}

/* Features List */
.venue-features {
    margin-bottom: 24px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.95rem;
    color: #4a5568;
}

.feature-item i {
    color: #48bb78;
    font-size: 14px;
    flex-shrink: 0;
}

/* More Features Button */
.more-features-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    margin-top: 8px;
}

.more-features-btn:hover {
    color: var(--primary-dark);
}

.more-features-btn[aria-expanded="true"] .show-more {
    display: none;
}

.more-features-btn[aria-expanded="true"] .show-less {
    display: inline !important;
}

.select-venue-btn {
    background: #f0f0f0 !important;
    color: #333 !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.select-venue-btn:hover {
    background: #e0e0e0 !important;
    transform: translateY(-2px) !important;
}

.select-venue-btn:active {
    transform: translateY(0);
}

.select-venue-btn i {
    transition: transform 0.3s ease;
}

.select-venue-btn:hover i {
    transform: translateX(4px);
}

.venue-card.selected .select-venue-btn {
    background: linear-gradient(135deg, #ff6600, #ff8533) !important;
    color: white !important;
    font-weight: bold !important;
}

.venue-card.selected .select-venue-btn:hover {
    background: linear-gradient(135deg, #ff8533, #ff6600) !important;
}

.venue-card.selected .select-venue-btn .btn-text::before {
    content: '✓ ';
    margin-right: 4px;
}

/* Grid Layout for Venue Cards */
#hallSelectionContainer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

/* ===== VENUE ROW (horizontal card) ===== */
.venue-row {
    display: flex;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #e8e8e8;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.venue-row:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(255,102,0,0.15);
    transform: translateY(-2px);
}

.venue-row--selected {
    border-color: var(--primary) !important;
    background: #fffaf6;
    box-shadow: 0 4px 16px rgba(255,102,0,0.2) !important;
}

/* Image */
.venue-row__image {
    width: 200px;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.venue-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.venue-row:hover .venue-row__image img {
    transform: scale(1.05);
}

.venue-row__image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6600 0%, #764ba2 100%);
}

.venue-row__image-placeholder i {
    font-size: 44px;
    color: white;
    opacity: 0.85;
}

.venue-row__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Body */
.venue-row__body {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.venue-row__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.venue-row__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.3;
}

.venue-row__capacity {
    font-size: 0.8rem;
    color: #718096;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f7f7f7;
    padding: 4px 10px;
    border-radius: 20px;
}

.venue-row__capacity i {
    color: var(--primary);
}

/* Feature tags */
.venue-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.venue-tag {
    font-size: 0.75rem;
    color: #4a5568;
    background: #f0f4f8;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.venue-tag i {
    color: #48bb78;
    font-size: 0.7rem;
}

.venue-tag--more {
    color: var(--primary);
    background: #fff3eb;
}

/* Select button */
.venue-row__btn {
    align-self: flex-start;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: 4px;
}

.venue-row__btn:hover {
    background: var(--primary-dark);
    transform: translateX(2px);
}

.venue-row__btn--selected {
    background: #38a169;
}

.venue-row__btn--selected:hover {
    background: #2f855a;
    transform: none;
}

/* Mobile: stack image on top */
@media (max-width: 768px) {
    .venue-row {
        flex-direction: column;
    }

    .venue-row__image {
        width: 100%;
        min-width: unset;
        height: 180px;
    }

    .venue-row__image-placeholder {
        min-height: 180px;
    }

    .venue-row__body {
        padding: 14px 16px;
    }

    .venue-row__btn {
        width: 100%;
        justify-content: center;
    }

    .venue-row__capacity {
        white-space: normal;
    }
}

/* ===== ADD THESE MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  /* Make venue cards smaller on mobile */
  .venue-card {
    height: auto !important;
    min-height: 280px;
    margin-bottom: 12px;
  }
  
  .venue-card .venue-image-container {
    height: 120px !important;
  }
  
  .venue-card .card-body {
    padding: 12px !important;
  }
  
  .venue-card .card-title {
    font-size: 1rem !important;
    margin-bottom: 4px !important;
  }
  
  .venue-card .mb-3 {
    margin-bottom: 8px !important;
  }
  
  .venue-card .bi-people {
    font-size: 0.9rem;
  }
  
  .venue-card ul {
    font-size: 0.8rem !important;
    margin-bottom: 4px !important;
  }
  
  .venue-card li {
    margin-bottom: 2px !important;
  }
  
  .select-venue-btn {
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    margin-top: 4px !important;
  }
  
  /* Single column on mobile */
  #hallSelectionContainer {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
}

/* Ultra-compact for very small phones */
@media (max-width: 480px) {
  .venue-card {
    min-height: 240px !important;
  }
  
  .venue-card .venue-image-container {
    height: 100px !important;
  }
  
  .venue-card .card-body {
    padding: 8px !important;
  }
  
  .venue-card .card-title {
    font-size: 0.9rem !important;
  }
  
  .venue-card .bi-people {
    font-size: 0.8rem !important;
  }
  
  .venue-card span {
    font-size: 0.75rem !important;
  }
  
  .venue-card [style*="border-radius: 12px"] {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }
  
  .select-venue-btn {
    padding: 5px 10px !important;
    font-size: 0.8rem !important;
  }
}

/* Tablet + desktop: keep single column */
@media (min-width: 769px) {
  #hallSelectionContainer {
    display: flex !important;
    flex-direction: column !important;
  }
}




/*new*/




/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-label.required::after {
    content: ' *';
    color: #dc3545;
}

.form-control, .form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
    outline: none;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-right: none;
    padding: 0.875rem 1rem;
    border-radius: 8px 0 0 8px;
    color: #666;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
}

/* ===== RESPONSIVE CALENDAR FIXES ===== */
.calendar-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.calendar-table {
    width: 100%;
    min-width: 300px;
    border-collapse: collapse;
    margin: 0 auto;
}

.calendar-table th {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
    text-align: center;
    color: #666;
    font-weight: 600;
    border-bottom: 1px solid #eaeaea;
    white-space: nowrap;
}

.calendar-table td {
    padding: 0.25rem;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    height: 60px;
    width: calc(100% / 7);
    position: relative;
    border: 1px solid transparent;
}

/* Day number styling */
.day-number {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Status dot indicators */
.status-dot {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-dot--available {
    background-color: #28a745;
}

.status-dot--partial {
    background-color: #ffc107;
}

.status-dot--booked {
    background-color: #dc3545;
}

.status-dot--mandir {
    width: auto;
    height: auto;
    font-size: 0.7rem;
    background: none;
    bottom: 3px;
}

/* Cell states */
.calendar-day.available:hover:not(.selected) {
    background-color: #f8f9fa;
    border-color: #e0e0e0;
}

.calendar-day.selected {
    background-color: rgba(255, 102, 0, 0.1) !important;
    border: 2px solid #ff6600 !important;
}

.calendar-day.selected .day-number {
    color: #ff6600;
    font-weight: 700;
}

.calendar-day.today .day-number {
    background-color: #ff6600;
    color: white !important;
    border-radius: 50%;
    width: 26px;
    height: 26px;
}

.calendar-day.past {
    opacity: 0.5;
    cursor: not-allowed;
}

.calendar-day.past .day-number {
    color: #999;
}

.calendar-day.booked,
.calendar-day.mandir-blocked {
    cursor: not-allowed;
    opacity: 0.7;
}

.calendar-day.mandir-blocked {
    background-color: #fff8e1 !important;
}

.calendar-day.partially-booked {
    background-color: #fff3cd !important;
}

/* Calendar legend */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.8rem;
}

.calendar-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.25rem 0.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #eaeaea;
}

.calendar-legend .status-dot {
    position: static;
    transform: none;
    flex-shrink: 0;
}

/* Calendar header */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 576px) {
    .calendar-header {
        flex-direction: row;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .modern-card {
        margin: 0.5rem 0;
        padding: 1rem;
    }

    .calendar-container {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }

    .calendar-table th {
        font-size: 0.75rem;
        padding: 0.4rem 0.15rem;
    }

    .calendar-table td {
        height: 46px;
        padding: 0.15rem;
    }

    .day-number {
        font-size: 0.85rem;
        width: 22px;
        height: 22px;
    }

    .calendar-day.today .day-number {
        width: 24px;
        height: 24px;
    }

    .calendar-legend {
        font-size: 0.75rem;
        gap: 6px;
        padding: 8px;
    }

    .calendar-legend .legend-item {
        flex: 0 0 calc(50% - 6px);
    }
}

@media (max-width: 576px) {
    .modern-card {
        margin: 0.4rem 0;
        padding: 0.875rem;
    }

    .calendar-table th {
        font-size: 0.7rem;
        padding: 0.35rem 0.1rem;
    }

    .calendar-table td {
        height: 42px;
        padding: 0.1rem;
    }

    .day-number {
        font-size: 0.8rem;
        width: 20px;
        height: 20px;
    }

    .calendar-day.today .day-number {
        width: 22px;
        height: 22px;
    }
    
    .calendar-legend {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .calendar-legend .legend-item {
        width: 100%;
        justify-content: center;
    }
}

/* Service Items */
.service-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(255,153,51,0.1);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255,102,0,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.service-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-check.form-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-check-input {
    width: 3rem;
    height: 1.5rem;
}

.form-check-label {
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.quantity-input {
    width: 60px;
    text-align: center;
    font-weight: 600;
}

/* Summary */
.booking-summary {
    position: sticky;
    bottom: 1rem;
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    margin: 1rem;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-items {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #e0e0e0;
    font-size: 1.25rem;
    font-weight: 700;
}

.total-amount {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Buttons */
.btn-booking {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-booking:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,102,0,0.3);
}

.btn-booking:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Mobile Summary */
.mobile-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid var(--primary-light);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-summary.show {
    transform: translateY(0);
}

.mobile-summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.mobile-total h6 {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.mobile-total h4 {
    margin: 0.25rem 0 0 0;
    color: var(--primary);
}

.mobile-summary .btn-booking {
    margin: 0;
    padding: 0.75rem 1.5rem;
    flex: 1;
    max-width: 200px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: white;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-left: 4px solid var(--primary);
    animation: slideIn 0.3s ease;
    max-width: 350px;
}

.toast.success {
    border-left-color: #198754;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.warning {
    border-left-color: #ffc107;
}

.toast.info {
    border-left-color: #0dcaf0;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,102,0,0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Timeslot Styles */
.timeslot-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--card-shadow);
}

.timeslot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.timeslot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.timeslot-option {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.timeslot-option:hover:not(.booked):not(.past):not(.mandir-blocked) {
    border-color: var(--primary-light);
    background: #fff;
    transform: translateY(-2px);
}

.timeslot-option.selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

.timeslot-option.booked {
    background: #fee2e2;
    color: #991b1b;
    cursor: not-allowed;
    opacity: 0.7;
}

.timeslot-option.mandir-blocked {
    background: #fff8e1;
    border: 2px solid #ff9800;
    color: #5d4037;
    cursor: not-allowed;
}

.timeslot-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.timeslot-time {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.timeslot-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.timeslot-option.selected .timeslot-price,
.timeslot-option.selected .timeslot-time,
.timeslot-option.selected .timeslot-duration,
.timeslot-option.selected .timeslot-available-badge,
.timeslot-option.selected .full-day-badge {
    color: rgba(255, 255, 255, 0.9);
}

.timeslot-option .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.7rem;
    padding: 2px 6px;
}

/* Utility Classes */
.text-primary { color: var(--primary); }
.text-success { color: #198754; }
.text-danger { color: #dc3545; }
.text-muted { color: #666; }
.text-center { text-align: center; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* Validation States */
.is-valid {
    border-color: #198754 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.valid-feedback {
    color: #198754;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .modern-card {
        margin: 0.75rem;
        padding: 1.25rem;
    }
    
    .mobile-summary-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .mobile-summary .btn-booking {
        max-width: none;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        margin: 0 auto;
    }
    
    .service-controls {
        flex-wrap: nowrap;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .booking-summary {
        position: sticky;
        top: 2rem;
    }
}

/* Print Styles */
@media print {
    .mobile-summary,
    .nav-back-btn,
    .btn-booking:not(.print-button) {
        display: none !important;
    }
    
    .modern-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
}

/* Collapse Animation */
.collapse {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
    max-height: 0;
}

.collapse.show {
    max-height: 500px;
}

/* Venue Card Animation */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.venue-card {
    animation: cardAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.venue-card:nth-child(1) { animation-delay: 0.1s; }
.venue-card:nth-child(2) { animation-delay: 0.2s; }
.venue-card:nth-child(3) { animation-delay: 0.3s; }
.venue-card:nth-child(4) { animation-delay: 0.4s; }
.venue-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Timeslots */
@media (max-width: 768px) {
    .timeslot-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }
    
    .timeslot-option {
        padding: 0.75rem 0.5rem;
    }
}

/* Ensure proper grid layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6, .col-lg-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}   

/* Fix for venue cards grid */
#hallSelectionContainer {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
}

/* Ensure cards are properly sized */
.venue-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: all 0.3s ease !important;
}

.venue-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Make sure images display properly */
.venue-image-container {
    position: relative !important;
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
}

.venue-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.venue-card:hover .venue-image-container img {
    transform: scale(1.05) !important;
}

/* Force grid columns to work properly */
.row {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 20px !important;
    margin: 0 !important;
}

/* Override any Bootstrap issues */
.col-md-6, .col-lg-4 {
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
}

@media (max-width: 768px) {
    #hallSelectionContainer,
    .row {
        grid-template-columns: 1fr !important;
    }
}

/* Night slot special styling when Full Day is booked */
.night-available-badge {
    font-size: 0.7rem;
    color: #0c5460;
    background: #d1ecf1;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 5px;
    display: inline-block;
}

/* Full Day slot styling */
/* ── Slot accent colours ── */
.timeslot-option {
    border-width: 2px !important;
}

/* Full Day — gold */
.timeslot-option[data-slot="full_day"] {
    border-color: #ffc107 !important;
    background: linear-gradient(135deg, #fff9e6, #fff) !important;
}
.timeslot-option[data-slot="full_day"] .timeslot-name { color: #856404; font-weight: 700; }
.timeslot-option[data-slot="full_day"] .timeslot-icon::before { content: "☀️"; }

/* Morning — sky blue */
.timeslot-option[data-slot="morning"] {
    border-color: #0ea5e9 !important;
    background: linear-gradient(135deg, #f0f9ff, #fff) !important;
}
.timeslot-option[data-slot="morning"] .timeslot-name { color: #0369a1; font-weight: 700; }
.timeslot-option[data-slot="morning"] .timeslot-icon::before { content: "🌅"; }

/* Afternoon — warm orange */
.timeslot-option[data-slot="afternoon"] {
    border-color: #f97316 !important;
    background: linear-gradient(135deg, #fff7ed, #fff) !important;
}
.timeslot-option[data-slot="afternoon"] .timeslot-name { color: #c2410c; font-weight: 700; }
.timeslot-option[data-slot="afternoon"] .timeslot-icon::before { content: "🌤"; }

/* Night — deep purple */
.timeslot-option[data-slot="night"] {
    border-color: #7c3aed !important;
    background: linear-gradient(135deg, #f5f3ff, #fff) !important;
}
.timeslot-option[data-slot="night"] .timeslot-name { color: #5b21b6; font-weight: 700; }
.timeslot-option[data-slot="night"] .timeslot-icon::before { content: "🌙"; }

/* Selected state overrides accent */
.timeslot-option.selected[data-slot],
.timeslot-option.selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border-color: var(--primary) !important;
}
.timeslot-option.selected .timeslot-name,
.timeslot-option.selected .timeslot-time,
.timeslot-option.selected .timeslot-price,
.timeslot-option.selected .timeslot-duration,
.timeslot-option.selected .timeslot-available-badge,
.timeslot-option.selected .full-day-badge {
    color: rgba(255,255,255,0.95) !important;
}

.full-day-badge {
    font-size: 0.7rem;
    color: #856404;
    background: #ffeeba;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 5px;
    display: inline-block;
}

/* Disabled slots */
.timeslot-option.disabled {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
}

.timeslot-option.disabled .timeslot-name,
.timeslot-option.disabled .timeslot-time,
.timeslot-option.disabled .timeslot-price {
    color: #adb5bd;
}

/* Availability summary */
.timeslot-availability-summary {
    margin-top: 15px;
}

.timeslot-availability-summary .alert {
    margin-bottom: 0;
    padding: 12px 15px;
    border-radius: 8px;
}

.timeslot-availability-summary ul {
    padding-left: 20px;
    margin-top: 5px;
}


/* Enhanced Features Styling */
.venue-card .features-section {
  margin-top: 10px;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

.venue-card .features-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: #ff6600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.venue-card .features-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.venue-card .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #4a5568;
}

.venue-card .feature-item i {
  color: #28a745;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Hover effect for feature items */
.venue-card .feature-item:hover {
  color: #ff6600;
  transition: color 0.2s ease;
}

.venue-card .feature-item:hover i {
  color: #ff6600;
  transition: color 0.2s ease;
}

/* Enhanced Features Styling */
.features-section {
  margin-top: 12px;
  border-top: 1px dashed #e0e0e0;
  padding-top: 10px;
}

.features-section::-webkit-scrollbar {
  width: 4px;
}

.features-section::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.features-section::-webkit-scrollbar-thumb {
  background: #ff6600;
  border-radius: 4px;
}

.features-section::-webkit-scrollbar-thumb:hover {
  background: #e55a00;
}

.features-list {
  max-height: 120px;
  overflow-y: auto;
  padding-right: 6px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.2s ease;
}

.feature-item:hover {
  background-color: #fff9f0;
  padding-left: 4px;
  border-radius: 4px;
}

.feature-item:hover i {
  color: #ff6600 !important;
  transform: scale(1.1);
}

.feature-item i {
  transition: all 0.2s ease;
}

.feature-item span {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.4;
}

/* Make the venue card slightly taller to accommodate features */
.venue-card {
  min-height: 450px !important;
  transition: all 0.3s ease;
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 102, 0, 0.15);
}

.venue-card.selected {
  border-color: #ff6600 !important;
  background-color: rgba(255, 102, 0, 0.02);
}

/* Select button styling */
.select-venue-btn {
  width: 100%;
  padding: 10px;
  background: #ff6600;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  margin-top: 12px;
  cursor: pointer;
}

.select-venue-btn:hover {
  background: #e55a00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.venue-card.selected .select-venue-btn {
  background: #28a745;
}

.venue-card.selected .select-venue-btn:hover {
  background: #218838;
}

/* ===== EXTRA SERVICES LIST ===== */
.extras-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.extra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
    transition: background 0.2s ease;
}

.extra-row:last-child {
    border-bottom: none;
}

.extra-row.extra-active {
    background: #fff8f0;
}

.extra-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.extra-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.extra-desc {
    font-size: 0.8rem;
    color: #999;
}

.extra-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.extra-price {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    min-width: 55px;
    text-align: right;
}

.extra-subtotal {
    font-size: 0.85rem;
    min-width: 36px;
    text-align: right;
}

/* Toggle switch */
.extra-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
    margin: 0;
}

.extra-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.extra-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ddd;
    border-radius: 24px;
    transition: background 0.2s ease;
}

.extra-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.extra-toggle input:checked + .extra-toggle-slider {
    background: var(--primary);
}

.extra-toggle input:checked + .extra-toggle-slider::before {
    transform: translateX(20px);
}

/* Quantity controls */
.extra-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.extra-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    color: #333;
    padding: 0;
}

.extra-qty-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.extra-qty-input {
    width: 40px;
    height: 28px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0;
    background: white;
}

/* ===== CALENDAR OVERLAY (unlock gate) ===== */
.calendar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: all;
}

.calendar-overlay.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.calendar-overlay-content {
    text-align: center;
    padding: 2rem;
    color: #555;
}

.calendar-overlay-content .bi-lock-fill {
    color: var(--primary);
    opacity: 0.7;
}