/* ERA-IT Topbar Styles */
.era-topbar {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #1a1a1a;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 8px 0;
}

.topbar-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

a.topbar-item:hover {
    color: #cccccc;
}

.topbar-icon {
    width: 14px;
    height: 14px;
    color: #ffffff;
    flex-shrink: 0;
}

.topbar-divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.topbar-status {
    background: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: #1a1a1a !important;
    transition: all 0.2s ease;
}

.topbar-status:hover {
    background: #f0f0f0;
}

.topbar-status .topbar-icon {
    color: #1a1a1a;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #888;
    display: inline-block;
    animation: topbar-pulse 2s infinite;
}

.status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.status-dot.storing {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
    animation: topbar-pulse-alert 1s infinite;
}

.status-dot.onderhoud {
    background: #f97316;
    box-shadow: 0 0 6px rgba(249, 115, 22, 0.6);
}

@keyframes topbar-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes topbar-pulse-alert {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

#status-text {
    transition: color 0.2s ease;
    color: #1a1a1a;
}

#status-text.online { color: #16a34a; }
#status-text.storing { color: #dc2626; }
#status-text.onderhoud { color: #ea580c; }

/* Responsive */
@media (max-width: 1400px) {
    .topbar-container {
        padding: 0 40px;
    }
}

@media (max-width: 900px) {
    .era-topbar {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .topbar-container {
        padding: 0 20px;
        justify-content: center;
    }
    
    .topbar-left, .topbar-right {
        gap: 12px;
    }
    
    .topbar-hours {
        display: none;
    }
    
    .topbar-divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .topbar-left span:not(.topbar-icon) {
        display: none;
    }
    
    .topbar-left a.topbar-item {
        padding: 6px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
    }
    
    .topbar-left .topbar-icon {
        width: 16px;
        height: 16px;
    }
    
    .topbar-left {
        gap: 8px;
    }
}
