.reservation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Progress Bar */
.progress-wrapper {
    margin-bottom: 2rem;
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    transition: width 0.3s ease;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    margin: 0 -15px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0 15px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.step.completed:not(:last-child)::after {
    background-color: #28a745;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background-color: #007bff;
    color: white;
}

.step.completed .step-number {
    background-color: #28a745;
    color: white;
}

.step-label {
    font-size: 0.8rem;
    text-align: center;
    color: #6c757d;
}

.step.active .step-label {
    color: #007bff;
    font-weight: 600;
}

.step.completed .step-label {
    color: #28a745;
}

/* Step Content */
.step-content {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.step-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Reservation Info */
.reservation-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Slot Selection */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.date-group {
    margin-bottom: 2rem;
}

.date-header {
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.day-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.slot-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slot-card:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

.slot-card.selected {
    border-color: #28a745;
    background: #f8fff9;
}

.slot-time {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.slot-location {
    margin-bottom: 0.75rem;
}

.slot-capacity {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.price-info {
    background: #fff3cd;
    color: #856404;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

/* Menu Selection */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.menu-item:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.1);
}

.item-info {
    flex: 1;
    margin-right: 1rem;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.item-name {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.item-price {
    font-weight: bold;
    color: #28a745;
    font-size: 1.1rem;
}

.item-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

.badge-info {
    background-color: #17a2b8;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.item-controls {
    display: flex;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-input {
    width: 60px;
    text-align: center;
}

.qty-minus, .qty-plus {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Order Summary */
.sticky-top {
    top: 2rem;
}

#orderSummary {
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.total-section {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Registration */
.reservation-summary h6 {
    color: #2c3e50;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.reservation-summary h6:first-child {
    margin-top: 0;
}

.order-items {
    font-size: 0.9rem;
}

.total-summary {
    font-size: 0.9rem;
}

/* Success/Error Messages */
.success-message, .error-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon, .error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-icon {
    color: #28a745;
}

.error-icon {
    color: #dc3545;
}

/* QR Code */
#qr-code {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Form Validation */
.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .reservation-container {
        padding: 1rem 0.5rem;
    }
    
    .step-indicators {
        margin: 0 -10px;
    }
    
    .step {
        padding: 0 10px;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .day-slots {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .item-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .item-controls {
        justify-content: center;
    }
}

/* Animations */
.slot-card.selecting {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.order-item.new {
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Print Styles */
@media print {
    .step-indicators, .btn, .card-footer, .alert {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    .reservation-container {
        max-width: none;
        padding: 0;
    }
    
    .success-icon {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card {
        page-break-inside: avoid;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .reservation-info {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        color: white;
    }
    
    .slot-card {
        background: #2c3e50;
        border-color: #34495e;
        color: white;
    }
    
    .slot-card:hover {
        border-color: #007bff;
    }
    
    .menu-item {
        background: #2c3e50;
        border-color: #34495e;
        color: white;
    }
}