/*	CSS */
/* ===================================
   PADRÃO PORTAL TRANSPARÊNCIA SP
=================================*/


/* ===================================
	   ABAS DIÁRIAS
	=================================*/
.tabDiarias {
    margin-top: 2rem;
}

    /* NAV TABS */
    .tabDiarias .nav-tabs {
        border-bottom: none;
        margin-bottom: 0;
        gap: 6px;
    }

        /* ABAS */
        .tabDiarias .nav-tabs .nav-link {
            border: 1px solid #d6d6d6;
            background-color: #f3f3f3;
            color: #444;
            font-weight: 500;
            padding: 10px 20px;
            border-radius: 8px 8px 0 0; /* cantos arredondados superiores */
            transition: all 0.2s ease;
        }

            /* Hover */
            .tabDiarias .nav-tabs .nav-link:hover {
                background-color: #e9e9e9;
                color: #000;
            }

            /* ABA ATIVA */
            .tabDiarias .nav-tabs .nav-link.active {
                background-color: #ffffff;
                color: #000;
                font-weight: 700;
                font-size: 1.1em;
                border-color: #d6d6d6 #d6d6d6 #ffffff;
                box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
                position: relative;
                z-index: 2;
            }

    /* CONTEÚDO CARD */
    .tabDiarias .tab-content {
        border: 1px solid #cccccc;
        border-radius: 0 8px 8px 8px;
        background-color: #ffffff;
        padding: 30px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    }

    /* =========================
	   TABELA PADRÃO INSTITUCIONAL
	==========================*/

    .tabDiarias .table {
        margin-bottom: 0;
    }

        .tabDiarias .table thead {
            background-color: #e6e6e6;
            color: #333;
            font-weight: 600;
        }

    .tabDiarias .table-bordered th,
    .tabDiarias .table-bordered td {
        border: 1px solid #dcdcdc;
    }

    .tabDiarias .table-striped > tbody > tr:nth-of-type(odd) {
        background-color: #f8f8f8;
    }

    .tabDiarias .table tbody tr:hover {
        background-color: #efefef;
    }

/*TABELAS ANUAIS*/

.tabela-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

.tabela-moderna {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    min-width: 1200px;
    background: #ffffff;
}

    .tabela-moderna thead {
        background: #1f2937;
        color: #ffffff;
    }

        .tabela-moderna thead th {
            padding: 12px 10px;
            text-align: center;
            font-weight: 600;
            border: 1px solid #374151;
        }

    .tabela-moderna tbody td {
        padding: 10px;
        border: 1px solid #e5e7eb;
        text-align: center;
    }

    .tabela-moderna tbody tr:nth-child(even) {
        background-color: #f9fafb;
    }

    .tabela-moderna tbody tr:hover {
        background-color: #eef2ff;
        transition: 0.2s;
    }

    .tabela-moderna td:nth-child(2) {
        text-align: left;
    }

.titulo-tabela {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
}




/* CONTEÚDO */
.tabDiarias .tab-content {
    border: 1px solid #dcdcdc;
    border-radius: 0 8px 8px 8px;
    padding: 24px;
    background: #ffffff;
    margin-top: 0;
}


.tabela-diarias {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

    .tabela-diarias caption {
        caption-side: top;
        text-align: left;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .tabela-diarias thead {
        background-color: #2f2f2f;
        color: #ffffff;
    }

        .tabela-diarias thead th {
            padding: 12px;
            text-align: left;
            font-weight: 600;
            border: 1px solid #dcdcdc;
            font-size: .8em;
        }

    .tabela-diarias tbody td,
    .tabela-diarias tbody th {
        padding: 10px 12px;
        border: 1px solid #ddd;
    }

    .tabela-diarias tbody tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .tabela-diarias tbody tr:hover {
        background-color: #e6e6e6;
        transition: background 0.2s ease;
    }

/* Responsividade */
.tabela-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .tabela-diarias {
        font-size: 0.85rem;
    }
}
