/* Sync HUD Notifications Styles */
.sync-hud-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 12px 20px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transform: scale(0.75);
    transform-origin: center top;
}

.sync-hud-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sync-hud-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.sync-hud-item:active {
    transform: translateY(0);
}

.sync-hud-item.success {
    border-color: rgba(0, 184, 148, 0.5);
    background: rgba(0, 184, 148, 0.15);
}

.sync-hud-item.error {
    border-color: rgba(214, 48, 49, 0.5);
    background: rgba(214, 48, 49, 0.15);
}

.sync-hud-item.syncing {
    border-color: rgba(253, 203, 110, 0.5);
    background: rgba(253, 203, 110, 0.15);
}

.sync-hud-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.sync-hud-item.success .sync-hud-icon {
    background: rgba(0, 184, 148, 0.3);
    color: #00b894;
}

.sync-hud-item.error .sync-hud-icon {
    background: rgba(214, 48, 49, 0.3);
    color: #d63031;
}

.sync-hud-item.syncing .sync-hud-icon {
    background: rgba(253, 203, 110, 0.3);
    color: #fdcb6e;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sync-hud-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sync-hud-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.sync-hud-status {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.sync-hud-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.sync-hud-item.success .sync-hud-indicator {
    background: #00b894;
    box-shadow: 0 0 8px rgba(0, 184, 148, 0.6);
}

.sync-hud-item.error .sync-hud-indicator {
    background: #d63031;
    box-shadow: 0 0 8px rgba(214, 48, 49, 0.6);
}

.sync-hud-item.syncing .sync-hud-indicator {
    background: #fdcb6e;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sync-hud-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px 15px;
        gap: 8px;
    }
    
    .sync-hud-item {
        padding: 8px 10px;
    }
    
    .sync-hud-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .sync-hud-label {
        font-size: 9px;
    }
    
    .sync-hud-status {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .sync-hud-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 8px 10px;
    }
    
    .sync-hud-item {
        padding: 6px 8px;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    
    .sync-hud-icon {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .sync-hud-text {
        align-items: center;
    }
    
    .sync-hud-indicator {
        display: none;
    }
}
