/* Offline Queue Indicator Styles */

#offline-indicator {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease-in-out;
    font-size: 14px;
    font-weight: 500;
    max-width: 90%;
}

#offline-indicator.show {
    transform: translateX(-50%) translateY(0);
}

.offline-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offline-content i {
    font-size: 18px;
    animation: pulse 2s infinite;
}

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

.queue-count {
    font-size: 12px;
    opacity: 0.9;
    margin-left: 5px;
}

/* Sync Notification */
.sync-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    color: #333;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.sync-notification.show {
    transform: translateX(0);
}

.sync-notification.success {
    background: #4CAF50;
    color: white;
}

.sync-notification.error {
    background: #f44336;
    color: white;
}

.sync-notification i {
    font-size: 18px;
}

/* Dark mode support */
.dark-mode #offline-indicator {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.dark-mode .sync-notification {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #offline-indicator {
        top: 50px;
        font-size: 12px;
        padding: 10px 15px;
    }
    
    .offline-content i {
        font-size: 16px;
    }
    
    .sync-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        font-size: 13px;
    }
}
