.bg-custom-light {
    background-color: #e9ecf0; /* Gris base */
}

body {
    color: #3d3d3d !important;
    /* Color de texto negro en toda la página */
}


.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}

.page-item {
    display: inline-block;
}

.page-link {
    border-radius: 6px;
    padding: 8px 12px;
    color: #007bff;
    border: 1px solid #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.page-link:hover {
    background-color: #007bff;
    color: white;
}

.page-item.active .page-link {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}



.cupo-disponible {
    background-color: #198754;
    /* Verde intenso */
    color: white !important;
    font-weight: bold;
    border-radius: 8px;
}

.cupo-aprobado {
    background-color: #0d6efd;
    /* Azul intenso */
    color: white !important;
    font-weight: bold;
    border-radius: 8px;
}

.cupo-disponible h5,
.cupo-aprobado h5 {
    font-size: 1.3rem;
    font-weight: bold;
}

/* ==============================
   DASHBOARD GENERAL
============================== */

.card-dashboard {
    border-radius: 16px;
    border: 1px solid #eef0f3;
    background: #fff;
}

.icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f3f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #495057;
}

.kpi-label {
    font-size: 14px;
    color: #6c757d;
}

.kpi-value {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
}

/* Variaciones */
.badge-up {
    background: #000;
    color: #fff;
    font-weight: 600;
}

.badge-down {
    background: #fdeaea;
    color: #d93025;
    font-weight: 600;
}

/* ==============================
   GAUGE
============================== */

.gauge-wrapper {
    max-width: 260px;
    margin: 0 auto;
    position: relative;
}

.gauge-center {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* ==============================
   MONTHLY TARGET FOOTER
============================== */

.target-footer {
    border-top: 1px solid #eef0f3;
    background: #f8f9fb;
    border-radius: 0 0 16px 16px;
}

/* ===== Mini Vertical Bars (Table) ===== */
.spark-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 48px;
}

.spark-bar {
    width: 8px;
    border-radius: 6px;
    background: #4f5bd5;
    opacity: .9;
}

.spark-bar.clientes {
    background: #20c997;
}

.spark-value {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}
