/* Estilização da table */

.align-right {
  text-align: right;
}

.align-center {
  text-align: center;
}

.table-container {
    transform: scale(0.95);
    overflow-x: scroll;
    white-space: nowrap;
}
.table-dynamic {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

/* Cabeçalho da table */
.table-dynamic thead {
    background-color: var(--background);
    color: var(--white);
    text-align: left;
}   

/* Estilização das células */
.table-dynamic th, 
.table-dynamic td {
    padding: 10px;
    border: 1px solid var(--text);
    cursor: pointer;
}

/* Linhas alternadas para melhor leitura */
.table-dynamic tbody tr:nth-child(even) {
    background-color: var(--white);
}

/* Formatação dos valores */
.table-dynamic td {
    font-weight: normal;
}

/* Destacar linhas ao passar o mouse */
.table-dynamic tbody tr:hover {
    background-color: var(--hover);
    color: var(--white);
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    width: 95%;
    height: 95%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-button {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.report-table {
    width: 100%;
    transform: scale(0.8) translateY(-80px);
    border-collapse: collapse;
    margin-top: 60px;
}

.report-table th, .report-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.report-table th {
    background: var(--background);
    color: var(--white);
    font-weight: bold;
}

.button-container {
    display: flex;
    position: absolute;
    justify-content: center;
    gap: 10px;
    bottom: 32px;
    transform: translateX(50%);
}

.print-button, .pdf-button {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    background: var(--background);
    color: var(--white);
    border-radius: 4px;
    transition: 0.3s;
}

.print-button:hover, .pdf-button:hover {
    background: var(--hover);
}

main h1 {
    color: #017D41;
    text-align: center;
    font-size: 32px;
    margin-top: 8px;
    font-weight: bold;
}

main p {
    color: #017D41;
    text-align: center;
    font-size: 24px;
    margin-top: 8px;
    font-weight: bold;
}
