/* Bhandara Booking System Styles */
.bhandara-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #fff5ee 0%, #fffbf0 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.bhandara-header {
    text-align: center;
    margin-bottom: 30px;
}

.bhandara-header h1 {
    font-size: 2rem;
    color: #c2410c;
    margin-bottom: 8px;
    font-weight: bold;
}

.bhandara-header p {
    color: #6b7280;
    font-size: 1rem;
}

/* Day Selection */
.day-selection {
    margin-bottom: 30px;
}

.day-selection h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.day-selection h2:before {
    content: "📅";
    font-size: 1.2rem;
}

.day-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.day-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.day-btn:hover {
    background: #e5e7eb;
}

.day-btn.active {
    background: #ea580c;
    color: white;
    border-color: #ea580c;
}

.day-btn.special-day {
    border: 2px solid #fed7aa;
    background: #fff7ed;
}

.day-btn.special-day.active {
    background: #ea580c;
    border-color: #ea580c;
}

.special-day-note {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Current Day Info */
.current-day-info {
    background: linear-gradient(90deg, #fff7ed 0%, #fffbeb 100%);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.day-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-info-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #c2410c;
    margin: 0;
}

.day-info-content p {
    font-size: 0.875rem;
    color: #374151;
    margin: 5px 0 0 0;
}

.slot-status {
    text-align: right;
}

.status-available {
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-available:before {
    content: "✓ ";
}

.status-full {
    background: #fee2e2;
    color: #991b1b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-full:before {
    content: "✗ ";
}

/* Booking Grid */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.bhandara-section, .addon-section {
    border-radius: 8px;
    padding: 20px;
}

.bhandara-section {
    background: #fff7ed;
}

.addon-section {
    background: #fffbeb;
}

.bhandara-section h3, .addon-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.bhandara-section h3 {
    color: #c2410c;
}

.addon-section h3 {
    color: #d97706;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-btn {
    width: 100%;
    text-align: left;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.item-btn:hover:not(:disabled) {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-btn.selected {
    background: #fed7aa;
    color: #9a3412;
    border: 2px solid #ea580c;
}

.addon-section .item-btn.selected {
    background: #fef3c7;
    color: #92400e;
    border: 2px solid #d97706;
}

.item-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
}

.item-btn.used {
    background: #e5e7eb;
    color: #6b7280;
    cursor: not-allowed;
}

.item-btn .check-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ea580c;
}

/* Selection Summary */
.selection-summary {
    background: #f0fdf4;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.selection-summary h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 15px;
}

.selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.selected-item {
    background: #fed7aa;
    color: #9a3412;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.selected-addon {
    background: #fef3c7;
    color: #92400e;
}

.booking-actions {
    display: flex;
    gap: 12px;
}

.book-btn {
    background: #16a34a;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.book-btn:hover:not(:disabled) {
    background: #15803d;
}

.book-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.clear-btn {
    background: #6b7280;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: #4b5563;
}

/* Today's Bookings */
.todays-bookings {
    background: #f0f9ff;
    border-radius: 8px;
    padding: 20px;
}

.bookings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.bookings-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0;
}

.clear-day-btn {
    background: none;
    border: none;
    color: #dc2626;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.875rem;
}

.clear-day-btn:hover {
    color: #b91c1c;
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.no-bookings {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 20px;
    margin: 0;
}

.booking-item {
    background: white;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 15px;
}

.booking-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.booking-time {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.booking-time:before {
    content: "🕒";
}

.booking-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.booking-bhandara {
    background: #fed7aa;
    color: #9a3412;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.booking-addon {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error Messages */
.message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive Design */
@media (max-width: 640px) {
    .bhandara-container {
        padding: 15px;
    }
    
    .day-buttons {
        justify-content: center;
    }
    
    .day-btn {
        padding: 6px 12px;
        font-size: 0.875rem;
    }
    
    .day-info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .book-btn, .clear-btn {
        width: 100%;
    }
}
