#status-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    text-align: center;
    padding: 8px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}
.error {
    background: darkred !important;
    animation: pulse 1s infinite alternate;
}
@keyframes pulse {
    from { opacity: 1; }
    to { opacity: 0.7; }
}