﻿.consulta-section {
    padding: 20px 0;
}

.consulta-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.consulta-header {
    background: #00a859;
}

.form-label {
    font-weight: 500;
}

.form-control {
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

    .form-control:focus {
        border-color: #028dcf;
        box-shadow: 0 0 0 0.2rem rgba(2, 141, 207, 0.25);
    }

.btn-pesquisar {
    background: #028dcf;
    color: #fff;
    padding: 10px 28px;
    font-weight: 600;
    border: 1px solid #0083c2;
    transition: all 0.3s ease;
}

    .btn-pesquisar:hover {
        background: #0083c2;
        color: #fff;
    }

    .btn-pesquisar:focus:not(:focus-visible) {
        background: #028dcf;
        color: #fff;
    }

.btn-limpar {
    background: #fff;
    color: grey;
    padding: 10px 28px;
    font-weight: 600;
    border: 1px solid grey;
    transition: all 0.3s ease;
}
    .btn-limpar:hover {
        background: #fff;
        color: grey;
        border: 1px solid grey;
    }

    .btn-limpar:focus:not(:focus-visible) {
        background: #fff;
        color: grey;
    }

.resultado-section {
    padding-bottom: 40px;
}

.resultado-card {
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.resultado-header {
    background: #00a859;
    border-radius: 5px 0px 0 !important;
}

.table thead {
    background-color: #f1f9f6;
}

    .table thead th {
        border-bottom: none;
        padding: 14px 20px;
    }

.table tbody td {
    font-size: 0.93em;
    padding: 10px 20px 10px 20px;
    vertical-align: middle;
}

.table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.table-hover tbody tr:hover {
    background-color: #fffcfc; /* rgba(0, 168, 89, 0.03); */
    cursor: pointer;
}

.titulo {
    font-size: 1.25em;
    margin-bottom: 15px;
}

.texto-justificado {
    text-align: justify;
}

/*.linha-link.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}*/

.pagination {
    gap: 6px;
    margin-bottom: 0;
}

    .pagination .page-item {
        transition: all 0.2s ease;
    }

    .pagination .page-link {
        border: none;
        border-radius: 10px;
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        color: #495057;
        background-color: #f1f3f5;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        transition: all 0.2s ease;
    }

        .pagination .page-link:hover {
            background-color: #e9ecef;
            color: #212529;
            transform: translateY(-1px);
        }

    .pagination .page-item.active .page-link {
        background: #028dcf;
        color: #fff;
        font-weight: 600;
        transform: translateY(-1px);
    }

    .pagination .page-item.disabled .page-link {
        background-color: #f8f9fa;
        color: #adb5bd;
        box-shadow: none;
        cursor: not-allowed;
    }

    .pagination .page-item.disabled span.page-link {
        background-color: transparent;
        box-shadow: none;
    }

    /* Anterior / Próxima */
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        font-weight: 600;
        padding: 0 16px;
    }

    /* Reticências */
    .pagination .page-item span.page-link {
        cursor: default;
        background-color: transparent;
        color: #adb5bd;
        box-shadow: none;
    }


@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

        .pagination .page-link {
            min-width: 34px;
            height: 34px;
            font-size: 0.85rem;
            border-radius: 8px;
        }
}
