/* Additional styles for Lightning Habit Tracker */

/* Smooth transitions for grid cells */
.habit-cell {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.habit-cell:hover {
    transform: scale(1.05);
}

/* Animation for counter updates */
.counter-update {
    animation: pulse 0.3s ease-in-out;
}

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

/* Focus styles for accessibility */
.habit-cell:focus {
    outline: 2px solid #EC4899;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.2);
}

/* Subtle animation for habit name input */
#habit-name-input:focus {
    animation: glow 0.3s ease-in-out;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    }
}