.month-nav {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.month-btn {
    border: 2px solid #dee2e6;
    background: white;
    color: #6c757d;
    transition: var(--transition);
    border-radius: 8px;
    font-weight: 500;
}

.month-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.month-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.deadline-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    /* border-left: 4px solid var(--primary-color); <- ELIMINADO */
    margin-bottom: 20px;
}

.deadline-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-3px);
}

.deadline-day-container {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 12px 0 0 12px;
    /* Añadimos un ancho fijo */
    width: 120px;
    flex-shrink: 0;
    /* Evita que se encoja si el texto de la derecha es mucho */
    display: flex;
    justify-content: center;
    align-items: center;
}

.deadline-day {
    background: transparent;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    /* Ajustado ligeramente para textos largos */
    width: 100%;
    word-wrap: break-word;
    /* Rompe la palabra si es extremadamente larga */
}

.deadline-content {
    padding: 20px;
}

.direction-badge {
    background: linear-gradient(135deg, var(--accent-color), #2980b9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.deadline-description {
    color: #495057;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
}

.month-content {
    display: none;
}

.month-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.no-deadlines {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-deadlines i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}