body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
}

.navbar {
    z-index: 1000;
}

.sidebar {
    position: fixed;
    top: 56px;
    bottom: 0;
    left: 0;
    z-index: 900;
    width: 200px;
    padding-top: 20px;
    background-color: #ffffff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease-in-out;
}

.sidebar-sticky {
    position: relative;
    height: calc(100vh - 56px);
    padding: 0 10px;
    overflow-y: auto;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: #007bff;
    color: #ffffff;
}

.nav-link i {
    margin-right: 12px;
    font-size: 1.2rem;
}

main {
    margin-left: 200px;
    padding-top: 100px; /* Aumentado para evitar superposición con el header */
    padding-bottom: 20px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.kanban-column {
    min-height: 400px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.kanban-column h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.kanban-task {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    cursor: move;
    transition: box-shadow 0.2s;
}

.kanban-task:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 767.98px) {
    .sidebar {
        width: 200px;
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    main {
        margin-left: 0;
        padding-top: 80px; /* Ajustado para móviles */
    }
    .navbar-toggler {
        z-index: 1001;
    }
}