/* CSS Additions for Robust Booking System */

/* Time Slots Grid */
#time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.time-slot {
    padding: 1.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.time-slot:hover:not(.disabled) {
    border-color: var(--luxury-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.time-slot.selected {
    border-color: var(--luxury-gold);
    background: var(--luxury-gold);
    color: white;
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    transform: none;
}

.time-slot .time {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time-slot .availability {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

.error-message {
    background: #ffe6e6;
    color: #d00;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #ffcccc;
}

.success-message {
    background: #e6ffe6;
    color: #0a0;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #ccffcc;
}

.no-slots {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 12px;
}

/* Button States */
.btn-step:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-step.enabled {
    opacity: 1;
    cursor: pointer;
}

/* Guest Selector */
.guest-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--luxury-gold);
    background: white;
    color: var(--luxury-gold);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guest-btn:hover {
    background: var(--luxury-gold);
    color: white;
}

#guest-count {
    font-size: 1.5rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

/* Step Indicators */
.step-indicator.completed {
    background: var(--luxury-gold);
    border-color: var(--luxury-gold);
    color: var(--luxury-dark);
}

/* Form Validation Feedback */
.field-valid {
    border-color: #28a745 !important;
    background-color: #f8fff9;
}

.field-invalid {
    border-color: #dc3545 !important;
    background-color: #fff8f8;
}

.form-control {
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    #time-slots {
        grid-template-columns: 1fr;
    }
    
    .guest-controls {
        justify-content: center;
    }
} 