/* ============================================
   CUSTOM.CSS - GENERAL PARA TODO EL SITIO.
   ============================================ */

.border-none {
    border: none !important;
}

.border-left {
    border-left: 1px solid var(--border-soft) !important;
}

.card-icon {
    margin-top: -4px;
    font-size: 0.92em;
    vertical-align: middle;
    color: #999 !important;
}

.note-card {
    color: var(--brand-heading);
    background-color: var(--bs-info-bg-subtle);
    border: 1px solid var(--bs-info-border-subtle) !important;
}

/* ============================================
   DATATABLES - TABLE RESPONSIVE OVERRIDES.
   ============================================ */

.table-responsive table {
    margin: 0 !important;
}

.table-responsive .dataTables_wrapper > .row:first-of-type {
    border-bottom: 1px solid var(--border-data) !important;
}

.table-responsive .dataTables_wrapper > .row:last-of-type {
    border-top: 1px solid var(--border-data) !important;
}

.table-responsive .dataTables_wrapper > .row:nth-of-type(2) {
    overflow-x: auto !important;
}

.table-responsive table thead > tr > *,
.table-responsive table tbody > tr > * {
    width: 1%;
}

    .table-responsive table thead > tr > *:first-child,
    .table-responsive table tbody > tr > *:first-child {
        border-right: 1px solid var(--border-data);
        left: 0;
        position: sticky !important;
    }

    .table-responsive table thead > tr > *:first-child,
    .table-responsive table tbody > tr > *:first-child {
        background-color: var(--bs-table-bg);
        z-index: 5;
    }

.table-responsive table tbody > tr:last-child > * {
    border-bottom: 0 !important;
}

.table-responsive .dataTables_filter,
.table-responsive .dataTables_info,
.table-responsive .dataTables_length {
    padding: 0.5rem;
}

.table-responsive .dataTables_paginate {
    padding: 0.4rem;
}

    .table-responsive .dataTables_paginate .page-link {
        font-size: 0.9rem;
    }
