/* Additional styles for the year view */

.day {
    aspect-ratio: 1/1;
    position: relative;
    border-radius: 4px;
    cursor: default;
    transition: transform 0.1s ease-in-out;
}

.day:hover {
    transform: scale(1.1);
    z-index: 10;
}

.day-tooltip {
    position: absolute;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 20;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
}

.day:hover .day-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Animation for grid loading */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Only apply animation to the grid that hasn't been animated before */
.initial-load .day {
    animation: fadeIn 0.3s ease-out forwards;
}

.initial-load .day:nth-child(n) {
    animation-delay: calc(var(--i) * 0.003s);
}

/* Progress bar animation */
.progress-fill {
    will-change: transform;
    transition: none !important;
}

/* Circular progress animation */
#progress-circle {
    transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    will-change: stroke-dashoffset;
} 