/* Additional styles for new time slot functionality */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.time-slot {
    padding: 8px 12px;
    border: 2px solid #eee;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    font-size: 14px;
}

.time-slot:hover {
    border-color: #dc3545;
}

.time-slot.selected {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.time-slot.disabled {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Reservation Section */
.reservation-section {
    padding: 80px 0;
}

.reserve-table-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reserve-table-content {
    padding-left: 30px;
}

.reserve-table-info-item {
    margin-bottom: 30px;
}

.reserve-table-info-item h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.reserve-table-info-item p {
    color: #666;
    line-height: 1.6;
}

.reserve-table-info-item a {
    color: #dc3545;
    text-decoration: none;
}

.reserve-table-info-item a:hover {
    text-decoration: underline;
}

/* WebSocket-based time slot styles */
.no-slots-message {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.no-date-message {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
}

.time-slot.disabled {
    background: #f8f9fa !important;
    color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.time-slot.disabled:hover {
    border-color: #eee !important;
    background: #f8f9fa !important;
}

/* Form message styles */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

@media (max-width: 991px) {
    .reserve-table-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .reserve-table-form {
        padding: 30px 20px;
    }
}