/**
 * RuoYi font scale ¡ª proportional nudge, keep hierarchy.
 *
 * Default RuoYi/Bootstrap: body 14 / menu~14 / btn 14 / btn-sm 12 / table inherit / small 12 / h5 12
 * Goal: slightly larger for readability, NOT flatten all sizes to the same px.
 *
 * Scale:
 *   body        14 -> 15  (+1, base)
 *   primary UI  inherit body
 *   secondary   12/13 -> 13/14  (+1)
 *   headings    +1~+2 by level (larger titles grow a bit more)
 *   compact UI  stay smaller than body (btn-sm / meta / hints)
 */
body {
    font-size: 15px;
}

/* ---- Headings: keep step ladder ---- */
h1 { font-size: 32px; } /* 30 +2 */
h2 { font-size: 26px; } /* 24 +2 */
h3 { font-size: 17px; } /* 16 +1 */
h4 { font-size: 15px; } /* 14 +1 */
h5 { font-size: 13px; } /* 12 +1 */
h6 { font-size: 11px; } /* 10 +1 */

/* ---- Shell: menu / topbar / tabs (near body, not oversized) ---- */
.nav > li > a,
.navbar-default .nav > li > a {
    font-size: 14px;
}
.nav.navbar-right > li > a,
.nav.navbar-left > li > a {
    font-size: 15px;
}
.nav-label {
    font-size: 14px;
}
.page-tabs a {
    font-size: 13px;
}
.dropdown-menu > li > a,
.navbar-top-links .dropdown-menu li a {
    font-size: 14px;
}

/* ---- Controls: default follows body; compact stays a step smaller ---- */
.form-control {
    font-size: 15px;
}
.btn {
    font-size: 15px;
}
.btn-sm,
.btn-group-sm > .btn {
    font-size: 13px; /* was 12 */
}
.btn-xs,
.btn-group-xs > .btn {
    font-size: 11px; /* was 10 */
}
.select2-container--bootstrap .select2-selection--single,
.select2-container--bootstrap .select2-selection--multiple {
    font-size: 15px;
}

/* ---- Tables / list pages: inherit body; pagination secondary ---- */
.table,
.bootstrap-table .table {
    font-size: 15px;
}
.fixed-table-toolbar {
    font-size: 14px;
}
.fixed-table-pagination,
.pagination > li > a,
.pagination > li > span,
.pagination-info,
.page-list {
    font-size: 13px;
}

/* ---- Search collapse (RuoYi list filter) ---- */
.select-list li,
.select-list li label:not(.radio-box) {
    font-size: 14px;
}
.select-list li input,
.select-list li select {
    font-size: 14px;
    height: 32px;
}
.select-list .btn-sm {
    font-size: 13px;
}

/* ---- Cards / ibox titles ---- */
.ibox-title h5,
.dashboard-header h5,
.ibox-title-gray h5 {
    font-size: 14px;
}
.ibox-content {
    font-size: 15px;
}

/* ---- Modal / layer ---- */
.layui-layer-title {
    font-size: 15px;
}
.layui-layer-content,
.layui-layer-btn a,
.modal-body {
    font-size: 14px;
}
.modal-title {
    font-size: 16px;
}

/* ---- Tabs / tree ---- */
.nav-tabs > li > a,
.nav-tabs-custom > .nav-tabs > li > a {
    font-size: 14px;
}
.ztree li a {
    font-size: 14px;
}

/* ---- Charge ops: restore hierarchy (do not force one size) ---- */
.charge-page {
    font-size: 15px;
}
.charge-page .select-list li > label:not(.radio-box) {
    font-size: 13px;
}
.charge-page .select-list li input,
.charge-page .select-list li select {
    font-size: 14px;
}
.charge-page .select-list li .btn {
    font-size: 13px;
}
.charge-page .gw-stat-k,
.charge-card-meta,
.charge-meta-brief,
.gw-meta-pop {
    font-size: 13px;
}
.charge-page .gw-stat-v {
    font-size: 17px;
}
.gw-card-hd h5 {
    font-size: 14px;
}
.gw-table > thead > tr > th {
    font-size: 13px;
}
.gw-table > tbody > tr > td {
    font-size: 14px;
}
.gw-table > thead > tr > th .gw-th-hint,
.gw-port-tag,
.gw-td-ops .gw-link,
.gw-sec-title,
.gw-detail-line,
.gw-kv,
.gw-detail-status {
    font-size: 12px;
}
.gw-actions .btn {
    font-size: 14px;
}
.charge-table-pagination,
.charge-table-pagination .pagination-detail {
    font-size: 13px;
}
