/* CALENDAR NAVIGATION BUTTONS */
.nav-arrow-btn {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    width: 32px;
    height: 32px;
    font-size: 11px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-arrow-btn:hover {
    background: var(--surface-3);
    border-color: var(--border-mid);
    transform: scale(1.05);
}

.nav-today-btn {
    background: var(--accent-glow-sm);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--accent-primary);
    cursor: pointer;
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease,
                transform 0.2s ease, box-shadow 0.2s ease;
    margin-left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-today-btn:hover {
    background: var(--accent-primary);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* CALENDAR VIEW STYLES */
.calendar-mode-switcher {
    display: flex;
    background: var(--surface-2);
    padding: 3px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    padding: 24px;
    flex-grow: 1;
    overflow-x: auto;
    min-height: 0;
}

.calendar-day-column {
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 350px;
    min-width: 140px;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.calendar-day-column.today {
    background: rgba(139, 92, 246, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.05);
}

.calendar-day-header {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.calendar-day-header .day-name {
    color: var(--text-secondary);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.calendar-day-header .day-num {
    font-size: 18px;
    font-weight: 600;
}

.calendar-day-column.today .calendar-day-header .day-num {
    color: var(--accent-secondary);
    font-weight: 700;
}

/* Sin backdrop-filter en las cards del calendario: fondo oscuro equivalente */
.calendar-task-card {
    background: rgba(26, 26, 38, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calendar-task-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.calendar-task-project {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-secondary);
    letter-spacing: 0.5px;
}

.calendar-task-title {
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-main);
}

.calendar-task-title.completed {
    text-decoration: line-through;
    color: var(--text-secondary);
}

.calendar-task-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
    border-top: 1px solid var(--surface-2);
    padding-top: 6px;
}

.calendar-task-assignee {
    font-weight: 600;
    color: var(--accent-primary);
}

.calendar-today-list {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    flex-grow: 1;
}
