<style>
/* Wait Times Table Styling */
.wait-times-container {
    margin: 20px 0;
    border-radius: 5px;
    padding: 20px;
}

.wait-times-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.wait-times-table thead {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    color: white;
}

.wait-times-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.wait-times-table th:last-child {
    border-right: none;
}

.wait-times-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.wait-times-table tbody tr:hover {
    background-color: #f8f9fa;
}

.wait-times-table tbody tr:last-child {
    border-bottom: none;
}

.wait-times-table td {
    padding: 12px;
    vertical-align: top;
    border-right: 1px solid #eee;
}

.wait-times-table td:last-child {
    border-right: none;
}

.wait-times-table td:first-child {
    font-weight: 600;
    color: #2c5aa0;
    min-width: 200px;
}

/* Status indicators */
.wait-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.wait-status.loading {
    background: #ffeaa7;
    color: #d63031;
}

.wait-status.available {
    background: #00b894;
    color: white;
}

.wait-status.busy {
    background: #fdcb6e;
    color: #2d3436;
}

.wait-status.very-busy {
    background: #e17055;
    color: white;
}

/* Wait time indicators */
.wait-count {
    font-size: 18px;
    font-weight: bold;
}

.wait-time {
    font-size: 16px;
    font-weight: 600;
}

.wait-time.short {
    color: #00b894;
}

.wait-time.medium {
    color: #fdcb6e;
}

.wait-time.long {
    color: #e17055;
}

/* Loading animation */
.loading-text {
    color: #666;
    font-style: italic;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Last updated info */
.last-updated {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .wait-times-table {
        font-size: 14px;
    }
    
    .wait-times-table th,
    .wait-times-table td {
        padding: 8px;
    }
    
    .wait-times-table td:first-child {
        min-width: 150px;
    }
}
</style>
