.cr-buscador {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
    color: #1a1a2e;
}

.cr-header {
    background: #0d1b3e;
    color: #fff;
    padding: 30px 35px;
    border-radius: 6px 6px 0 0;
}

.cr-header h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: #fff;
}

.cr-header p {
    margin: 0;
    opacity: 0.85;
}

.cr-filtros {
    background: #f7f8fb;
    border: 1px solid #e2e4ea;
    border-top: none;
    padding: 25px 35px;
}

.cr-filtros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.cr-campo {
    display: flex;
    flex-direction: column;
}

.cr-campo label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.cr-campo input,
.cr-campo select {
    padding: 9px 12px;
    border: 1px solid #cfd3dc;
    border-radius: 4px;
    font-size: 14px;
}

.cr-acciones-filtro {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cr-btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    text-align: center;
}

.cr-btn-primario {
    background: #0d1b3e;
    color: #fff;
}

.cr-btn-primario:hover {
    background: #16295c;
}

.cr-btn-secundario {
    background: #fff;
    color: #333;
    border: 1px solid #cfd3dc;
}

.cr-btn-outline {
    background: #fff;
    color: #0d1b3e;
    border: 1px solid #0d1b3e;
}

.cr-btn-outline:hover {
    background: #0d1b3e;
    color: #fff;
}

.cr-resultados-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 35px 0 35px;
    flex-wrap: wrap;
    gap: 10px;
}

.cr-resultados-header h3 {
    margin: 0;
}

.cr-exportar {
    display: flex;
    gap: 10px;
}

.cr-contador {
    padding: 8px 35px 0 35px;
    font-size: 13px;
    color: #666;
}

.cr-tabla-wrapper {
    overflow-x: auto;
    padding: 15px 35px 35px 35px;
}

.cr-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cr-tabla th {
    background: #f1f2f6;
    text-align: left;
    padding: 10px 12px;
    font-weight: 700;
    color: #444;
    border-bottom: 2px solid #e2e4ea;
    white-space: nowrap;
}

.cr-tabla td {
    padding: 10px 12px;
    border-bottom: 1px solid #eceef2;
    vertical-align: middle;
}

.cr-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: #eee;
    color: #555;
}

.cr-badge-vigente {
    background: #d9f2df;
    color: #1e7a3a;
}

.cr-link-pdf {
    color: #c0392b;
    font-weight: 600;
    text-decoration: none;
}

.cr-link-pdf:hover {
    text-decoration: underline;
}

.cr-paginacion {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-bottom: 30px;
}

.cr-page-btn {
    padding: 6px 12px;
    border: 1px solid #cfd3dc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.cr-page-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.cr-page-actual {
    background: #0d1b3e;
    color: #fff;
    border-color: #0d1b3e;
}

@media (max-width: 600px) {
    .cr-header,
    .cr-filtros,
    .cr-resultados-header,
    .cr-contador,
    .cr-tabla-wrapper {
        padding-left: 18px;
        padding-right: 18px;
    }
}
