   .compra-modulo {
        --compra-primary: #2563eb;
        --compra-border: #e5eaf1;
        --compra-muted: #64748b;
    }

    .compra-modulo .card {
        border: 1px solid var(--compra-border) !important;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 3px 18px rgba(15, 23, 42, .04) !important;
    }

    .compra-modulo .card-header {
        background: #fff;
        padding: 20px 24px;
        border-bottom: 1px solid var(--compra-border);
    }

    .compra-modulo .card-body {
        padding: 24px;
    }

    .compra-modulo .seccion-icono {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #eff6ff;
        color: var(--compra-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .compra-modulo .seccion-titulo {
        font-size: 16px;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
    }

    .compra-modulo .seccion-descripcion {
        font-size: 12px;
        color: var(--compra-muted);
        margin: 3px 0 0;
    }

    .compra-modulo .form-label {
        font-size: 12px;
        font-weight: 600;
        color: #475569;
        margin-bottom: 7px;
    }

    .compra-modulo .form-control,
    .compra-modulo .form-select {
        min-height: 42px;
        border: 1px solid #dce3ec;
        border-radius: 8px;
        font-size: 13px;
    }

    .compra-modulo textarea.form-control {
        min-height: 75px;
    }

    .compra-modulo .form-control:focus,
    .compra-modulo .form-select:focus {
        border-color: #93b4fa;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, .09);
    }

    .compra-modulo .condicion-opcion {
        border: 1px solid var(--compra-border);
        border-radius: 11px;
        padding: 15px;
        cursor: pointer;
        transition: .2s ease;
        height: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .compra-modulo .condicion-opcion:hover {
        border-color: #93b4fa;
    }

    .compra-modulo .condicion-opcion.activa {
        border-color: var(--compra-primary);
        background: #eff6ff;
    }

    .compra-modulo .condicion-opcion i {
        font-size: 19px;
        color: var(--compra-primary);
    }

    .compra-modulo .condicion-opcion strong {
        display: block;
        font-size: 13px;
        color: #1e293b;
    }

    .compra-modulo .condicion-opcion small {
        color: var(--compra-muted);
        font-size: 11px;
    }

    .compra-modulo .credito-panel {
        background: #f8faff;
        border: 1px solid #dbeafe;
        border-radius: 12px;
        padding: 20px;
        margin-top: 20px;
    }

    .compra-modulo .resumen-total {
        background: #10213d;
        color: #fff;
        border-radius: 12px;
        padding: 22px;
    }

    .compra-modulo .resumen-total small {
        color: #cbd5e1;
    }

    .compra-modulo .resumen-total h2 {
        font-size: clamp(25px, 4vw, 34px);
        font-weight: 800;
        margin: 8px 0 0;
    }

    .compra-modulo .indicador {
        border: 1px solid var(--compra-border);
        border-radius: 11px;
        padding: 17px;
        height: 100%;
    }

    .compra-modulo .indicador small {
        color: var(--compra-muted);
        font-size: 11px;
    }

    .compra-modulo .indicador h4 {
        font-size: 21px;
        font-weight: 700;
        margin: 7px 0 0;
    }

    .compra-modulo .tabla-compra thead th {
        background: #f8fafc;
        color: #475569;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        white-space: nowrap;
        padding: 14px 12px;
    }

    .compra-modulo .tabla-compra tbody td {
        font-size: 12px;
        vertical-align: middle;
    }

    .compra-modulo .btn {
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        padding: 10px 15px;
    }

    @media (max-width: 767px) {
        .compra-modulo .card-header,
        .compra-modulo .card-body {
            padding: 16px;
        }

        .compra-modulo .credito-panel {
            padding: 15px;
        }
    }



    
/* ==========================================
   TECNET GT - DETALLE DE COMPRAS
========================================== */

.compra-detalle-card {
    border: 1px solid #e5eaf1 !important;
    border-radius: 16px !important;
    background: #ffffff;
    box-shadow: 0 4px 22px rgba(15, 23, 42, 0.045) !important;
    overflow: hidden;
}

/* ENCABEZADO */

.compra-detalle-header {
    padding: 20px 24px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #edf0f5 !important;
}

.compra-detalle-icono {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #2563eb;
    font-size: 19px;
}

.compra-detalle-titulo {
    color: #172b4d;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.compra-detalle-subtitulo {
    color: #8290a5;
    font-size: 12px;
    line-height: 1.5;
}

.compra-detalle-badge {
    background: #f0f7ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 8px 13px;
    font-size: 11px;
    font-weight: 600;
    align-items: center;
}

/* CUERPO */

.compra-detalle-body {
    padding: 22px !important;
}

/* BARRA DE HERRAMIENTAS */

.compra-detalle-toolbar {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #edf1f6;
    border-radius: 13px;
    margin-bottom: 22px;
}

.compra-detalle-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 9px;
}

.compra-detalle-search {
    position: relative;
    display: flex;
    align-items: center;
}

.compra-search-icon {
    position: absolute;
    left: 15px;
    color: #94a3b8;
    font-size: 15px;
    z-index: 2;
    pointer-events: none;
}

.compra-search-input {
    width: 100%;
    height: 46px;
    padding: 10px 14px 10px 44px !important;
    border: 1px solid #dce4ee !important;
    border-radius: 10px !important;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    transition: all 0.2s ease;
}

.compra-search-input:focus {
    border-color: #93b4fa !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .09) !important;
}

.compra-search-input::placeholder {
    color: #a0aec0;
}

.compra-search-ayuda {
    margin-top: 8px;
    font-size: 11px;
    color: #94a3b8;
}

/* BOTONES */

.compra-detalle-acciones {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.compra-detalle-acciones .btn {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
}




/* CONTENEDOR DE TABLA */

.compra-tabla-contenedor {
    border: 1px solid #e7ecf3;
    border-radius: 13px;
    background: #ffffff;
    overflow: hidden;
}

.compra-tabla-encabezado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 19px;
    background: #ffffff;
    border-bottom: 1px solid #edf1f6;
}

.compra-tabla-icono {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f1f5f9;
    color: #475569;
}

.compra-tabla-encabezado h6 {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.compra-tabla-encabezado small {
    font-size: 11px;
    color: #94a3b8;
}

.compra-tabla-etiqueta {
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    color: #64748b;
    border-radius: 20px;
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 600;
}

.compra-tabla-body {
    padding: 12px;
    min-width: 0;
}

/* TABLA DATATABLES */

.compra-detalle-card .tabla-compra {
    margin-bottom: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.compra-detalle-card .tabla-compra thead th {
    background: #f4f7fb;
    color: #526277;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 14px 12px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.compra-detalle-card .tabla-compra tbody td {
    padding: 13px 12px;
    font-size: 12px;
    color: #475569;
    border-bottom: 1px solid #edf1f5;
    vertical-align: middle;
}

.compra-detalle-card .tabla-compra tbody tr:hover {
    background: #f8fbff;
}

.compra-detalle-card .tabla-compra tbody tr:last-child td {
    border-bottom: none;
}

/* DATATABLES */

.compra-detalle-card .dataTables_wrapper {
    width: 100%;
    min-width: 0;
}

.compra-detalle-card .dataTables_wrapper .dataTables_filter input,
.compra-detalle-card .dataTables_wrapper .dataTables_length select {
    border: 1px solid #dce4ee;
    border-radius: 8px;
    padding: 6px 10px;
    background: #ffffff;
}

.compra-detalle-card .dataTables_wrapper .dataTables_info {
    font-size: 11px;
    color: #94a3b8;
    padding-top: 14px;
}

.compra-detalle-card .dataTables_wrapper .dataTables_paginate {
    padding-top: 10px;
}

/* RESPONSIVE TABLET */

@media (max-width: 991.98px) {

    .compra-detalle-acciones {
        justify-content: flex-start;
    }

    .compra-detalle-acciones .btn {
        flex: 1;
    }

}

/* RESPONSIVE MÓVIL */

@media (max-width: 575.98px) {

    .compra-detalle-card {
        border-radius: 12px !important;
    }

    .compra-detalle-header {
        padding: 16px !important;
    }

    .compra-detalle-icono {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 17px;
    }

    .compra-detalle-titulo {
        font-size: 15px;
    }

    .compra-detalle-subtitulo {
        font-size: 11px;
    }

    .compra-detalle-body {
        padding: 12px !important;
    }

    .compra-detalle-toolbar {
        padding: 14px;
        border-radius: 10px;
    }

    .compra-search-input {
        font-size: 12px;
    }

    .compra-detalle-acciones {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 8px;
        width: 100%;
    }

    .compra-detalle-acciones .btn {
        width: 100%;
        padding: 0 9px;
        font-size: 11px;
    }

    .compra-tabla-encabezado {
        padding: 13px;
    }

    .compra-tabla-etiqueta {
        display: none;
    }

    .compra-tabla-body {
        padding: 8px;
    }

    .compra-detalle-card .tabla-compra thead th,
    .compra-detalle-card .tabla-compra tbody td {
        padding: 10px 9px;
        font-size: 11px;
    }

}



/* =========================================
   TECNET GT - DATATABLE COMPRAS
========================================= */

.compra-detalle-card .dataTables_wrapper {
    width: 100%;
    font-family: inherit;
}

/* CONTENEDORES DE SCROLL */

.compra-detalle-card .dataTables_scroll {
    border: 1px solid #e8edf4;
    border-radius: 12px;
    overflow: hidden;
}

.compra-detalle-card .dataTables_scrollHead {
    background: #f3f6fb;
}

.compra-detalle-card .dataTables_scrollBody {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.compra-detalle-card .dataTables_scrollBody::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.compra-detalle-card .dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* ENCABEZADOS */

.compra-detalle-card #lstProductosCompra thead th,
.compra-detalle-card .dataTables_scrollHead th {
    background: #f3f6fb !important;
    color: #52647b !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .35px;
    padding: 14px 12px !important;
    border-bottom: 1px solid #dfe6ef !important;
    white-space: nowrap;
}

/* FILAS */

.compra-detalle-card #lstProductosCompra tbody td {
    padding: 12px 11px !important;
    vertical-align: middle;
    color: #475569;
    font-size: 12px;
    border-bottom: 1px solid #edf1f5;
    background: #ffffff;
}

.compra-detalle-card #lstProductosCompra tbody tr:hover td {
    background: #f6f9ff !important;
}

/* CÓDIGO */

.compra-codigo {
    display: inline-block;
    padding: 5px 9px;
    background: #eef4ff;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* IMAGEN */

.compra-producto-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border: 1px solid #e5eaf1;
    border-radius: 9px;
    background: #ffffff;
    padding: 3px;
}

/* DESCRIPCIÓN */

.compra-col-producto {
    font-weight: 600;
    color: #1e293b !important;
}

/* TOTAL */

.compra-col-total {
    font-weight: 700;
    color: #0f766e !important;
}

/* VENCIMIENTO */

.compra-sin-vencimiento {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
}

/* INPUTS GENERADOS EN CELDAS */

.compra-detalle-card #lstProductosCompra
input.form-control,
.compra-detalle-card #lstProductosCompra
select.form-select {
    min-height: 35px;
    border: 1px solid #dce4ee;
    border-radius: 7px;
    font-size: 12px;
}

.compra-detalle-card #lstProductosCompra
input.form-control:focus {
    border-color: #93b4fa;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .08);
}

/* BOTONES DE ACCIONES */

.compra-detalle-card #lstProductosCompra tbody .btn {
    border-radius: 7px;
    font-size: 11px;
}

/* MÓVIL */

@media (max-width: 767.98px) {

    .compra-detalle-card .dataTables_scrollHead th {
        font-size: 10px;
        padding: 11px 9px !important;
    }

    .compra-detalle-card #lstProductosCompra tbody td {
        padding: 9px 8px !important;
        font-size: 11px;
    }

    .compra-producto-img {
        width: 38px;
        height: 38px;
    }

}



/* =====================================================
   TECNET GT - ADMINISTRAR COMPRAS
   Diseño profesional y responsive
   ===================================================== */

:root {
    --ac-primary: #2563eb;
    --ac-primary-dark: #1d4ed8;
    --ac-bg: #f5f7fb;
    --ac-border: #e5eaf1;
    --ac-text: #172b4d;
    --ac-muted: #64748b;
    --ac-radius: 12px;
    --ac-shadow: 0 4px 18px rgba(15, 23, 42, .055);
}

/* CONTENEDOR PRINCIPAL */

.content-header h4 {
    font-weight: 750;
    color: var(--ac-text);
    letter-spacing: -.5px;
}

.content-header small {
    color: var(--ac-muted);
}

.content .card {
    border-radius: var(--ac-radius);
}

/* TARJETA DE FILTROS */

.content .card.shadow-sm {
    border: 1px solid var(--ac-border);
    box-shadow: var(--ac-shadow) !important;
}

.content .card-header {
    border-radius: 11px 11px 0 0;
}

.content .card-header.color_general {
    padding: 14px 18px;
    font-weight: 600;
}

.content .form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 7px;
}

#compras_desde,
#compras_hasta,
#selProveedor {
    height: 40px;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    transition: .2s ease;
}

#compras_desde:focus,
#compras_hasta:focus,
#selProveedor:focus {
    border-color: var(--ac-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

#btnFiltrarCompras {
    height: 40px;
    border-radius: 8px;
    font-weight: 650;
    font-size: 13px;
    transition: .2s ease;
}

#btnFiltrarCompras:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(37, 99, 235, .2);
}

/* =====================================================
   TARJETAS KPI
   ===================================================== */

#kpiNumeroCompras,
#kpiProductosComprados,
#id_totalCompra {
    font-weight: 800;
    letter-spacing: -.6px;
    font-variant-numeric: tabular-nums;
}

#kpiNumeroCompras {
    color: #2563eb;
}

#id_totalCompra {
    color: #059669;
}

#kpiProductosComprados {
    color: #7c3aed;
}

.content .row.mb-3 > div > .card {
    border: 1px solid var(--ac-border) !important;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.content .row.mb-3 > div > .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .09) !important;
}

.content .row.mb-3 > div > .card small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 9px;
}

.content .row.mb-3 > div > .card h4 {
    font-size: 25px;
}

/* =====================================================
   PESTAÑAS DE COMPRAS
   ===================================================== */

#tabsAdministrarCompras {
    display: flex;
    gap: 8px;
    padding: 12px 15px 0;
    border-bottom: 1px solid var(--ac-border);
    background: #fff;
    border-radius: 12px 12px 0 0;
}

#tabsAdministrarCompras .nav-item {
    margin-bottom: 0;
}

#tabsAdministrarCompras .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
    transition: .2s ease;
}

#tabsAdministrarCompras .nav-link:hover {
    background: #f1f5f9;
    color: var(--ac-primary);
}

#tabsAdministrarCompras .nav-link.active {
    background: #eff6ff;
    color: var(--ac-primary);
    border-bottom-color: var(--ac-primary);
}

#tabsAdministrarCompras .nav-link i {
    font-size: 14px;
}

/* CONTENIDO DE PESTAÑAS */

#panel-listado,
#panel-detalle {
    padding-top: 8px;
}

#tituloDetalleCompra {
    font-size: 15px;
    font-weight: 750;
    color: var(--ac-text);
}

#subtituloDetalleCompra {
    font-size: 12px;
    color: var(--ac-muted);
    margin-top: 4px;
}

#btnQuitarFiltroCompra {
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 13px;
}

/* =====================================================
   TABLAS DATATABLES
   ===================================================== */

/* DataTables clona la tabla del encabezado sin conservar su ID. */
.administrar-compras-tabla {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    font-size: 12.5px;
}

.administrar-compras-tabla thead th {
    padding: 13px 12px;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .35px;
    white-space: nowrap;
    vertical-align: middle;
    border-bottom: none;
}

#lstCompras tbody td,
#lstDetalleCompras tbody td {
    padding: 11px 12px;
    vertical-align: middle;
    border-top: 1px solid #eef2f7;
    color: #334155;
    white-space: nowrap;
}

#lstCompras tbody tr,
#lstDetalleCompras tbody tr {
    transition: background-color .15s ease;
}

#lstCompras tbody tr:hover,
#lstDetalleCompras tbody tr:hover {
    background-color: #eff6ff !important;
}

#lstCompras tbody tr:nth-child(even),
#lstDetalleCompras tbody tr:nth-child(even) {
    background-color: #fafbfd;
}

/* FORMATO NUMÉRICO */

#lstCompras td,
#lstDetalleCompras td {
    font-variant-numeric: tabular-nums;
}

/* ESTADOS */

#lstCompras .badge,
#lstDetalleCompras .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .2px;
}

#lstCompras .badge-success,
#lstDetalleCompras .badge-success {
    color: #047857;
    background: #d1fae5;
}

#lstCompras .badge-danger,
#lstDetalleCompras .badge-danger {
    color: #b91c1c;
    background: #fee2e2;
}

#lstCompras .badge-info,
#lstDetalleCompras .badge-info {
    color: #1d4ed8;
    background: #dbeafe;
}

#lstCompras .badge-secondary,
#lstDetalleCompras .badge-secondary {
    color: #475569;
    background: #e2e8f0;
}

/* =====================================================
   BOTÓN VER DETALLE
   ===================================================== */

#lstCompras .btn-ver-detalle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 650;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    transition: .2s ease;
}

#lstCompras .btn-ver-detalle:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    transform: translateY(-1px);
}

/* =====================================================
   CONTROLES DATATABLES
   ===================================================== */

#panel-listado .dataTables_wrapper,
#panel-detalle .dataTables_wrapper {
    font-size: 12px;
}

#panel-listado .dataTables_filter input,
#panel-detalle .dataTables_filter input {
    height: 35px;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    padding: 6px 12px;
    margin-left: 8px;
    outline: none;
}

#panel-listado .dataTables_filter input:focus,
#panel-detalle .dataTables_filter input:focus {
    border-color: var(--ac-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

#panel-listado .dt-buttons,
#panel-detalle .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

#panel-listado .dt-button,
#panel-detalle .dt-button {
    border-radius: 7px !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    background: #fff !important;
    color: #334155 !important;
    border: 1px solid #dce3ed !important;
    box-shadow: none !important;
}

#panel-listado .dt-button:hover,
#panel-detalle .dt-button:hover {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
}

#panel-listado .dataTables_info,
#panel-detalle .dataTables_info {
    color: #64748b;
    font-size: 12px;
}

#panel-listado .dataTables_paginate,
#panel-detalle .dataTables_paginate {
    margin-top: 10px;
}

#panel-listado .paginate_button,
#panel-detalle .paginate_button {
    border-radius: 6px !important;
    font-size: 12px;
}

/* DESPLAZAMIENTO HORIZONTAL */

/* scrollX mantiene sincronizados el encabezado y el cuerpo en un solo scroll. */
.compras-tabla-contenedor {
    min-width: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 991px) {

    #tabsAdministrarCompras .nav-link {
        padding: 11px 12px;
        font-size: 12px;
    }

    .content .row.mb-3 > div > .card h4 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {

    .content-header h4 {
        font-size: 20px;
    }

    #tabsAdministrarCompras {
        gap: 4px;
        padding: 8px 8px 0;
    }

    #tabsAdministrarCompras .nav-item {
        flex: 1;
    }

    #tabsAdministrarCompras .nav-link {
        justify-content: center;
        text-align: center;
        padding: 11px 7px;
        font-size: 11px;
    }

    #tabsAdministrarCompras .nav-link i {
        font-size: 12px;
    }

    #panel-listado .dataTables_filter,
    #panel-detalle .dataTables_filter {
        float: none;
        text-align: left;
        margin-bottom: 12px;
    }

    #panel-listado .dataTables_filter input,
    #panel-detalle .dataTables_filter input {
        max-width: 100%;
    }

    #panel-listado .dt-buttons,
    #panel-detalle .dt-buttons {
        width: 100%;
    }

    .administrar-compras-tabla thead th {
        font-size: 10px;
        padding: 10px;
    }

    #lstCompras tbody td,
    #lstDetalleCompras tbody td {
        font-size: 11px;
        padding: 9px 10px;
    }

    #btnQuitarFiltroCompra {
        margin-top: 10px;
    }
}

/* =====================================================
   MODO OSCURO ADMINLTE
   ===================================================== */

.dark-mode #tabsAdministrarCompras {
    background: #343a40;
    border-color: #495057;
}

.dark-mode #tabsAdministrarCompras .nav-link {
    color: #cbd5e1;
}

.dark-mode #tabsAdministrarCompras .nav-link.active {
    color: #93c5fd;
    background: #1e3a5f;
}

.dark-mode #lstCompras tbody td,
.dark-mode #lstDetalleCompras tbody td {
    color: #e2e8f0;
    border-color: #495057;
}

.dark-mode #lstCompras tbody tr:nth-child(even),
.dark-mode #lstDetalleCompras tbody tr:nth-child(even) {
    background: #343a40;
}

.dark-mode #lstCompras tbody tr:hover,
.dark-mode #lstDetalleCompras tbody tr:hover {
    background: #374151 !important;
}

.dark-mode #tituloDetalleCompra,
.dark-mode .content-header h4 {
    color: #f1f5f9;
}

.dark-mode #compras_desde,
.dark-mode #compras_hasta,
.dark-mode #selProveedor {
    background: #343a40;
    color: #fff;
    border-color: #59616b;
}
