@import url(./global.css);

/* Pesquisar */
.grupo-pesquisa {
    align-items: center;
}

#campo-pesquisa {
    height: auto;
    max-width: 20%;
    display: flex;
    align-items: center; 
}

/* Formatação da Tabela */
.table th,
.table td {
    font-size: small;
    padding: 0.2rem!important;
}

table th {
    border: 1px solid var(--background-color);
}

.table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    height: auto;
    padding: 0rem 0rem;
}

thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: var(--dark-color);
    color: var(--light-color);
    z-index: 10;
    text-align: center;
}

.table-responsive td {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Ajuste Iframe formulário */

.responsive-iframe {
    position: relative;
    width: 100%;
    height: 700px;
    padding-top: 56.25%; /* Mantém proporção 16:9 */
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Tabela Atletas */
.col-nome {
    width: auto;
}

.col-apelido
.col-numero-federado,
.col-status,
.col-ultimo-vcto,
.col-ultimo-vcto {
    max-width: auto;
    text-align: center;
}

/* === AJUSTES PARA DISPOSITIVOS MÓVEIS === */
@media (max-width: 768px) {
        #campo-pesquisa {
        max-width: 70%;
    }
}