/* Styles pour TaxFileRow */
.card .list-unstyled li {
    margin-bottom: 0.5rem;
}

.badge {
    font-size: 0.75rem;
}

.position-relative .btn {
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.position-relative .btn i {
    font-size: 0.5rem;
}

/* Amélioration de l'espacement des icônes */
.card .list-unstyled li i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* Style pour les éléments avec badges */
.position-relative {
    margin-bottom: 1rem;
}

/* Amélioration de l'apparence des badges */
.badge.bg-primary {
    background-color: #007bff !important;
    font-size: 0.7rem;
    padding: 0.25em 0.4em;
}

.tax-file-row {
    line-height: 1;
    margin:0px;
    font-size: 0.9rem;
}
.tools-list li {
    display: inline-block;
}

.tax-file-list li {
    font-size: 0.5rem;
}

/* Styles pour le kanban */
.kanban-container {
    overflow-x: auto;
    overflow-y: visible;
}

.kanban-container.active {
    cursor: grabbing;
    user-select: none;
}

.kanban-container {
    cursor: grab;
}

/* Chaque colonne a une hauteur fixe avec son propre scroll vertical */
.kanban-column {
    height: calc(100vh - 200px); /* Ajuster selon la hauteur du header de la page */
    min-height: 400px;
}

.kanban-column .kanban-content {
    overflow-y: auto;
    overflow-x: visible;
    flex: 1 1 auto;
}

/* Styles pour les en-têtes sticky - fonctionne maintenant car le scroll est dans la colonne */
.kanban-header {
    position: -webkit-sticky; /* Pour Safari */
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0; /* Empêche le header de rétrécir */
}

.kanban-header h6 {
    margin-bottom: 0.5rem;
}

.kanban-header hr {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Sur mobile, désactiver le drag horizontal et ajuster la hauteur */
@media (max-width: 767.98px) {
    .kanban-container {
        cursor: default;
        overflow-x: visible;
    }

    .kanban-container.active {
        cursor: default;
    }

    .kanban-column {
        height: auto;
        min-height: auto;
    }

    .kanban-column .kanban-content {
        overflow-y: visible;
    }
}