/* Sync Notification Styles */
.sync-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3498db;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 300px;
}

.sync-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Error notification style */
.sync-notification.error {
    background-color: #e74c3c;
    border-left: 4px solid #c0392b;
}

/* Success notification style */
.sync-notification.success {
    background-color: #2ecc71;
    border-left: 4px solid #27ae60;
}

.sync-status {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    z-index: 900;
}

.sync-status::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.sync-status.connected::before {
    background-color: #2ecc71; /* green */
}

.sync-status.syncing::before {
    background-color: #f39c12; /* orange */
    animation: blink 1s infinite;
}

.sync-status.offline::before {
    background-color: #e74c3c; /* red */
}

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