@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.hfundo {
    padding: 16px 20px;
    background: linear-gradient(to bottom, #003366, #001b40);
    color: #ffffff;
    text-align: center;
    border-top: solid 2px #A12021;
    padding-top: 10px;
    transition: background 0.9s ease-in-out, transform 0.8s ease-in-out;
}

.hfundo:hover{
    background: linear-gradient(to bottom, #001b40, #003366);
    transform:scale(1.05) ;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);

}



.h11 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;;
}

.h21 {
    font-size: 20px;
    font-weight: 500;
    color: #d4af37;
    margin-bottom: 30px;
}


.pl-total {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    font-size: 15px;
    color: #021024;
    margin-top: 20px;
    margin-right: 10px;
    font-family: 'Poppins', sans-serif;
}

.pl-total i {
    margin-right: 10px;
    color: #d49f44; 
    font-size: 1.5em;
}

.pl-total strong {
    margin-left: 5px;
    color: #303030; 
    font-weight: bold;
}

.tabela-elegante {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}


.tabela-elegante thead {
    background-color: #001b40;
    color: #ffffff;
    text-align: left;
    font-size: 13px;
}

th:hover{
    color: #333333;
    background-color: #d49f44;
    border-radius: 4px;
}

.tabela-elegante thead th {
    padding: 14px;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #ffffff;
}

.table.dataTable tbody td{
    padding: 6px 8px;
}

.tabela-elegante tbody tr {
    border-bottom: 1px solid #e9e9e9;
}

.tabela-elegante tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.tabela-elegante tbody tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}


.tabela-elegante tbody td {
    padding: 14px;
    font-size: 1em;
    color: #333333;
    vertical-align: middle;
}


.tabela-elegante tbody td i {
    margin-right: 8px;
    color: #6c757d; 
}


.dataTables_wrapper {
    width: 95% !important;
    margin: 20px auto;
    font-size: 15px;
}

.dataTables_filter {
    margin-bottom: 15px;
}

.dataTables_length {
    margin-bottom: 15px
}


.tabela-elegante2 {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}



.tabela-elegante2 thead {
    background-color: #d49f44;
    color: #333;
    text-align: left;
    font-size: 13px;
}

.tabela-elegante2 tbody th:hover {
    background-color: rgba(212, 159, 68, 0.3); 
    transition: background-color 0.3s ease; 

}


.tabela-elegante2 tbody tr{
    color: #333;
}



.h214{
    margin-bottom: 0px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-top: 0px;
    font-family: 'Poppins', sans-serif;

}

@media (max-width: 1380px) {

    .table.dataTable tbody th, table.dataTable tbody td {
        padding: 8px 10px;
        font-size: 12px;

    }
    .hfundo {
        padding: 14px 18px; 
    }

    .h11 {
        font-size: 24px;
    }

    .h21 {
        font-size: 18px;
    }

    .pl-total {
        font-size: 14px;
    }

    .tabela-elegante {
        width: 90%;
    }

    .tabela-elegante thead th {
        font-size: 1.1em;
        padding: 12px;
    }

    .tabela-elegante tbody td {
        padding: 12px;
        font-size: 0.9em;
    }

    .tabela-elegante tbody tr {
        background-color: #f9f9f9;
    }

    .dataTables_wrapper {
        width: 95% !important;
        margin: 15px auto;
    }

    .tabela-elegante2 {
        width: 90%;
    }

    .tabela-elegante2 thead {
        font-size: 12px;
        padding: 12px;
    }

    .tabela-elegante2 tbody td {
        padding: 12px;
        font-size: 0.9em;
    }

    .h214 {
        font-size: 18px;
    }
    
}


@media (max-width: 768px) {
    .hfundo {
        padding: 10px 15px;
    }

    .h11 {
        font-size: 22px;
    }

    .h21 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .pl-total {
        font-size: 13px;
        flex-direction: column;
        align-items: flex-end;
        margin-top: 10px;
        margin-right: 5px;
    }

    .tabela-elegante {
        width: 50%;
        box-shadow: none;
        border-radius: 0;
    }
    .tabela-elegante2 {
        width: 50% !important;
    }

    .tabela-elegante thead th {
        font-size: 1em;
        padding: 10px;
    }

    .tabela-elegante tbody td {
        padding: 10px;
        font-size: 0.9em;
    }

    .dataTables_wrapper {
        width: 100% !important;
        margin: 10px auto;
    }
}

@media (max-width: 480px) {
    .h11 {
        font-size: 18px;
    }

    .h21 {
        font-size: 14px;
    }

    .pl-total i {
        font-size: 1.2em;
    }

    .pl-total strong {
        font-size: 12px;
    }

    .tabela-elegante thead th,
    .tabela-elegante tbody td {
        font-size: 0.8em;
        padding: 8px;
    }

    .tabela-elegante {
        font-size: 0.85em;
    }

    .tabela-elegante2 {
        width: 50%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }



    .tabela-elegante2 tr {
        font-size: 11px;
        display: block;
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }

    .tabela-elegante2 td {
        
        
        text-align: right;
        font-size: 11px;
        padding: 10px;
        position: relative;
        border-bottom: 1px solid #ddd;
    }

    .tabela-elegante2 td:before {
        
        content: attr(data-label);
        font-weight: bold;
        position: absolute;
        left: 10px;
        top: 10px;
        font-size: 12px;
    }

    .tabela-elegante2 td i {
        margin-right: 5px;
    }
}

