/* 
 * Sync dropdown component styles
 * Used for the sync functionality in the navigation bar
 */

/* Sync button animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#sync-button.syncing #sync-icon {
    animation: spin 1s linear infinite;
}

/* Toggle switch styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: .3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-checkbox:checked + .toggle-slider {
    background-color: #3b82f6;
}

.toggle-checkbox:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-slider:hover {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Sync dropdown specific styles */
.sync-dropdown-menu {
    /* Add any specific dropdown positioning or styling here */
}

.sync-status-item {
    /* Styling for individual status items in the dropdown */
}