.wk-pntp-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.wk-pntp-filtros input,
.wk-pntp-filtros select {
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    flex: 1;
    min-width: 120px;
}

.wk-pntp-filtros button {
    background: #0056b3;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.wk-pntp-filtros button:hover {
    background: #003d7a;
}

.wk-pntp-btn-limpar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 18px;
    color: #495057 !important;
    text-decoration: none;
    transition: color 0.2s;
}

.wk-pntp-btn-limpar:hover {
    color: #212529 !important;
}

.wk-pntp-filtros a {
    text-decoration: none;
    font-size: 14px;
    color: #495057;
}

.wk-pntp-filtros a:hover {
    color: #212529;
}

.wk-pntp-export-icons {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.wk-pntp-export-icons i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 24px;
    color: #0056b3;
    transition: transform 0.2s ease-in-out;
}

.wk-pntp-export-icons i:hover {
    color: #003d7a;
    transform: scale(1.1);
}

.wk-pntp-td-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.wk-pntp-td-actions a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #0056b3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wk-pntp-td-actions a:hover {
    color: #003d7a;
}

.wk-pntp-td-actions i {
    font-size: 16px;
}

.wk-pntp-table,
.wk-pntp-table * {
    box-sizing: border-box;
}

.wk-pntp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

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

/* Evita quebra de linha em documentos e valores no desktop */
@media screen and (min-width: 769px) {
    .wk-pntp-table td:nth-child(2), 
    .wk-pntp-table td:nth-child(5) {
        white-space: nowrap;
    }
}

.wk-pntp-table th {
    background-color: #f1f3f5;
    font-weight: 600;
}

.wk-pntp-table tr:hover {
    background-color: #f8f9fa;
}

/* Responsividade da Tabela */
@media screen and (max-width: 768px) {
    .wk-pntp-table thead {
        display: none; /* Esconde o cabeçalho original */
    }

    .wk-pntp-table, 
    .wk-pntp-table tbody, 
    .wk-pntp-table tr, 
    .wk-pntp-table td {
        display: block;
        width: 100%;
    }

    .wk-pntp-table tr {
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: #fff;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .wk-pntp-table td {
        text-align: right;
        padding: 10px 15px 10px 45%;
        position: relative;
        border-bottom: 1px solid #eee;
        min-height: 44px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .wk-pntp-table td:last-child {
        border-bottom: none;
        background: #f8f9fa;
    }

    .wk-pntp-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 10px;
        width: 40%;
        text-align: left;
        font-weight: 700;
        color: #495057;
        word-break: normal;
        overflow-wrap: normal;
    }

    .wk-pntp-td-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
    }
}

/* ============================================================
   Fallback para classes Tailwind customizadas (primary)
   Garante que os botões e links não fiquem "branco no branco"
   caso o Tailwind browser v4 ou o tema sobrescrevam os estilos.
   ============================================================ */

.bg-primary {
    background-color: #003366 !important;
}

.hover\:bg-primary-hover:hover,
[class*="hover:bg-primary-hover"]:hover {
    background-color: #001f3f !important;
}

.text-primary {
    color: #003366 !important;
}

.hover\:text-primary:hover,
[class*="hover:text-primary"]:hover {
    color: #003366 !important;
}

.hover\:text-primary-hover:hover,
[class*="hover:text-primary-hover"]:hover {
    color: #001f3f !important;
}

.border-primary {
    border-color: #003366 !important;
}

.hover\:border-primary:hover,
[class*="hover:border-primary"]:hover {
    border-color: #003366 !important;
}

.focus\:ring-primary:focus,
[class*="focus:ring-primary"]:focus {
    --tw-ring-color: #003366 !important;
    box-shadow: 0 0 0 2px #003366 !important;
    outline: none !important;
}

/* Fallbacks para cores cinza e branco usadas nos templates */
.text-white {
    color: #ffffff !important;
}

.bg-gray-800 {
    background-color: #1f2937 !important;
}

.hover\:bg-gray-900:hover,
[class*="hover:bg-gray-900"]:hover {
    background-color: #111827 !important;
}

.bg-gray-100 {
    background-color: #f3f4f6 !important;
}

.hover\:bg-gray-200:hover,
[class*="hover:bg-gray-200"]:hover {
    background-color: #e5e7eb !important;
}

.text-gray-700 {
    color: #374151 !important;
}

.text-gray-800 {
    color: #1f2937 !important;
}

.text-gray-900 {
    color: #111827 !important;
}

.text-gray-500 {
    color: #6b7280 !important;
}

.text-gray-600 {
    color: #4b5563 !important;
}

.border-gray-200 {
    border-color: #e5e7eb !important;
}

.border-gray-300 {
    border-color: #d1d5db !important;
}

