:root {
    /* Colors */
    --color-step-start: oklch(98% 0.10 145deg);
    --color-step-middle: oklch(62% 0.28 145deg);
    --color-step-end: oklch(22% 0.48 145deg);
    --color-background: oklch(20% 0.35 145deg);
    --color-tooltip-bg: white;
    --color-error-bg: white;
    --color-button-bg: oklch(30% 0.35 145deg);
    --color-button-text: white;
    --gap-size: 2px;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(2px, 4vw, 12px), 1fr));
    gap: var(--gap-size);
    padding: var(--gap-size);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.day-square {
    aspect-ratio: 1;
    transition: transform 0.2s;
}

.day-square:hover {
    transform: scale(1.2);
    z-index: 2;
}

.tooltip {
    position: fixed;
    text-align: center;
    width: auto;
    min-width: 120px;
    height: auto;
    padding: 5px;
    font: 12px sans-serif;
    background: var(--color-tooltip-bg);
    border: 0;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.error-message {
    padding: 1rem;
    text-align: center;
    background: var(--color-error-bg);
    border-radius: 8px;
    margin: 1rem;
}

.error-message button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background: var(--color-button-bg);
    color: var(--color-button-text);
    cursor: pointer;
}