body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #f5f5f5;
}

.container {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    color: #333;
    margin-bottom: 30px;
}

.status-card {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #ccc;
}

.status-card.active {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.status-card.inactive {
    border-left-color: #28a745;
    background: #f5fff5;
}

.status-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.status-value {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.status-value.active {
    color: #dc3545;
}

.status-value.inactive {
    color: #28a745;
}

.timestamp {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

.refresh-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.queue-section {
    margin-top: 30px;
}

.queue-card {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.queue-name {
    font-size: 16px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
}

.queue-stats {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.progress-bar-container {
    width: 100%;
    height: 30px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.progress-bar.warning {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.progress-bar.danger {
    background: linear-gradient(90deg, #dc3545, #c82333);
}

.progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 30px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    z-index: 1;
}

h2 {
    color: #444;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.token-section {
    margin-top: 30px;
}

.token-card {
    background: #f0f8ff;
    border-radius: 6px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid #2196F3;
}

.token-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.token-stat {
    background: white;
    padding: 15px;
    border-radius: 4px;
}

.token-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.token-value {
    font-size: 24px;
    font-weight: bold;
    color: #2196F3;
    margin-top: 5px;
}

.token-rate {
    font-size: 14px;
    color: #999;
    margin-top: 3px;
}