#modulo_pdf {
    font-size: 0.875rem;
}

#modulo_pdf .descricao {
    text-align: justify;
    margin-bottom: 20px;
}

#modulo_pdf .orientacao-anos {
    margin: -20px 0 20px;
    text-align: justify;
}

/* Nesta tela a orientação sucede o filtro, não a descrição. */
#modulo_pdf .orientacao-anos.orientacao-anos--apos-filtro {
    margin: 0 0 20px;
}

#modulo_pdf #regulamentacao-diarias-sem-resultado {
    margin: 0 0 20px;
}

/* Respiro exclusivo entre o aviso e o filtro do PNTP 7.2. */
#modulo_pdf .regulamentacao-diarias__aviso {
    margin: 0 0 12px;
}

#modulo_pdf .regulamentacao-diarias__vigente {
    font-weight: 600;
}

#modulo_pdf .area-doc {
    display: flex;
    flex-flow: column;
}

#modulo_pdf .titulo-doc {
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#modulo_pdf .titulo-doc i {
    width: 18px;
}

#modulo_pdf .titulo-doc a {
    text-decoration: none;
    color: inherit;
}

#modulo_pdf .doc-pdf {
    /*padding-top: 15px;*/
}

#modulo_pdf > .doc-pdf.border-bottom:not(:first-child) {
    border-bottom: 1px solid #d5d8dc;
}

#modulo_pdf .doc-pdf .doc-ul {
    padding-left: 20px;
}

#modulo_pdf .doc-pdf .doc-ul-none {
    display: none;
}

#modulo_pdf .doc-pdf .doc-li {
    margin-left: 35px;
    padding: 2px 0;
}

#modulo_pdf .doc-pdf .doc-li-span {
    font-size: 1rem;
    list-style-type: none;
    margin-left: 20px;
    padding: 2px 0;
}

#modulo_pdf .doc-pdf .doc-li-file {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#modulo_pdf .doc-pdf .doc-li-file:not(:first-child) {
    padding-top: 15px;
}

#modulo_pdf .doc-pdf .doc-li-file i {
    font-size: 1.6rem;
    margin-right: 10px;
}

#modulo_pdf .doc-pdf .doc-li:first-child {
    padding-top: 0;
}

#modulo_pdf .doc-pdf .doc-li .doc-a,
#modulo_pdf .doc-pdf .doc-li-file .doc-a {
    font-size: 0.813rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    width: fit-content;
}

#modulo_pdf .doc-pdf .doc-li-file .area-file {
    width: 100%;
    display: flex;
    flex-flow: column;
    line-height: 1.2;
}

#modulo_pdf .doc-pdf .doc-li-file .area-file .dados-file {
    display: flex;
    flex-flow: column;
}

#modulo_pdf .doc-pdf .doc-li-file .area-file .dados-file .name-file {
    font-size: 0.875rem;
    font-weight: 500;
}

#modulo_pdf .doc-pdf .doc-li-file .area-file .dados-file .info-file {
    display: flex;
    font-size: 0.75rem;
    font-weight: 500 !important;
    color: rgba(136,136,136,.7);
}

#modulo_pdf .doc-pdf .doc-li-file .area-file .dados-file .info-file .separar {
    padding: 0 5px;
}

/* Versão usada dentro de tabela (Período x Endereço) */
#modulo_pdf .table-portal-sem-linha .doc-file-cell {
    display: flex;
    align-items: center;
}

#modulo_pdf .table-portal-sem-linha .doc-file-cell .doc-a {
    font-size: 0.813rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    width: fit-content;
}

#modulo_pdf .table-portal-sem-linha .doc-file-cell i {
    font-size: 1.6rem;
    margin-right: 10px;
}

#modulo_pdf .table-portal-sem-linha .doc-file-cell .area-file {
    width: 100%;
    display: flex;
    flex-flow: column;
    line-height: 1.2;
}

#modulo_pdf .table-portal-sem-linha .doc-file-cell .dados-file {
    display: flex;
    flex-flow: column;
}

#modulo_pdf .table-portal-sem-linha .doc-file-cell .dados-file .name-file {
    font-size: 0.875rem;
    font-weight: 500;
}

#modulo_pdf .table-portal-sem-linha .doc-file-cell .dados-file .info-file {
    display: flex;
    font-size: 0.75rem;
    font-weight: 500 !important;
    color: rgba(136,136,136,.7);
}

#modulo_pdf .table-portal-sem-linha .doc-file-cell .dados-file .info-file .separar {
    padding: 0 5px;
}

/* Tabela sem bordas usada no módulo PDF (mantém padding e fonte da table-portal) */
#modulo_pdf .table-portal.table-portal-sem-linha {
    border: 0;
    border-radius: 0;
    background-color: transparent;
}

#modulo_pdf .table-portal.table-portal-sem-linha th,
#modulo_pdf .table-portal.table-portal-sem-linha td {
    border: 0;
}

/* Sem cor de fundo (header e linhas) para essa tabela específica */
#modulo_pdf .table-portal.table-portal-sem-linha thead tr,
#modulo_pdf .table-portal.table-portal-sem-linha tbody tr {
    background-color: transparent !important;
}

/* Sem fundo direto no th (linha apenas sob o texto) */
#modulo_pdf .table-portal.table-portal-sem-linha th {
    background-color: transparent !important;
    margin: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0;
}

#modulo_pdf .table-portal.table-portal-sem-linha th .th-text {
    display: inline-block;
    border-bottom: 2px solid currentColor;
    padding-bottom: 0;
}

/* Coluna de período ajustada ao conteúdo (largura mínima necessária) */
#modulo_pdf .table-portal.table-portal-sem-linha th.col-periodo,
#modulo_pdf .table-portal.table-portal-sem-linha td.col-periodo {
    width: 1%;
    white-space: nowrap;
}

/* Padding vertical de 10px nos td desta tabela */
#modulo_pdf .table-portal.table-portal-sem-linha td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    height: auto;
}

/* Primeira linha de dados sem padding-top (encosta no header) */
#modulo_pdf .table-portal.table-portal-sem-linha tbody tr:first-child td {
    padding-top: 0 !important;
}

#modulo_pdf .doc-pdf .doc-titulo {
    width: fit-content;
    list-style-type: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 5px 0;
    border-bottom: 2px solid #1f1b5f;
    line-height: 1;
}


#modulo_pdf .doc-pdf .doc-titulo:not(:first-child) {
    margin-top: 15px;
}

#modulo_pdf .justificativa {
    display: inline-flex; /* Usar inline-flex para ajustar ao conteúdo */
    justify-content: flex-start;
    align-items: center;
    height: auto; /* Permite ajustar ao conteúdo */
    text-align: center;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 12px 40px -16px rgba(29, 23, 71, 0.4);
    border-radius: 0.75rem;
    transition: all 0.2s ease-out;
    width: 100%; /* auto Ajusta ao conteúdo */
    max-width: 100%; /* Limita a largura máxima */
}

#modulo_pdf .espaco_para_direita {
    padding-left: 25px;
}

#modulo_pdf .title-grupo {
    cursor: pointer;
    width: fit-content;
    line-height: 1.5;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

#modulo_pdf .title-grupo i {
    font-size: 1.2rem;
    margin-right: 10px;
}

#modulo_pdf .title-grupo .title-grupo__folder {
    color: currentColor;
    box-sizing: border-box;
    flex: 0 0 1.2rem;
    width: 1.2rem;
    margin-right: 8px;
    text-align: center;
}

#modulo_pdf .title-grupo .title {
    border-bottom: 1px solid #1f1b5f;
    width: fit-content;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #1f1b5f;
}

#modulo_pdf .title-grupo .title.sem-linha {
    border-bottom: 0;
}

#modulo_pdf .title-grupo.title-grupo-collapsed + .grupo-documentos {
    display: none;
    margin-bottom: 15px;
}

#modulo_pdf .justificativa .font-text-third {
    display: flex; /* Permite ajustar ao conteúdo */
    align-items: center;
    width: auto; /* Ajusta ao conteúdo */
    height: auto; /* Ajusta ao conteúdo */
}

#modulo_pdf .justificativa i {
    margin-right: 28px;
    width: 30px;
    border-radius: 6px;
    padding: 5px;
    font-size: 1.6rem;
    color: rgb(25, 49, 84);
    flex-shrink: 0; /* Evita que o ícone encolha */
}

#modulo_pdf .justificativa .msg__just {
    display: flex; /* Mantém flex para ajuste ao conteúdo */
    flex-direction: column; /* Permite que os filhos fiquem em coluna */
    align-items: flex-start; /* Alinha os itens à esquerda */
    width: auto; /* Ajusta ao conteúdo */
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

#modulo_pdf .justificativa .msg__just p {
    font-size: 0.875rem;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.8);
    margin: 0; /* Remove margem para melhor ajuste */
    width: auto; /* Ajusta ao conteúdo */
}
