/* planner.css - Paper Checklist Style */

/* Reusing classes from habits.css for consistency: 
   .habit-category-header, .habit-checklist, .habit-item, .checkbox-square
*/

.planner-container {
    animation: fadeIn 0.4s ease-out;
}

.planner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Week Board Grid */
.week-checklist-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Minimal width for papers */
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    align-items: start;
}

/* Individual Day Column wrapper */
.column {
    /* No background, purely structural now */
    border: none;
    padding: 0;
    min-width: 250px;
}

/* Ensure checklists take full height/width of column */
.habit-checklist {
    background: rgba(30, 41, 59, 0.2);
    /* Slight tint for day columns */
}

/* Add Task Button Styling overrides for context */
.add-task-simple {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-task-simple:hover {
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.02);
}

/* --- Responsive Planner --- */
@media (max-width: 768px) {
    .planner-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .planner-header h2 {
        font-size: 1.5rem;
    }

    .week-checklist-board {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 2rem;
        gap: 1rem;
        margin: 0 -1rem;
        /* Full width edge to edge */
        padding: 0 1rem 2rem 1rem;
    }

    .column {
        min-width: 85vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .habit-checklist {
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    /* Small dots or indicator for swiping? Browser provides scrollbar usually */
}