/* Custom styles for toggle switch */
body {
    transition: background-color 0.3s ease;
}

/* When toggle is checked */
#clockToggle:checked ~ div > #clockContainer {
    transform: translateX(calc(100% + 0.5rem));
    background-color: #f3f4f6;
}

#clockToggle:checked ~ div > .bg-gradient-to-r {
    background: linear-gradient(to right, #10B981, #34D399);
}
/* Swipe and animation styles */
#clockContainer {
    touch-action: pan-y;
    user-select: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes swipeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-20px); }
}

@keyframes swipeRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(20px); }
}

.swipe-left {
    animation: swipeLeft 0.3s ease-out;
}

.swipe-right {
    animation: swipeRight 0.3s ease-out;
}
.clock-pulse {
    animation: pulse 1s infinite;
}