/* ============================================================
   InfinaRe – Site-wide CSS  (Bootstrap 5.3 + Bootstrap Icons 1.11)
   UI refresh: 45px inputs, larger fonts, spacious layout
   ============================================================ */

:root {
    --sidebar-w: 240px;
    --topbar-h: 60px;
    --sidebar-bg: #2c3e5a;
    --sidebar-hover: #3a5070;
    --sidebar-active: #3d5a80;
    --sidebar-sub-bg: #243348;
    --sidebar-text: #c8d4e0;
    --sidebar-sub-text: #a8bccf;
    --brand-blue: #4a90d9;
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --page-bg: #f0f2f7;
    /* Global sizing tokens */
    --ctrl-h: 45px; /* ALL inputs / selects / buttons */
    --font-base: 15px; /* body & table cells */
    --font-label: 13px; /* form labels */
    --font-small: 13px; /* breadcrumb, hints */
    --font-th: 13px; /* table headers */
    --radius-ctrl: 6px; /* input border-radius */
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: var(--font-base);
    color: #1e293b;
    background: var(--page-bg);
}

/* ════════════════════════════════════════════
   TOPBAR
════════════════════════════════════════════ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-h);
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    z-index: 1040;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: var(--sidebar-w);
    height: 100%;
    flex-shrink: 0;
    padding: 0 18px;
    border-right: 1px solid #e2e8f0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4a90d9, #2563eb);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.logo-name {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

    .logo-name span {
        color: var(--brand-blue);
    }

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    margin-left: auto;
}

.topbar-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 19px;
    padding: 6px 8px;
    border-radius: 7px;
    position: relative;
    transition: background .15s, color .15s;
}

    .topbar-icon-btn:hover {
        background: #f1f5f9;
        color: #1e293b;
    }

.badge-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #fff;
}

.topbar-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 4px 14px 4px 4px;
    cursor: pointer;
    transition: background .15s;
}

    .user-pill:hover {
        background: #f1f5f9;
    }

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4a90d9, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.user-role {
    font-size: 11px;
    color: var(--brand-blue);
    line-height: 1.3;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
}

    .btn-logout:hover {
        background: #fef2f2;
        border-color: #fca5a5;
        color: #dc2626;
    }

.sidebar-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: #64748b;
    font-size: 24px;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 6px;
}

    .sidebar-toggle-btn:hover {
        background: #f1f5f9;
    }

/* ════════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════════ */
.sidebar {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background: #1a2744;
    border-right: 1px solid #0f172a;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1030;
    transition: transform .25s ease;
}

    .sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background: rgba(74,144,217,.25);
        border-radius: 4px;
    }

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

    .nav-menu > li {
        list-style: none;
    }

/* Top-level menu items */
.nav-link-top {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 2px 10px;
    width: calc(100% - 20px);
    border-radius: 9px;
    border: none;
    background: none;
    color: #b8c8de;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s, color .18s;
}

    .nav-link-top > * {
        padding: 10px 12px;
    }

    .nav-link-top i.nav-icon {
        width: 34px;
        height: 34px;
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16.5px;
        flex-shrink: 0;
        background: rgba(255,255,255,.06);
        color: #7a94b8;
        margin-right: 11px;
        padding: 0 !important;
        transition: background .18s, color .18s;
    }

    .nav-link-top .nav-chevron {
        margin-left: auto;
        font-size: 13px;
        color: #5a7090;
        transition: transform .25s, color .15s;
        padding: 0 !important;
    }

    /* hover */
    .nav-link-top:hover {
        background: rgba(255,255,255,.06);
        color: #ffffff;
    }

        .nav-link-top:hover i.nav-icon {
            background: rgba(74,144,217,.25);
            color: #7eb8f7;
        }

        .nav-link-top:hover .nav-chevron {
            color: #7eb8f7;
        }

    /* open parent */
    .nav-link-top.open {
        background: rgba(255,255,255,.06);
        color: #ffffff;
    }

        .nav-link-top.open i.nav-icon {
            background: rgba(74,144,217,.25);
            color: #7eb8f7;
        }

        .nav-link-top.open .nav-chevron {
            transform: rotate(90deg);
            color: #7eb8f7;
        }

    /* active (selected) */
    .nav-link-top.active {
        background: var(--brand-blue);
        color: #fff;
        box-shadow: 0 2px 6px rgba(74,144,217,.35);
    }

        .nav-link-top.active i.nav-icon {
            background: rgba(255,255,255,.22);
            color: #fff;
        }

        .nav-link-top.active .nav-chevron {
            color: rgba(255,255,255,.8);
        }

/* ── Submenu (smooth expand) ── */
.nav-submenu {
    list-style: none;
    margin: 2px 10px 4px;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    background: rgba(0,0,0,.25);
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.05);
    transition: max-height .3s cubic-bezier(.4,0,.2,1), opacity .25s, padding .2s;
}

    .nav-submenu.open {
        max-height: 700px;
        opacity: 1;
        padding: 6px 0;
    }

    .nav-submenu > li {
        list-style: none;
    }

.nav-link-sub {
    display: block;
    padding: 9px 14px 9px 16px;
    color: #8aa0bc;
    font-size: 14.3px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s, padding .15s;
}

    .nav-link-sub:hover {
        background: rgba(255,255,255,.05);
        color: #e2eaf5;
    }

    .nav-link-sub.active {
        color: #7eb8f7;
        font-weight: 600;
        background: rgba(74,144,217,.15);
        border-left-color: var(--brand-blue);
        padding-left: 13px;
    }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1025;
}

    .sidebar-overlay.open {
        display: block;
    }

/* ════════════════════════════════════════════
   MAIN LAYOUT
════════════════════════════════════════════ */
.main-wrap {
    margin-left: var(--sidebar-w);
    margin-top: var(--topbar-h);
}

.page-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 28px;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.breadcrumb-bar {
    font-size: var(--font-small);
    color: #94a3b8;
    margin-top: 3px;
}

    .breadcrumb-bar a {
        color: #94a3b8;
        text-decoration: none;
    }

        .breadcrumb-bar a:hover {
            color: var(--brand-blue);
        }

    .breadcrumb-bar .bc-active {
        color: var(--amber);
    }

.content-body {
    padding: 24px 28px 50px;
}

/* ════════════════════════════════════════════
   PANELS / CARDS
════════════════════════════════════════════ */
.panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e8ecf4;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

    .panel-header i {
        color: var(--brand-blue);
        font-size: 16px;
    }

.panel-body {
    padding: 20px 22px;
}

/* ── Stat Cards ── */
.stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
}

.stat-change {
    font-size: 12px;
    margin-top: 4px;
}

    .stat-change.up {
        color: #16a34a;
    }

    .stat-change.down {
        color: #dc2626;
    }

/* ════════════════════════════════════════════
   FORM CONTROLS  (35px height across the board)
════════════════════════════════════════════ */
.form-label-custom {
    font-size: var(--font-label);
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.req {
    color: #ef4444;
}

.form-ctrl {
    width: 100%;
    height: var(--ctrl-h); /* ← 35px */
    border: 1px solid #c9d3df;
    border-radius: var(--radius-ctrl);
    padding: 0 12px;
    font-size: var(--font-base); /* ← 15px */
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: border .15s, box-shadow .15s;
}

    .form-ctrl::placeholder {
        color: #b0bec5;
    }

    .form-ctrl:focus {
        border-color: var(--brand-blue);
        box-shadow: 0 0 0 3px rgba(74,144,217,.14);
    }

    .form-ctrl.is-invalid {
        border-color: #ef4444;
        box-shadow: 0 0 0 3px rgba(239,68,68,.1);
    }

textarea.form-ctrl {
    height: 80px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.5;
}

select.form-ctrl {
    appearance: auto;
    cursor: pointer;
}

.invalid-feedback-custom {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    display: none;
}

    .invalid-feedback-custom.show {
        display: block;
    }

/* ── Phone group ── */
.phone-wrap {
    display: flex;
    gap: 8px;
}

.phone-cc {
    width: 90px;
    flex-shrink: 0;
    height: var(--ctrl-h);
    border: 1px solid #c9d3df;
    border-radius: var(--radius-ctrl);
    font-size: var(--font-base);
    padding: 0 8px;
    background: #fff;
    outline: none;
    cursor: pointer;
}

    .phone-cc:focus {
        border-color: var(--brand-blue);
    }

.phone-num {
    flex: 1;
    height: var(--ctrl-h);
    border: 1px solid #c9d3df;
    border-radius: var(--radius-ctrl);
    font-size: var(--font-base);
    padding: 0 12px;
    background: #fff;
    outline: none;
}

    .phone-num:focus {
        border-color: var(--brand-blue);
        box-shadow: 0 0 0 3px rgba(74,144,217,.14);
    }

/* ── Toggle ── */
.toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
}

.toggle-lbl {
    font-size: var(--font-label);
    font-weight: 500;
    color: #374151;
}

.toggle-switch {
    position: relative;
    width: 46px;
    height: 25px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #cbd5e1;
    border-radius: 25px;
    transition: .2s;
}

    .toggle-slider::before {
        content: '';
        position: absolute;
        width: 19px;
        height: 19px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: .2s;
    }

.toggle-switch input:checked + .toggle-slider {
    background: var(--brand-blue);
}

    .toggle-switch input:checked + .toggle-slider::before {
        transform: translateX(21px);
    }

.toggle-val {
    font-size: var(--font-label);
    font-weight: 600;
    color: #374151;
}

/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
/* Shared height = 35px so buttons align with inputs */
.btn-search,
.btn-export,
.btn-amber,
.btn-reset,
.btn-save,
.btn-close-form {
    height: var(--ctrl-h);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: var(--font-label);
    font-weight: 600;
    border-radius: var(--radius-ctrl);
    border: none;
    cursor: pointer;
    padding: 0 20px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-search {
    background: var(--brand-blue);
    color: #fff;
}

    .btn-search:hover {
        background: #3a7bc8;
        color: #fff;
    }

.btn-export {
    background: var(--brand-blue);
    color: #fff;
}

    .btn-export:hover {
        background: #3a7bc8;
        color: #fff;
    }

.btn-amber {
    background: var(--amber);
    color: #fff;
}

    .btn-amber:hover {
        background: var(--amber-dark);
        color: #fff;
    }

.btn-reset {
    background: #fff;
    color: #475569;
    border: 1px solid #c9d3df;
}

    .btn-reset:hover {
        background: #f1f5f9;
    }

.btn-save {
    background: var(--amber);
    color: #fff;
    padding: 0 32px;
}

    .btn-save:hover {
        background: var(--amber-dark);
    }

.btn-close-form {
    background: var(--brand-blue);
    color: #fff;
}

    .btn-close-form:hover {
        background: #3a7bc8;
        color: #fff;
    }

/* Row/icon action buttons */
.btn-edit {
    width: 32px;
    height: 32px;
    background: var(--brand-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

    .btn-edit:hover {
        background: #3a7bc8;
    }

.btn-del {
    width: 32px;
    height: 32px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

    .btn-del:hover {
        background: #dc2626;
    }

/* ════════════════════════════════════════════
   TABLE
════════════════════════════════════════════ */
.tbl-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 10px;
}

.tbl-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.tbl-count {
    font-size: 13px;
    color: #94a3b8;
    margin-left: 7px;
}

.tbl-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.show-select {
    height: var(--ctrl-h);
    border: 1px solid #c9d3df;
    border-radius: 6px;
    font-size: 13px;
    padding: 0 8px;
    color: #374151;
    outline: none;
}

    .show-select:focus {
        border-color: var(--brand-blue);
    }

.search-wrap {
    position: relative;
}

    .search-wrap i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        color: #94a3b8;
        pointer-events: none;
    }

.quick-search {
    height: var(--ctrl-h);
    border: 1px solid #c9d3df;
    border-radius: 6px;
    font-size: 14px;
    padding: 0 10px 0 34px;
    width: 200px;
    outline: none;
}

    .quick-search:focus {
        border-color: var(--brand-blue);
    }

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-base);
}

    table.data-table thead tr {
        background: #f0f4f8;
    }

    table.data-table th {
        padding: 12px 14px;
        text-align: left;
        font-size: var(--font-th);
        font-weight: 600;
        color: #475569;
        border-bottom: 2px solid #e2e8f0;
        white-space: nowrap;
        cursor: pointer;
        user-select: none;
    }

        table.data-table th:hover {
            color: var(--brand-blue);
        }

        table.data-table th .sort-icon {
            font-size: 11px;
            color: #cbd5e1;
            margin-left: 4px;
        }

    table.data-table td {
        padding: 10px 5px;
        border-bottom: 1px solid #f1f5f9;
        color: #374151;
        vertical-align: middle;
        font-size: var(--font-base);
    }

    table.data-table tbody tr:hover {
        background: #f8fbff;
    }

    table.data-table tbody tr:last-child td {
        border-bottom: none;
    }

.company-link {
    color: var(--amber);
    font-weight: 600;
    text-decoration: none;
   
}

    /*.company-link:hover {
        text-decoration: underline;
        color: var(--amber-dark);
    }*/

.company-addr {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 3px;
}

.shortcode {
    font-size: 13px;
    color: #64748b;
    font-family: monospace;
}

.contact-role {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.contact-email {
    font-size: 12px;
    color: #94a3b8;
}

.badge-active {
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 11px;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-inactive {
    background: #fee2e2;
    color: #991b1b;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 11px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Pagination ── */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 8px;
}

.pg-btns {
    display: flex;
    gap: 4px;
}

.pg-btn {
    min-width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 5px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

    .pg-btn:hover {
        background: #f1f5f9;
    }

    .pg-btn.active {
        background: var(--brand-blue);
        color: #fff;
        border-color: var(--brand-blue);
    }

    .pg-btn:disabled {
        color: #cbd5e1;
        cursor: default;
        pointer-events: none;
    }

/* ════════════════════════════════════════════
   FORM SECTIONS
════════════════════════════════════════════ */
.form-section-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    background: #f8fafc;
    border-top: 1px solid #e8ecf4;
    border-bottom: 1px solid #e8ecf4;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

    .form-section-header:first-child {
        border-top: none;
    }

    .form-section-header i {
        color: var(--brand-blue);
        font-size: 16px;
    }

.form-section-body {
    padding: 22px 24px;
}

.contact-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--amber);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 22px;
    background: #f8fafc;
    border-top: 1px solid #e8ecf4;
}

/* ════════════════════════════════════════════
   TOAST
════════════════════════════════════════════ */
.toast-wrap {
    position: fixed;
    top: 70px;
    right: 22px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}

    .toast-item.show {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    .toast-item.success {
        background: #16a34a;
    }

    .toast-item.error {
        background: #dc2626;
    }

    .toast-item.info {
        background: var(--brand-blue);
    }

/* ════════════════════════════════════════════
   DASHBOARD ACTIVITY
════════════════════════════════════════════ */
.act-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

    .act-item:last-child {
        border: none;
    }

.act-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.act-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.act-sub {
    font-size: 12px;
    color: #94a3b8;
}

.act-time {
    font-size: 12px;
    color: #cbd5e1;
    margin-left: auto;
    white-space: nowrap;
}

/* ── Empty state ── */
.empty-state {
    text-align: center;
   /* padding: 48px 20px;*/
    color: #94a3b8;
}

    .empty-state i {
        font-size: 40px;
        display: block;
        margin-bottom: 10px;
    }

    .empty-state p {
        font-size: 14px;
    }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.open {
            transform: translateX(0);
        }

    .main-wrap {
        margin-left: 0;
    }

    .topbar-brand {
        width: auto;
        border-right: none;
    }

    .sidebar-toggle-btn {
        display: inline-flex !important;
    }

    .user-info {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --font-base: 14px;
    }

    .content-body {
        padding: 16px 14px 36px;
    }

    .btn-logout span {
        display: none;
    }

    .page-header {
        padding: 13px 16px;
    }

    .form-section-body {
        padding: 16px 14px;
    }

    .tbl-toolbar {
        padding: 12px 14px;
    }

    .quick-search {
        width: 140px;
    }
}
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
}

.pagination-info {
    color: #64748b;
    font-size: 14px;
    padding-left:20px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right:20px;
}

.page-number,
.page-btn {
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    background: #fff;
    transition: .2s;
}

    .page-number:hover,
    .page-btn:hover {
        background: #f8fafc;
        border-color: #2563eb;
        color: #2563eb;
    }

    .page-number.active {
        background: #2563eb;
        color: #fff;
        border-color: #2563eb;
    }

    .page-btn.disabled {
        pointer-events: none;
        opacity: .45;
    }