/* ==========================================================================
   DashLite CMS — FuchaWeb3 Admin Theme
   Based on DashLite Demo 3 CMS Template
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --dl-primary: #6576ff;
    --dl-primary-light: #e1e4ff;
    --dl-primary-dim: rgba(101, 118, 255, 0.1);
    --dl-indigo: #816bff;
    --dl-body-bg: #f5f6fa;
    --dl-sidebar-bg: #ffffff;
    --dl-sidebar-width: 280px;
    --dl-header-height: 65px;
    --dl-border-color: #dbdfea;
    --dl-text-title: #364a63;
    --dl-text-main: #526484;
    --dl-text-soft: #8094ae;
    --dl-text-light: #b7c2d0;
    --dl-success: #1ee0ac;
    --dl-warning: #f4bd0e;
    --dl-danger: #e85347;
    --dl-info: #09c2de;
    --dl-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    --dl-card-radius: 4px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dl-body-bg);
    color: var(--dl-text-main);
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

a {
    color: var(--dl-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #4a5de8;
}

/* ---------- Layout Structure ---------- */
.nk-app-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nk-main {
    flex-grow: 1;
    display: flex;
}

.nk-wrap {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    transition: margin 0.3s ease;
}

/* =============================================
   SIDEBAR — White DashLite CMS Style
   ============================================= */
.nk-sidebar {
    width: var(--dl-sidebar-width);
    background: var(--dl-sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1050;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid var(--dl-border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nk-sidebar-head {
    padding: 0 24px;
    height: var(--dl-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--dl-border-color);
    flex-shrink: 0;
}

.nk-sidebar-brand .logo-link {
    text-decoration: none;
}

.nk-sidebar-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 0;
}

.nk-sidebar-body::-webkit-scrollbar {
    width: 4px;
}

.nk-sidebar-body::-webkit-scrollbar-thumb {
    background: var(--dl-border-color);
    border-radius: 4px;
}

/* Sidebar Menu */
.nk-menu {
    padding: 0;
    list-style: none;
    margin: 0;
}

.nk-menu-heading {
    padding: 20px 24px 8px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 11px;
    font-weight: 700;
    color: var(--dl-text-soft);
}

.nk-menu-heading:first-child {
    padding-top: 4px;
}

.nk-menu-item {
    display: block;
    position: relative;
}

.nk-menu-link {
    padding: 8px 24px;
    color: var(--dl-text-main);
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.nk-menu-link:hover {
    color: var(--dl-primary);
    background: #f8f9fe;
}

.nk-menu-icon {
    margin-right: 12px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    color: var(--dl-text-soft);
    transition: color 0.2s;
}

.nk-menu-text {
    flex: 1;
}

/* Active State */
.nk-menu-item.active>.nk-menu-link {
    color: var(--dl-primary);
    font-weight: 600;
}

.nk-menu-item.active>.nk-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--dl-primary);
    border-radius: 0 3px 3px 0;
}

.nk-menu-item.active>.nk-menu-link .nk-menu-icon {
    color: var(--dl-primary);
}

/* Dropdown Menu Toggle Arrow */
.nk-menu-toggle::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 10px;
    color: var(--dl-text-light);
    transition: transform 0.3s;
    margin-left: auto;
}

.nk-menu-item.active>.nk-menu-toggle::after,
.nk-menu-item.open>.nk-menu-toggle::after {
    transform: rotate(90deg);
}

/* Sub-menu */
.nk-menu-sub {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.nk-menu-item.open>.nk-menu-sub {
    display: block;
}

.nk-menu-sub .nk-menu-link {
    padding: 6px 24px 6px 60px;
    font-size: 13px;
    font-weight: 400;
    color: var(--dl-text-soft);
}

.nk-menu-sub .nk-menu-link:hover {
    color: var(--dl-primary);
}

.nk-menu-sub .nk-menu-item.active>.nk-menu-link {
    color: var(--dl-primary);
    font-weight: 500;
}

.nk-menu-sub .nk-menu-item.active>.nk-menu-link::before {
    display: none;
}

/* Sidebar Bottom User */
.nk-sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--dl-border-color);
    flex-shrink: 0;
}

/* =============================================
   HEADER — DashLite Style
   ============================================= */
.nk-header {
    height: var(--dl-header-height);
    background: #fff;
    border-bottom: 1px solid var(--dl-border-color);
    position: sticky;
    top: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
}

.nk-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nk-header-tools {
    margin-left: auto;
}

.nk-quick-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nk-quick-nav>li>a,
.nk-quick-nav>li>.dropdown-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--dl-text-soft);
    transition: all 0.2s;
    font-size: 1.15rem;
    text-decoration: none;
    position: relative;
}

.nk-quick-nav>li>a:hover,
.nk-quick-nav>li>.dropdown-toggle:hover {
    background: var(--dl-body-bg);
    color: var(--dl-primary);
}

/* Notification Badge Dot */
.icon-status {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.icon-status-info {
    background: var(--dl-info);
}

.icon-status-danger {
    background: var(--dl-danger);
}

/* Header Search */
.nk-header-search {
    display: flex;
    align-items: center;
    background: var(--dl-body-bg);
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 6px 16px;
    width: 300px;
    transition: all 0.3s;
}

.nk-header-search:focus-within {
    border-color: var(--dl-primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--dl-primary-dim);
}

.nk-header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: var(--dl-text-main);
    width: 100%;
    padding: 2px 0;
}

.nk-header-search input::placeholder {
    color: var(--dl-text-light);
}

/* Page Title in Header */
.nk-header-page-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dl-text-title);
}

.nk-header-page-title small {
    font-weight: 400;
    color: var(--dl-text-soft);
    font-size: 13px;
}

/* User Card */
.user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.user-avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 11px;
}

.user-avatar-lg {
    width: 44px;
    height: 44px;
    font-size: 16px;
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

/* Notification Dropdown Panel */
.notification-dropdown {
    width: 360px;
    max-height: 420px;
    overflow-y: auto;
}

.notification-dropdown .dropdown-head {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--dl-border-color);
}

.notification-dropdown .dropdown-body {
    padding: 0;
}

.notification-item {
    display: flex;
    padding: 14px 20px;
    gap: 12px;
    border-bottom: 1px solid #f5f6fa;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f8f9fe;
}

.notification-item .noti-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.notification-item .noti-text {
    font-size: 12.5px;
    color: var(--dl-text-main);
    line-height: 1.5;
}

.notification-item .noti-time {
    font-size: 11px;
    color: var(--dl-text-light);
    margin-top: 2px;
}

/* =============================================
   CONTENT AREA
   ============================================= */
.nk-content {
    padding: 28px;
    flex-grow: 1;
}

.nk-content-inner {
    max-width: 100%;
}

/* Block Head — Page Title Area */
.nk-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
}

.nk-block-head-content {}

.nk-block-title {
    font-weight: 700;
    color: var(--dl-text-title);
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.3;
}

.nk-block-des {
    margin-top: 4px;
}

.nk-block-des p {
    color: var(--dl-text-soft);
    font-size: 13px;
    margin: 0;
}

/* =============================================
   CARD SYSTEM
   ============================================= */
.card-dashlite {
    border: 1px solid var(--dl-border-color);
    border-radius: var(--dl-card-radius);
    background: #fff;
    box-shadow: var(--dl-card-shadow);
    transition: box-shadow 0.25s;
}

.card-dashlite:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.card-inner {
    padding: 1.5rem;
}

.card-inner-sm {
    padding: 1rem 1.5rem;
}

.card-inner-lg {
    padding: 2rem 1.5rem;
}

.card-title-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.card-title h6 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dl-text-title);
    margin: 0;
}

.card-title p {
    font-size: 12px;
    color: var(--dl-text-soft);
    margin: 4px 0 0;
}

/* Stat Cards — DashLite CMS Illustrated Icons */
.card-stat {
    text-align: center;
    padding: 2rem 1.5rem;
}

.card-stat .card-stat-icon {
    margin-bottom: 12px;
}

.card-stat .card-stat-icon svg,
.card-stat .card-stat-icon img {
    width: 90px;
    height: 90px;
    opacity: 0.85;
}

.card-stat .card-stat-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dl-text-title);
}

.card-stat .card-stat-label {
    font-size: 13px;
    color: var(--dl-text-soft);
    margin-bottom: 4px;
}

.card-stat .card-stat-action {
    margin-top: 8px;
}

.card-stat .card-stat-action a {
    font-size: 12px;
    color: var(--dl-primary);
    font-weight: 500;
}

/* Analytics Metric Display */
.analytic-data {
    display: flex;
    gap: 2rem;
}

.analytic-data-item {
    display: flex;
    flex-direction: column;
}

.analytic-data-item .title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--dl-text-soft);
    margin-bottom: 6px;
}

.analytic-data-item .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dl-text-title);
    line-height: 1;
}

.analytic-data-item .change {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.change.up {
    color: var(--dl-success);
}

.change.down {
    color: var(--dl-danger);
}

/* Period Toggle Buttons */
.analytic-wp .analytic-action-link {
    display: flex;
    gap: 2px;
}

.analytic-action-link .link {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--dl-border-color);
    border-radius: 3px;
    color: var(--dl-text-soft);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.analytic-action-link .link.active,
.analytic-action-link .link:hover {
    background: var(--dl-primary);
    color: #fff;
    border-color: var(--dl-primary);
}

/* Traffic Channel Card */
.traffic-channel-data {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.traffic-channel-data .channel-item {
    flex: 0 0 calc(50% - 8px);
}

.channel-item .title {
    font-size: 12px;
    color: var(--dl-text-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.channel-item .amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dl-text-title);
}

.channel-item .amount span {
    font-size: 12px;
    font-weight: 400;
    color: var(--dl-text-soft);
    margin-left: 4px;
}

/* Performance Card (Sparklines) */
.perf-data {
    display: flex;
    flex-direction: column;
}

.perf-data-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f6fa;
}

.perf-data-item:last-child {
    border-bottom: none;
}

.perf-data-item .title {
    font-size: 13px;
    color: var(--dl-text-soft);
}

.perf-data-item .amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dl-text-title);
    text-align: right;
}

.perf-data-item .change {
    font-size: 11px;
    font-weight: 500;
}

.perf-data-item .sparkline-container {
    width: 120px;
    height: 30px;
}

/* Welcome Card */
.welcome-card {
    background: #fff;
    border: 1px solid var(--dl-border-color);
    border-radius: var(--dl-card-radius);
    box-shadow: var(--dl-card-shadow);
}

.welcome-card .welcome-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dl-text-title);
    margin-bottom: 8px;
}

.welcome-card .welcome-text p {
    color: var(--dl-text-soft);
    font-size: 13px;
    margin-bottom: 16px;
}

/* Quick Steps List */
.quick-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-list li {
    margin-bottom: 10px;
}

.quick-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dl-text-main);
    font-size: 13px;
    transition: color 0.2s;
}

.quick-list li a:hover {
    color: var(--dl-primary);
}

.quick-list li a i {
    color: var(--dl-text-soft);
    font-size: 1rem;
}

/* =============================================
   TABLE STYLES — DashLite
   ============================================= */
.nk-tb-list {
    width: 100%;
}

.nk-tb-head {
    background: #f8f9fa;
}

.nk-tb-head .nk-tb-col {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    color: var(--dl-text-soft);
    letter-spacing: 0.05em;
    padding: 12px 20px;
    border-bottom: 1px solid var(--dl-border-color);
}

.nk-tb-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f5f6fa;
    transition: background 0.15s;
}

.nk-tb-item:hover {
    background: #f8f9fe;
}

.nk-tb-col {
    padding: 14px 20px;
    font-size: 13px;
}

/* DashLite-style Data Tables */
.table-dashlite {
    width: 100%;
    border-collapse: collapse;
}

.table-dashlite thead th {
    background: #f8f9fa;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    color: var(--dl-text-soft);
    letter-spacing: 0.04em;
    padding: 12px 20px;
    border-bottom: 1px solid var(--dl-border-color);
    white-space: nowrap;
    text-align: left;
}

.table-dashlite tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #f5f6fa;
    vertical-align: middle;
    font-size: 13px;
    color: var(--dl-text-main);
}

.table-dashlite tbody tr:hover {
    background: #f8f9fe;
}

.table-dashlite tbody tr:last-child td {
    border-bottom: none;
}

/* =============================================
   FORM STYLES
   ============================================= */
.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dl-text-title);
    margin-bottom: 4px;
}

.form-note {
    display: block;
    font-size: 12px;
    color: var(--dl-text-soft);
    margin-top: 2px;
}

.form-control {
    border: 1px solid var(--dl-border-color);
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 13.5px;
    color: var(--dl-text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--dl-primary);
    box-shadow: 0 0 0 3px var(--dl-primary-dim);
    outline: none;
}

.form-control-lg {
    padding: 10px 16px;
    font-size: 14px;
}

.form-select {
    border: 1px solid var(--dl-border-color);
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 13.5px;
    color: var(--dl-text-main);
}

.form-select:focus {
    border-color: var(--dl-primary);
    box-shadow: 0 0 0 3px var(--dl-primary-dim);
    outline: none;
}

textarea.form-control {
    resize: vertical;
}

/* =============================================
   BUTTONS — DashLite
   ============================================= */
.btn-primary {
    background: var(--dl-primary) !important;
    border-color: var(--dl-primary) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #4a5de8 !important;
    border-color: #4a5de8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(101, 118, 255, 0.35);
}

.btn-dim {
    background: var(--dl-primary-dim);
    color: var(--dl-primary);
    border: none;
    font-weight: 500;
}

.btn-dim:hover {
    background: var(--dl-primary);
    color: #fff;
}

.btn-outline-light {
    border: 1px solid var(--dl-border-color);
    color: var(--dl-text-main);
    background: #fff;
    font-size: 13px;
}

.btn-outline-light:hover {
    border-color: var(--dl-primary);
    color: var(--dl-primary);
    background: var(--dl-primary-dim);
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 4px;
}

.btn-trigger {
    background: transparent;
    border: none;
    color: var(--dl-text-soft);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-trigger:hover {
    color: var(--dl-primary);
    background: var(--dl-primary-dim);
}

/* =============================================
   BADGE STYLES
   ============================================= */
.badge-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
}

.badge-dim {
    font-weight: 600;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 3px;
}

.badge-dim.bg-success {
    background: rgba(30, 224, 172, 0.15) !important;
    color: #0fbd8c !important;
}

.badge-dim.bg-warning {
    background: rgba(244, 189, 14, 0.15) !important;
    color: #d4a00a !important;
}

.badge-dim.bg-danger {
    background: rgba(232, 83, 71, 0.15) !important;
    color: var(--dl-danger) !important;
}

.badge-dim.bg-info {
    background: rgba(9, 194, 222, 0.15) !important;
    color: #09c2de !important;
}

.badge-dim.bg-primary {
    background: var(--dl-primary-dim) !important;
    color: var(--dl-primary) !important;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.overline-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dl-text-soft);
}

.overline-title-alt {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dl-primary);
}

.lead-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--dl-text-title);
}

.sub-text {
    font-size: 12px;
    color: var(--dl-text-soft);
}

.text-soft {
    color: var(--dl-text-soft) !important;
}

.text-title {
    color: var(--dl-text-title);
}

.dot {
    display: inline-block;
    border-radius: 50%;
}

.dot-sm {
    width: 6px;
    height: 6px;
}

.dot-md {
    width: 10px;
    height: 10px;
}

.dot-lg {
    width: 8px;
    height: 8px;
}

/* Chart Container */
.chart-container {
    position: relative;
    width: 100%;
}

/* Recent Activity Entry */
.activity-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f6fa;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item .activity-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.activity-item .activity-text {
    font-size: 13px;
    color: var(--dl-text-main);
    line-height: 1.5;
}

.activity-item .activity-time {
    font-size: 11px;
    color: var(--dl-text-light);
    margin-top: 2px;
}

/* Viewed Pages List */
.viewed-page-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f6fa;
}

.viewed-page-item:last-child {
    border-bottom: none;
}

.viewed-page-item .page-url {
    font-size: 13px;
    color: var(--dl-text-main);
    font-weight: 500;
}

.viewed-page-item .page-views {
    font-size: 13px;
    font-weight: 700;
    color: var(--dl-text-title);
}

/* =============================================
   FOOTER
   ============================================= */
.nk-footer {
    padding: 14px 28px;
    border-top: 1px solid var(--dl-border-color);
    background: #fff;
    font-size: 12px;
    color: var(--dl-text-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =============================================
   DROPDOWN MENU OVERRIDES
   ============================================= */
.dropdown-menu {
    border: 1px solid var(--dl-border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 0;
}

.dropdown-inner {
    padding: 12px;
}

.dropdown-inner+.dropdown-inner {
    border-top: 1px solid var(--dl-border-color);
}

.dropdown-item {
    font-size: 13px;
    padding: 8px 14px;
    color: var(--dl-text-main);
    border-radius: 3px;
}

.dropdown-item:hover {
    background: #f8f9fe;
    color: var(--dl-primary);
}

/* =============================================
   RESPONSIVE — DESKTOP
   ============================================= */
@media (min-width: 1200px) {
    .nk-wrap {
        margin-left: var(--dl-sidebar-width);
    }

    .nk-header-fixed {
        width: calc(100% - var(--dl-sidebar-width));
    }

    .nk-header-brand {
        display: none !important;
    }

    .d-xl-none {
        display: none !important;
    }
}

/* =============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================= */
@media (max-width: 1199px) {
    .nk-sidebar {
        transform: translateX(-100%);
        box-shadow: none;
    }

    .nk-sidebar.active {
        transform: translateX(0);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.12);
    }

    .nk-wrap {
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .nk-content {
        padding: 16px;
    }

    .nk-header-search {
        display: none !important;
    }

    .card-stat .card-stat-icon svg,
    .card-stat .card-stat-icon img {
        width: 60px;
        height: 60px;
    }

    .analytic-data {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .analytic-data-item .amount {
        font-size: 1.1rem;
    }
}

/* Sidebar Overlay on Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1045;
    display: none;
    animation: fadeIn 0.2s;
}

.sidebar-overlay.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {

    .nk-sidebar,
    .nk-header,
    .nk-footer {
        display: none !important;
    }

    .nk-wrap {
        margin-left: 0 !important;
    }
}

/* =============================================
   PAGINATION — DashLite
   ============================================= */
.pagination {
    gap: 4px;
}

.pagination .page-link {
    border: 1px solid var(--dl-border-color);
    color: var(--dl-text-main);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination .page-item.active .page-link {
    background: var(--dl-primary);
    border-color: var(--dl-primary);
    color: #fff;
}

.pagination .page-link:hover {
    background: var(--dl-primary-dim);
    border-color: var(--dl-primary);
    color: var(--dl-primary);
}

/* =============================================
   MISC HELPERS
   ============================================= */
.g-gs {
    --bs-gutter-x: 1.75rem;
    --bs-gutter-y: 1.75rem;
}

.bg-lighter {
    background: var(--dl-body-bg);
}

.hover-light:hover {
    background-color: #f8f9fe;
}

.card-bordered {
    border: 1px solid var(--dl-border-color) !important;
}

.fw-black {
    font-weight: 900;
}

.xsmall {
    font-size: 11px;
}

.no-resize {
    resize: none;
}

.rounded-pill {
    border-radius: 50rem !important;
}