/* ==========================================================
 * Global Font-Weight Boost
 * ──────────────────────────────────────────────────────────
 * Variable central para aumentar el bold de toda la UI.
 * Cambiar --font-weight-boost a 0 restaura los pesos originales.
 *
 * Este archivo se carga AL FINAL de la cascada CSS para que
 * sus overrides ganen sobre Bootstrap, AdminLTE y los temas
 * custom del proyecto.
 * ========================================================== */
:root {
    --font-weight-boost: 100;
}

/* ==========================================================
 * UTILITY CLASSES (para reemplazar inline styles en Blade)
 * ========================================================== */
.fw-light    { font-weight: calc(300 + var(--font-weight-boost)) !important; }
.fw-normal   { font-weight: calc(400 + var(--font-weight-boost)) !important; }
.fw-medium   { font-weight: calc(500 + var(--font-weight-boost)) !important; }
.fw-semibold { font-weight: calc(600 + var(--font-weight-boost)) !important; }
.fw-bold     { font-weight: calc(700 + var(--font-weight-boost)) !important; }
.fw-extrabold{ font-weight: calc(800 + var(--font-weight-boost)) !important; }

/* ==========================================================
 * BOOTSTRAP 3 BASE
 * ========================================================== */
body,
.form-control,
input,
select,
textarea,
.dropdown-menu > li > a,
.pagination > li > a,
.pagination > li > span,
.nav > li > a,
.list-group-item,
.breadcrumb > li,
.well,
.jumbotron,
.help-block,
.input-group-addon,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    font-weight: calc(400 + var(--font-weight-boost)) !important;
}

b,
strong,
.bold,
.lead,
.label,
.badge,
.close {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: calc(500 + var(--font-weight-boost)) !important;
}

/* ==========================================================
 * BOOTSTRAP 3 BUTTONS
 * ========================================================== */
.btn,
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.btn-xs,
.btn-sm,
.btn-lg {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

/* ==========================================================
 * ADMINLTE BASE
 * ========================================================== */
.main-header .navbar .nav > li > a,
.sidebar-menu > li > a,
.sidebar-menu > li > .treeview-menu > li > a,
.user-panel .info > a,
.box-body,
.panel-body,
.modal-body,
.callout,
.alert {
    font-weight: calc(400 + var(--font-weight-boost)) !important;
}

/* AdminLTE bold elements */
.main-header .logo,
.box-title,
.panel-title,
.modal-title,
.content-header > h1,
.small-box .inner > h3,
.small-box .inner > p,
.info-box-text,
.info-box-number,
.table > thead > tr > th,
.callout h4,
.alert h4,
.user-menu .user-header > p,
.nav-tabs > li.active > a,
.sidebar-menu > li.header,
.main-footer strong,
.main-footer a,
.box-tools .label {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

/* AdminLTE specific weights */
.nav-tabs > li > a {
    font-weight: calc(500 + var(--font-weight-boost)) !important;
}

/* ==========================================================
 * MODERN-OVERRIDES THEME
 * ========================================================== */
body.modern-ui,
body.modern-ui .content-wrapper,
body.modern-ui .main-content,
body.modern-ui input,
body.modern-ui select,
body.modern-ui textarea,
body.modern-ui button,
body.modern-ui .dropdown-menu > li > a,
body.modern-ui .form-control,
body.modern-ui .table tbody td,
body.modern-ui .table tbody tr,
body.modern-ui .pagination > li > a,
body.modern-ui .pagination > li > span,
body.modern-ui .list-group-item,
body.modern-ui .help-block {
    font-weight: calc(400 + var(--font-weight-boost)) !important;
}

body.modern-ui b,
body.modern-ui strong,
body.modern-ui .btn,
body.modern-ui .label,
body.modern-ui .badge,
body.modern-ui .box-title,
body.modern-ui .modal-title,
body.modern-ui .table thead th,
body.modern-ui .small-box h3,
body.modern-ui .main-header .logo,
body.modern-ui .sidebar-menu > li.active > a,
body.modern-ui .nav-tabs > li.active > a,
body.modern-ui .info-box-text {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

body.modern-ui .sidebar-menu > li > a {
    font-weight: calc(500 + var(--font-weight-boost)) !important;
}

body.modern-ui .box-header > .box-title {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

body.modern-ui .table thead th {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

body.modern-ui .pos-conn-bar {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

body.modern-ui .pos-queue-badge {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

/* ==========================================================
 * CORPORATE THEME
 * ========================================================== */
:root[data-theme] body,
:root[data-theme] .content-wrapper,
:root[data-theme] .main-sidebar,
:root[data-theme] .modern-sidebar,
:root[data-theme] .main-header,
:root[data-theme] .modal,
:root[data-theme] .dropdown-menu,
:root[data-theme] input,
:root[data-theme] select,
:root[data-theme] textarea,
:root[data-theme] button,
:root[data-theme] .form-control,
:root[data-theme] .table > tbody > tr > td,
:root[data-theme] .table > tfoot > tr > td,
:root[data-theme] .dropdown-menu > li > a,
:root[data-theme] .help-block,
:root[data-theme] .input-group-addon,
:root[data-theme] .modern-submenu .modern-nav-link,
:root[data-theme] .modern-nav-item ul .modern-nav-link {
    font-weight: calc(400 + var(--font-weight-boost)) !important;
}

:root[data-theme] .content-header > h1 {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

:root[data-theme] .main-header .navbar-custom-menu > .nav > li > a,
:root[data-theme] .main-header .sidebar-toggle {
    font-weight: calc(500 + var(--font-weight-boost)) !important;
}

:root[data-theme] .main-header .logo {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

:root[data-theme] .modern-sidebar-header {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

:root[data-theme] .modern-nav-header {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

:root[data-theme] .modern-nav-item > .modern-nav-link,
:root[data-theme] .modern-nav-item .modern-nav-link {
    font-weight: calc(500 + var(--font-weight-boost)) !important;
}

:root[data-theme] .modern-nav-item.active > .modern-nav-link {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

:root[data-theme] .modern-sidebar .modern-user-info .name,
:root[data-theme] .modern-sidebar .user-panel .info > p {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

:root[data-theme] .box-header .box-title,
:root[data-theme] .panel-heading .panel-title {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

:root[data-theme] .small-box > .inner > h3,
:root[data-theme] .info-box-number {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

:root[data-theme] .small-box > .inner > p,
:root[data-theme] .small-box > .small-box-footer,
:root[data-theme] .info-box-text {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

:root[data-theme] .table > thead > tr > th {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

:root[data-theme] .form-group label,
:root[data-theme] .control-label {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

:root[data-theme] .btn {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

:root[data-theme] .nav-tabs > li > a {
    font-weight: calc(500 + var(--font-weight-boost)) !important;
}

:root[data-theme] .nav-tabs > li.active > a,
:root[data-theme] .nav-tabs > li.active > a:hover {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

:root[data-theme] .modal-header .modal-title {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

:root[data-theme] .user-menu .user-header > p {
    font-weight: calc(600 + var(--font-weight-boost)) !important;
}

:root[data-theme] .user-menu .user-header > p > small {
    font-weight: calc(400 + var(--font-weight-boost)) !important;
}

:root[data-theme] .label {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

:root[data-theme] .main-footer {
    font-weight: calc(400 + var(--font-weight-boost)) !important;
}

:root[data-theme] .main-footer strong,
:root[data-theme] .main-footer a {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

/* ==========================================================
 * TABLAS — cobertura explícita universal (Bootstrap + DataTables + genéricas)
 * ========================================================== */
table thead th,
table thead td,
table tfoot th,
table tfoot td,
.table thead th,
.table thead td,
.table tfoot th,
.table tfoot td,
table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}

table tbody th,
table tbody td,
.table tbody th,
.table tbody td,
table.dataTable tbody th,
table.dataTable tbody td {
    font-weight: calc(400 + var(--font-weight-boost)) !important;
}

/* ==========================================================
 * THIRD-PARTY PLUGIN OVERRIDES
 * ========================================================== */
.dtp div.dtp-picker-month,
.dtp div.dtp-actual-time,
.dtp a.dtp-meridien-am,
.dtp a.dtp-meridien-pm {
    font-weight: calc(500 + var(--font-weight-boost)) !important;
}
.dtp table.dtp-picker-days tr > td,
.dtp table.dtp-picker-days tr > th {
    font-weight: calc(700 + var(--font-weight-boost)) !important;
}
