.user-card {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    opacity: 0;
    transform: translateY(10px);
}

.user-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.user-card img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
    margin-right: 15px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    font-size: 17px;
    color: #333;
}

.user-team {
    font-size: 14px;
    color: #6c757d;
}

@media only screen and (min-width: 1201px) {
    td.fixo {
        width: 350px;
        max-width: 350px;
        overflow: hidden;
        white-space: nowrap;
    }

/*    td.fixo .input-group {
        flex-wrap: nowrap;
    }

    td.fixo input {
        max-width: 60px;
    }*/
}

@media (max-width: 1199px) {
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none; /* Esconde cabeçalhos em telas pequenas */
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        background: #fff;
        border-radius: 5px;
    }

    td {
        /*display: flex;*/
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        position: relative;
    }

    td:last-child {
        border-bottom: none;
    }

    /*td::before {
        content: attr(data-label); Exibe o nome da coluna antes do valor * /
        font-weight: bold;
        text-transform: uppercase;
        color: #333;
    }*/
    
    tfoot {
        display: block;
        width: 100%;
        background: #f8f9fa; /* Cor de fundo para destacar */
        padding: 10px;
        border-radius: 5px;
        margin-top: 10px;
    }

    tfoot tr {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centraliza os itens */
        width: 100%;
    }

    tfoot td {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    #msg-misto {
        text-align: center;
    }

    #hide-equipe {
        width: 100%;
        max-width: 250px; /* Para evitar que o botão fique muito grande */
    }    
}


/*.body-desc {
    position: relative;
    max-height: 300px;
    overflow-y: auto;
}

.body-desc::after {
    content: '';
    position: sticky;
    bottom: 0;
    display: block;
    height: 24px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,1)
    );
    pointer-events: none;
}

.body-desc {
    scrollbar-width: thin;           Firefox 
}

.body-desc::-webkit-scrollbar {
    width: 6px;
}

.body-desc::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.25);
    border-radius: 3px;
}*/

.body-desc-wrapper {
    position: relative;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 6px 18px rgba(0, 0, 0, 0.06);
    padding: 20px 20px 12px;
    margin: 16px 0;
}

.body-desc {
    position: relative;
    max-height: 220px;
    overflow: hidden;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #333;
    /*transition: max-height 0.35s ease;*/
}

.body-desc {
    overflow: hidden;
    transition: height 0.35s ease;
    will-change: height;
}

/* Espaçamento interno para HTML * /
.body-desc p, .body-desc ul, .body-desc ol {
    margin-bottom: 0.75rem;
}*/

/* Fade */
.body-desc::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 40%,
        rgba(255, 255, 255, 0.9) 70%,
        rgba(255, 255, 255, 1) 100%
    );
}


.body-desc.expanded {
    max-height: none;
}

.body-desc.expanded::after {
    display: none;
}

.toggle-desc {
    /*display: flex;*/
    /*width: 100%;*/
    width: auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;

    background: none;
    border: none;
    cursor: pointer;

    color: #0066cc;
    font-size: 0.95rem;
    font-weight: 600;

    padding: 10px 0;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.toggle-desc:hover {
    background: rgba(0, 102, 204, 0.06);
    border-radius: 50px;
}

.toggle-desc:focus-visible {
    outline: 2px solid rgba(0, 102, 204, 0.4);
    outline-offset: 2px;
}

.toggle-icon {
    display: inline-block;
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.toggle-desc.expanded .toggle-icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .body-desc-wrapper {
        padding: 16px;
        border-radius: 12px;
    }
    .body-desc {
        max-height: 160px;
        font-size: 0.92rem;
    }
    .body-desc::after {
        height: 70px;
    }
    .toggle-desc {
        font-size: 0.9rem;
        padding: 12px 0;
    }
}



.card-docs {
    border-top: 4px solid #0d6efd; /* cor principal */
    border-radius: .5rem;
}

.card-docs .card-header {
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.doc-preview {
    width: 100px;
    min-width: 100px;
}

.doc-preview img {
    width: 100%;
    height: auto;
    border-radius: .25rem;
}

.doc-title {
    font-weight: 600;
    line-height: 1.2;
}

.doc-desc {
    font-size: .875rem;
    color: #6c757d;
    margin-bottom: .25rem;
}

.doc-download {
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
}

.doc-download:hover {
    text-decoration: underline;
}

.pdf-thumb {
    width: 100%;
    height: 84px;            /* altura do recorte */
    overflow: hidden;
    border-radius: .25rem;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
}

/* O embed é maior que o container */
.pdf-thumb embed {
    width: 100%;
    height: 300px;           /* força o PDF a "vazar" */
    transform: translateY(-20px); /* corta só o topo */
    pointer-events: none;    /* evita scroll/click */
}

@media (max-width: 576px) {
    .doc-preview {
        width: 50px;
    }
}

.doc-download.loading {
    pointer-events: none;
    opacity: .65;
}

.doc-download.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
