/* style.css */
:root {
    --canvas-bg: #2d3748;
    /* Darker canvas background */
    --plot-fill: rgba(139, 69, 19, 0.2);
    --structure-house-fill: #4a5568;
    /* Darker house fill */
    --structure-grass-fill: #2f855a;
    /* Darker grass */
    --plant-radius-fill: rgba(96, 165, 250, 0.25);
    --plant-radius-stroke: rgba(96, 165, 250, 0.5);
    --warning-fill: rgba(251, 191, 36, 0.25);
    --warning-stroke: rgba(251, 191, 36, 0.5);
    --selection-stroke: #63b3ed;
    /* Brighter selection for contrast */
    --season-text: #68d391;
    /* Spring green on dark */
    --body-bg: #1a202c;
    /* Dark body background */
    --header-text: #48bb78;
    /* Brighter header text */
    --plot-stroke: #a0aec0;
    /* Lighter plot stroke */
    --locked-stroke: rgba(239, 68, 68, 0.8);
}

body {
    font-family: 'Inter', sans-serif;
    touch-action: none;
    background-color: var(--body-bg);
    color: #e2e8f0;
    /* Set default text to a light gray */
    transition: background-color 0.5s ease;
}

.mist {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}



.mist-1 {
    background-image: radial-gradient(circle at 15% 20%, rgba(108, 99, 255, 0.15) 0%, transparent 40%);
}

.mist-2 {
    background-image: radial-gradient(circle at 80% 30%, rgba(76, 29, 149, 0.12) 0%, transparent 35%);
}

.mist-3 {
    background-image: radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.mist-4 {
    background-image: radial-gradient(circle at 90% 95%, rgba(167, 139, 250, 0.18) 0%, transparent 45%);
}

canvas {
    cursor: crosshair;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    background-color: var(--canvas-bg);
    transition: background-color 0.5s ease;
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.modal.hidden {
    display: none;
}

.plant-item {
    cursor: pointer;
}

.timeline-marker {
    transform: translateX(-50%);
}

.timeline-marker::after {
    content: '';
    display: block;
    width: 2px;
    height: 10px;
    background-color: currentColor;
    margin: 0 auto;
}

.calendar-day-disabled {
    opacity: 0.4;
    pointer-events: none;
    text-decoration: line-through;
}

#calendarViewGrid {
    grid-template-rows: repeat(6, minmax(0, 1fr));
}