.btn-style{
padding: 15px 25px;
border-radius: 30px !important;
}
.btn {
border-radius: 50rem!important;
}
table th a, .table-proveedores a {
    color: #000000;
}
#body-hojas-entradas {
    min-height: 400px;
}
.dropdown-menu {
    min-width: 32rem;
}
.div-btn-clear-file{
    display: none;
}
table {
    font-size: 14px;
}
.content-header {
    padding: 5px 0.5rem;
}
.ajustar-width-height{
    width: 30px;
    height: 30px;
}
.gap-4{
    gap: 4px;
}
.card-body.municipios{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.font-25px{
    font-size:25px;
}
.inicio .card.shadow-lg{
    max-height: 180px;height: 100%;
}
.overflow-auto{
overflow: auto;
}
.gap-4{
    gap:4px;
}
.gap-10{
    gap: 10px;
}
.nav-item {font-size: 14px;}
.left-inherit{
    left: inherit;
}
.right-0{
right: 0;
}
.color-red{
color: red;
}
.d-none{
display: none;
}
.opacity-0\.8{
    opacity:0.8;
}
.color-ec7063{
    color:#EC7063;
}
.color-5499C7{
    color:#5499C7;
}
.w-132{
    width:132px;
}
.d-none{
display: none;
}
.adminlte-invalid-igroup {
    box-shadow: 0 .25rem 0.5rem rgba(0,0,0,.1);
}
.adminlte-invalid-igroup > .input-group-prepend > *,
.adminlte-invalid-igroup > .input-group-append > * {
    border-color: #dc3545 !important;
}
.custom-control.custom-checkbox{
    font-size:14px;
}
.btn-primary {
    background-color: #18516e !important;
    border-color: #18516e !important;
}

/* ══ Estilo global de tablas — clases del Directorio de Proveedores ════ */

/* Tabla base */
table.dir-table {
    border-collapse: separate;
    border-spacing:  0;
    width:           100%;
}

/* Cabecera */
.dir-thead-row th {
    background:     #f8faff;
    color:          #1a3a5c;
    font-size:      .78rem;
    font-weight:    700;
    letter-spacing: .4px;
    text-transform: uppercase;
    border-top:     none              !important;
    border-bottom:  2px solid #d0dff5 !important;
    padding:        .65rem .75rem;
    white-space:    nowrap;
}

/* Cabecera oscura: mantener fondo, unificar tipografía */
thead.thead-dark .dir-thead-row th {
    font-size:      .78rem;
    font-weight:    700;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space:    nowrap;
    border-bottom:  2px solid #454d55 !important;
}

/* Celdas del cuerpo — funciona con y sin dir-body-row (DataTables incluido) */
table.dir-table > tbody > tr > td,
table.dir-table > tbody > tr > th,
.dir-body-row > td,
.dir-body-row > th {
    padding:        .6rem .75rem;
    font-size:      .85rem;
    vertical-align: middle;
    border-top:     none                    !important;
    border-bottom:  1px solid #edf2fb      !important;
    transition:     background .15s;
}

/* Última fila sin borde inferior */
table.dir-table > tbody > tr:last-child > td,
table.dir-table > tbody > tr:last-child > th,
.dir-body-row:last-child > td,
.dir-body-row:last-child > th {
    border-bottom: none !important;
}

/* Hover */
table.dir-table > tbody > tr:hover > td,
table.dir-table > tbody > tr:hover > th,
.dir-body-row:hover > td,
.dir-body-row:hover > th {
    background-color: #f0f6ff;
}

/* Bordes table-bordered: suavizar color */
table.dir-table.table-bordered > thead > tr > th,
table.dir-table.table-bordered > thead > tr > td,
table.dir-table.table-bordered > tbody > tr > td,
table.dir-table.table-bordered > tbody > tr > th {
    border-color: #d0dff5 !important;
}

/* ════════════════════════════════════════════════════════════════════════ */

/* ══ Card ══════════════════════════════════════════════════════════════════ */
.dir-card { border: none; border-radius: .5rem; overflow: hidden; }
.dir-card-header {
    background: linear-gradient(135deg, #1a3a5c 0%, #2563a8 100%);
    color: #fff;
    padding: .85rem 1.25rem;
    border-bottom: none;
}
.dir-total-badge {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-weight: 600; font-size: .95rem;
    padding: .3rem .85rem;
    border-radius: 2rem;
    backdrop-filter: blur(4px);
}
.dir-per-page {
    border-radius: 1rem !important;
    font-size: .82rem;
    border-color: rgba(255,255,255,.3) !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
}
.dir-per-page option { color: #333; background: #fff; }

/* ══ Alerta consultor ══════════════════════════════════════════════════════ */
.dir-alert-consultor {
    background: linear-gradient(90deg, #e0f0ff, #f0f7ff);
    border-left: 4px solid #2563a8;
    border-radius: .4rem;
    color: #1a3a5c;
    font-size: .9rem;
}

/* ══ Chips de filtros activos ══════════════════════════════════════════════ */
.dir-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.dir-filter-chip {
    display: inline-flex; align-items: center;
    background: #e8f0fe; color: #1a3a5c;
    border: 1px solid #c3d7f7;
    border-radius: 1rem;
    font-size: .78rem; padding: .15rem .6rem;
}
.dir-clear-link { font-size: .8rem; color: #dc3545; }
.dir-clear-link:hover { color: #a71d2a; }

/* ══ Columnas especiales de cabecera ═══════════════════════════════════════ */
.dir-th-num   { width: 42px; text-align: center; }
.dir-th-action { width: 44px; }

/* ══ Fila de búsqueda ══════════════════════════════════════════════════════ */
.dir-search-row td {
    background: #f0f5ff;
    padding: .4rem .5rem;
    border-bottom: 2px solid #c3d7f7 !important;
}
.dir-search-input {
    border-radius: 1rem !important;
    border: 1px solid #c3d7f7 !important;
    font-size: .8rem;
    background: #fff !important;
    transition: border-color .2s, box-shadow .2s;
}
.dir-search-input:focus {
    border-color: #2563a8 !important;
    box-shadow: 0 0 0 2px rgba(37,99,168,.15) !important;
}
.btn-primary {
    border-radius: 1rem !important;
    width: 100%;
    background: #2563a8;
    border-color: #2563a8;
}
.btn-primary:hover { background: #1a3a5c; border-color: #1a3a5c; }

/* ══ Celda de número ═══════════════════════════════════════════════════════ */
.dir-td-num { text-align: center; font-size: .78rem; font-weight: 600; }

/* ══ Links y nombres de proveedor ══════════════════════════════════════════ */
.dir-prov-link {
    font-weight: 600; color: #1a3a5c;
    text-decoration: none;
}
.dir-prov-link:hover { color: #2563a8; text-decoration: underline; }
.dir-prov-name { font-weight: 600; color: #1a3a5c; }

/* ══ Badges ════════════════════════════════════════════════════════════════ */
.dir-nit-badge {
    display: inline-block;
    font-family: monospace;
    background: #f0f4ff;
    color: #2563a8;
    border: 1px solid #c3d7f7;
    border-radius: .3rem;
    font-size: .78rem;
    padding: .1rem .45rem;
}
.dir-correo-link { font-size: .82rem; color: #2563a8; text-decoration: none; }
.dir-correo-link:hover { text-decoration: underline; }

.dir-ciiu-text { max-width: 180px; font-size: .82rem; }

.dir-ciiu-badge {
    display: inline-block;
    background: #1a3a5c;
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: .18rem .5rem;
    border-radius: .35rem;
    margin: 1px;
    letter-spacing: .3px;
}
.dir-ciiu-principal {
    background: #2563a8;
    outline: 2px solid #a8c4f0;
}
.dir-act-principal {
    font-weight: 600;
    color: #1a3a5c;
}

/* ══ Empty state ═══════════════════════════════════════════════════════════ */
.dir-empty-state { color: #8898aa; }
.dir-empty-state i { font-size: 2.5rem; opacity: .4; }
.dir-empty-state p { font-size: .9rem; }

/* ══ Paginación bar ════════════════════════════════════════════════════════ */
.dir-pagination-bar {
    border-top: 1px solid #edf2fb;
    background: #fafcff;
}
.dir-pagination-bar .pagination { margin-bottom: 0; }
.dir-pagination-bar .page-item.active .page-link {
    background: #2563a8; border-color: #2563a8;
}
.dir-pagination-bar .page-link { color: #2563a8; font-size: .82rem; }
