.flex-table {
    display: flex;
    flex-direction: column;
    background-color: white;
    /* box-shadow: 0 0 1px rgba(26, 32, 36, 0.32), 0 1px 2px rgba(91, 104, 113, 0.32); */
    align-self: flex-start;
    font-size: 1.2rem;
    line-height: 1.6rem;
    height: 100%;
    width: 100%;
    flex-grow: 1;
}

.flex-table-head, .flex-table-body {
    display: flex;
    flex-direction: column;
}

.flex-table-head .flex-table-row {
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 5%);
    color: var(--color-dark-gray-1);
}

.flex-table-body {
    height: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.flex-table-body .flex-table-row {
    color: var(--color-dark-gray-2);
}

.flex-table-row {
    display: flex;
    width: 100%;
}

.flex-table-row:not(:last-of-type) {
    border-bottom: 1px solid rgba(0, 0, 0, 5%);
}

.flex-table-cell {
    display: flex;
    flex-grow: 1;
    /*flex-shrink: 0;*/
    padding: 0.8rem;
    position: relative;
    /*overflow: hidden;*/
    word-break: break-word;
    line-height: 1.8rem;
    /* justify-content: space-between; */
    /*align-items: center;*/
}

.flex-table-head .flex-table-cell{
    justify-content: space-between;
}

.flex-table-cell[onclick]{
    cursor: pointer;
}

.flex-table-cell:not(:last-child) {
    border-right: 1px solid var(--color-light-gray-1);
}

/* .show-more-action-message {
    display: flex;
    align-self: flex-start;
    cursor: pointer;
    position: absolute;
} */

/* Table */
.table-container {
    overflow: auto;
    width: 100%;
}

.table {
    box-shadow: 0 0 1px rgba(26, 32, 36, 0.32), 0 1px 2px rgba(91, 104, 113, 0.32);
    align-self: flex-start;
    font-size: 1.2rem;
    line-height: 1.6rem;
    width: 100%;
}

.table thead tr {
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 5%);
    color: var(--color-dark-gray-1);
}

.table tbody tr {
    color: var(--color-dark-gray-2);
}

.table tr {
    background-color: var(--color-white);
}

.table thead {
    position: sticky;
    top: 0;
    text-align: left;
}

.table th, .table td {
    padding: 0.8rem;
}

.table tr:not(:last-of-type) {
    border-bottom: 1px solid rgba(0, 0, 0, 5%);
}

.desktop{
    display: flex;
}

@media only screen and (min-width: 901px) {
    .flex-table-cell.action-flex-table-cell.action-flex-table-col3.mobile{
        display: none;
    }

    .flex-table-picture{
        display: none;
    }

    .flex-action-state{
        width: 100%;
    }

}
/* Responsive */
@media only screen and (max-width: 900px) {

    .flex-action-state{
        width: 50%;
    }

    .flex-table-picture {
        width: 50%;
        display: flex;
        justify-content: flex-start;
        margin-left: 1rem;
        margin-top: 1rem;
    }

    .flex-table-cell.action-flex-table-cell.action-flex-table-col4.desktop{
        display: none;
    }
    .flex-table-cell.action-flex-table-cell.action-flex-table-col1.desktop{
        display: none;
    }

    .flex-table-cell.action-flex-table-cell.action-flex-table-col3.desktop{
        display: none;
    }

    .flex-table-cell.action-flex-table-cell.action-flex-table-col5.desktop{
        display: none;
    } 

    .flex-table-cell.action-flex-table-cell.action-flex-table-col6.desktop{
        display: none;
    }

    .flex-table-cell.action-flex-table-cell.action-flex-table-col8.desktop{
        display: none;
    }

    .flex-table-cell.action-flex-table-cell.action-flex-table-col2{
        display: none;
    }

    .table.qqoqccp .form-input {
        width: 100%;
    }

    .table.qqoqccp tbody tr:nth-child(even) {
        background-color: var(--color-light-gray-3)
    }

    .table.qqoqccp,
    .table.qqoqccp thead,
    .table.qqoqccp tbody,
    .table.qqoqccp th,
    .table.qqoqccp td,
    .table.qqoqccp tr {

        display: block

    }

    .table.qqoqccp thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table.qqoqccp td {
        position: relative;
        padding-left: 25%;
        white-space: normal;
        text-align: left
    }

    .table.qqoqccp td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
        white-space: nowrap;
        text-align: left;
        content: attr(data-title)

    }


    /* responsive taleau en mode card pour smartphone */
    .flex-table-head{
        display: none;
    }

    .flex-table-body{
        gap:0.8rem;
    }

    .flex-table-row{
        flex-direction: column;
        border: 2px solid var(--color-light-gray-1);
        display: flex;
        flex-direction: column-reverse;
    }

    .flex-table-row:not(:last-of-type) {
        border: 2px solid var(--color-light-gray-1); 
    }

    .flex-table-cell::before {
        content: attr(data-title);
        font-weight: bold;
        text-wrap:nowrap;
        display: none;
    }

    .flex-table-cell{
        justify-content: flex-start;
        gap:0.8rem;
    }

    .flex-table-cell:not(:last-child){
        border-right: 0;
    }
    .remove-member-button, .remove-contributor-button{
        margin:auto;
    }

    .files-flex-table-cell:last-of-type{
        justify-content: space-around;
    }

    .files-flex-table-cell:last-of-type:before {
        content: none; /* Annule le contenu ajouté */
    }

   
    /* .flex-table-row:nth-child(odd) {
        background-color:white;
    }
    .flex-table-row:nth-child(even) {
        background-color: var(--color-light-gray-4);
    } */
}
