.booking-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.booking-step {
    background: rgba(42, 42, 42, 0.95);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.step-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-header h3 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 300;
}

.step-header .subtitle,
.step-header p {
    color: #999;
    font-size: 16px;
    margin-top: 8px;
}

/* Availability Legend */
.availability-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 14px;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-dot.available {
    background: #22c55e;
}

.legend-dot.partial {
    background: #f97316;
}

.legend-dot.limited {
    background: #ef4444;
}

.legend-dot.unavailable {
    background: #6b7280;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.spinner-large {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(199, 116, 19, 0.2);
    border-top-color: #c77413;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Section Titles */
.section-title {
    color: #c77413;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Date Cards Grid */
.date-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.date-card {
    background: rgba(62, 62, 62, 0.8);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.date-card:hover:not(.disabled) {
    border-color: #c77413;
    background: rgba(74, 74, 74, 0.95);
    transform: translateY(-2px);
}

.date-card.selected {
    background: linear-gradient(145deg, #c77413, #ff8c00);
    border-color: #ffa500;
    transform: translateY(-2px);
}

.date-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.date-card-day {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
}

.date-card-date {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.date-card-month {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 12px;
}

.date-card-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.available {
    background: #22c55e;
}

.status-indicator.partial {
    background: #f97316;
}

.status-indicator.limited {
    background: #ef4444;
}

.status-indicator.unavailable {
    background: #6b7280;
}

/* Time Cards Grid */
.time-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.time-card {
    background: rgba(62, 62, 62, 0.8);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.time-card:hover:not(.disabled) {
    border-color: #c77413;
    background: rgba(74, 74, 74, 0.95);
    transform: translateY(-2px);
}

.time-card.selected {
    background: linear-gradient(145deg, #c77413, #ff8c00);
    border-color: #ffa500;
    transform: translateY(-2px);
}

.time-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.time-card-time {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.time-card-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Guests Selector */
.guests-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.guests-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #c77413;
    background: rgba(62, 62, 62, 0.8);
    color: #fff;
    font-size: 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guests-btn:hover {
    background: #c77413;
    transform: scale(1.05);
}

.guests-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#guests-count {
    width: 100px;
    height: 60px;
    background: rgba(62, 62, 62, 0.8);
    border: 2px solid #c77413;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
}

.price-info {
    text-align: center;
    color: #c77413;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
}

/* Seating Areas */
.seating-areas {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.area-card {
    background: rgba(62, 62, 62, 0.8);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.area-card:hover {
    border-color: #c77413;
}

.area-name {
    color: #c77413;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.tables-grid {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 12px;
    padding: 30px;
    margin: 20px auto 0;
    overflow: auto;
    display: flex;
    justify-content: center;
}

.tables-wrapper {
    position: relative;
    margin: 0 auto;
}

.table-item {
    position: absolute;
    background: linear-gradient(145deg, #5a5a5a, #4a4a4a);
    border: 2px solid #777;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 80px;
    min-height: 80px;
}

.table-item:hover:not(.disabled) {
    background: linear-gradient(145deg, #6a6a6a, #5a5a5a);
    border-color: #c77413;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(199, 116, 19, 0.4);
    z-index: 10;
}

.table-item.selected {
    background: linear-gradient(145deg, #ff8c00, #c77413);
    border-color: #ffa500;
    color: white;
    box-shadow: 0 8px 25px rgba(199, 116, 19, 0.6);
    transform: scale(1.05);
    z-index: 15;
}

.table-item.disabled {
    background: #3a3a3a;
    border-color: #555;
    cursor: not-allowed;
    opacity: 0.5;
}

.table-name {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

.table-seats {
    font-size: 11px;
    color: #ccc;
    margin-top: 3px;
    text-align: center;
}

/* Customer Details Section */
.customer-details-section {
    margin-top: 30px;
    padding: 30px;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 12px;
}

.customer-details-section h4 {
    color: #c77413;
    margin-bottom: 25px;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #c77413;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-group input {
    background: rgba(62, 62, 62, 0.8);
    border: 2px solid transparent;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #c77413;
    background: rgba(62, 62, 62, 1);
}

/* Booking Summary */
.booking-summary {
    background: linear-gradient(
        135deg,
        rgba(62, 62, 62, 0.95),
        rgba(42, 42, 42, 0.95)
    );
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid #c77413;
}

.booking-summary h4 {
    color: #c77413;
    margin-bottom: 25px;
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #ccc;
    border-bottom: 1px dashed rgba(199, 116, 19, 0.3);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span:first-child {
    color: #999;
    font-weight: 500;
}

.summary-item span:last-child {
    color: #fff;
    font-weight: 700;
}

.summary-item.total {
    border-top: 2px solid #c77413;
    margin-top: 10px;
    padding-top: 15px;
}

.summary-item.total span:first-child {
    font-size: 18px;
}

.summary-item.total span:last-child {
    font-size: 20px;
    color: #c77413;
}

/* Payment Section */
.payment-section {
    margin-top: 30px;
    padding: 30px;
    background: rgba(24, 24, 24, 0.5);
    border-radius: 12px;
}

.payment-section h4 {
    color: #c77413;
    margin-bottom: 20px;
    text-align: center;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn {
    padding: 16px 50px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #c77413, #ff8c00);
    color: white;
    box-shadow: 0 4px 15px rgba(199, 116, 19, 0.4);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(199, 116, 19, 0.6);
}

.btn-secondary {
    background: rgba(85, 85, 85, 0.8);
    color: white;
    border: 2px solid #777;
}

.btn-secondary:hover {
    background: rgba(102, 102, 102, 0.9);
}

.btn:disabled {
    background: rgba(68, 68, 68, 0.5);
    cursor: not-allowed;
    opacity: 0.4;
    box-shadow: none;
}

/* Alert */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-danger {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 99999;
}

.toast {
    background-color: #333;
    color: #fff;
    padding: 12px 20px;
    margin-top: 10px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.3s forwards, fadeOut 0.3s ease-out 3.5s forwards;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-step {
        padding: 30px 20px;
    }

    .step-header h3 {
        font-size: 28px;
    }

    .date-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .time-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

