:root{
  --panel-primary:#1769d2;
  --panel-primary-strong:#0f56b7;
  --panel-primary-soft:#eaf3ff;
  --panel-secondary:#0ea5e9;
  --panel-success:#15965f;
  --panel-warning:#d97706;
  --panel-danger:#dc3545;
  --panel-bg:#f3f7fc;
  --panel-surface:#ffffff;
  --panel-surface-soft:#f8fafc;
  --panel-text:#172033;
  --panel-muted:#64748b;
  --panel-border:#dce6f1;
  --panel-border-soft:#e9eff6;
  --panel-sidebar:#071d38;
  --panel-sidebar-2:#0b315d;
  --panel-sidebar-text:#dcecff;
  --panel-sidebar-muted:#8eadd0;
  --panel-shadow:0 12px 36px rgba(23,45,78,.09);
  --panel-shadow-lg:0 24px 70px rgba(10,32,64,.16);
  --panel-radius:20px;
  --panel-radius-sm:14px;
  --sidebar-width:278px;
  --topbar-height:76px;
}

*{box-sizing:border-box}
html.panel-html{min-height:100%;background:var(--panel-bg);scroll-behavior:smooth}
body.panel-modern{
  min-height:100vh;
  margin:0;
  background:
    radial-gradient(circle at 8% 0%,rgba(23,105,210,.08),transparent 28%),
    radial-gradient(circle at 100% 20%,rgba(14,165,233,.06),transparent 24%),
    var(--panel-bg)!important;
  color:var(--panel-text)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:14px;
  overflow-x:hidden;
}
body.panel-modern a{transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
body.panel-modern img{max-width:100%;height:auto}
body.panel-modern button,body.panel-modern input,body.panel-modern select,body.panel-modern textarea{font:inherit}
body.panel-modern ::selection{background:rgba(23,105,210,.18);color:var(--panel-text)}

.wrapper{min-height:100vh;width:100%;position:relative}
.sidebar-wrapper{
  position:fixed!important;
  inset:0 auto 0 0!important;
  z-index:1040!important;
  width:var(--sidebar-width)!important;
  height:100vh!important;
  display:flex!important;
  flex-direction:column!important;
  background:
    radial-gradient(circle at 0 0,rgba(66,153,255,.22),transparent 32%),
    linear-gradient(180deg,var(--panel-sidebar),var(--panel-sidebar-2))!important;
  border-right:1px solid rgba(113,170,230,.18)!important;
  box-shadow:20px 0 50px rgba(5,26,52,.12)!important;
  color:var(--panel-sidebar-text)!important;
  overflow:hidden!important;
  transition:transform .24s ease!important;
}
.sidebar-header{
  min-height:78px!important;
  padding:14px 16px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  background:rgba(4,20,39,.26)!important;
  border-bottom:1px solid rgba(130,184,239,.14)!important;
}
.brand-lockup{display:flex;align-items:center;gap:12px;min-width:0;flex:1;text-decoration:none!important;color:#fff!important}
.brand-logo-wrap{
  width:46px;height:46px;min-width:46px;border-radius:15px;padding:5px;display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 26px rgba(0,0,0,.18);overflow:hidden
}
.logo-icon{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:10px!important;margin:0!important}
.brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1.15}
.logo-text{color:#fff!important;font-size:16px!important;font-weight:800!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.02em}
.brand-copy small{margin-top:4px;color:var(--panel-sidebar-muted);font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.sidebar-close{width:38px;height:38px;border:0;border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font-size:24px;display:grid;place-items:center}
.sidebar-account{
  margin:14px 14px 6px;padding:12px;border-radius:17px;display:flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.07);border:1px solid rgba(150,196,241,.13)
}
.sidebar-avatar,.topbar-avatar{
  width:38px;height:38px;min-width:38px;border-radius:13px;display:grid;place-items:center;font-weight:800;
  color:#fff;background:linear-gradient(135deg,#2484ef,#0ea5e9);box-shadow:0 8px 18px rgba(0,126,255,.24)
}
.sidebar-account-copy{min-width:0;display:flex;flex-direction:column;line-height:1.2;flex:1}
.sidebar-account-copy strong{font-size:13px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-account-copy small{margin-top:3px;color:var(--panel-sidebar-muted);font-size:11px}
.credit-chip{min-width:28px;height:28px;padding:0 8px;border-radius:999px;display:grid;place-items:center;background:rgba(52,211,153,.14);border:1px solid rgba(52,211,153,.24);color:#8ff0c7;font-size:11px;font-weight:800}
.sidebar-nav{flex:1;min-height:0;padding:6px 10px 18px;overflow:auto}
.sidebar-nav .simplebar-content{padding-bottom:20px!important}
.sidebar-wrapper .metismenu{margin:0!important;padding:0!important}
.sidebar-wrapper .metismenu .menu-label{
  margin:18px 12px 7px!important;padding:0!important;color:#6e93bb!important;font-size:10px!important;font-weight:800!important;
  text-transform:uppercase!important;letter-spacing:.15em!important
}
.sidebar-wrapper .metismenu>li>a{
  min-height:46px!important;margin:3px 0!important;padding:10px 12px!important;border-radius:13px!important;display:flex!important;align-items:center!important;gap:11px!important;
  color:var(--panel-sidebar-text)!important;font-size:13px!important;font-weight:600!important;border:1px solid transparent!important
}
.sidebar-wrapper .metismenu>li>a:hover,.sidebar-wrapper .metismenu>li.mm-active>a,.sidebar-wrapper .metismenu>li>a.active{
  color:#fff!important;background:linear-gradient(135deg,rgba(41,126,225,.3),rgba(14,165,233,.16))!important;
  border-color:rgba(111,180,248,.2)!important;box-shadow:0 10px 25px rgba(0,0,0,.1)
}
.sidebar-wrapper .metismenu .parent-icon{width:28px;height:28px;min-width:28px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#75b7ff!important;font-size:18px!important}
.sidebar-wrapper .metismenu>li.mm-active>a .parent-icon,.sidebar-wrapper .metismenu>li>a:hover .parent-icon{background:rgba(255,255,255,.12);color:#fff!important}
.sidebar-wrapper .metismenu .menu-title{color:inherit!important;flex:1;min-width:0}
.sidebar-wrapper .metismenu ul{margin:2px 0 8px 16px!important;padding:5px 0 5px 12px!important;border-left:1px solid rgba(115,176,235,.18)!important;background:transparent!important}
.sidebar-wrapper .metismenu ul a{
  min-height:38px!important;margin:2px 0!important;padding:8px 10px!important;border-radius:10px!important;color:#a9c4df!important;font-size:12px!important;font-weight:600!important;display:flex!important;align-items:center!important;gap:5px!important
}
.sidebar-wrapper .metismenu ul a:hover,.sidebar-wrapper .metismenu ul a.active{color:#fff!important;background:rgba(39,126,224,.18)!important}
.sidebar-wrapper .metismenu ul a i{color:#4da0ef!important;font-size:15px!important}
.sidebar-wrapper .metismenu .has-arrow:after{border-color:#64a9ed!important;width:7px!important;height:7px!important;right:14px!important}
.sidebar-wrapper .logout-link{color:#ffb7bd!important}

.topbar{
  position:fixed!important;top:0!important;right:0!important;left:var(--sidebar-width)!important;z-index:1030!important;height:var(--topbar-height)!important;
  background:rgba(255,255,255,.92)!important;border-bottom:1px solid rgba(210,224,238,.92)!important;box-shadow:0 8px 24px rgba(29,63,104,.05)!important;
  backdrop-filter:blur(18px);transition:left .24s ease!important
}
.topbar .navbar{height:100%!important;padding:0 24px!important;display:flex!important;align-items:center!important;background:transparent!important}
.mobile-toggle-menu{width:42px;height:42px;border:1px solid var(--panel-border);border-radius:13px;background:#fff;color:var(--panel-text);font-size:24px;display:none;place-items:center;margin-right:12px;box-shadow:0 6px 18px rgba(20,54,91,.06)}
.topbar-page-context{display:flex;align-items:center;gap:12px;min-width:0}
.topbar-page-icon{width:42px;height:42px;min-width:42px;border-radius:14px;display:grid;place-items:center;color:var(--panel-primary);background:var(--panel-primary-soft);border:1px solid #d6e8ff;font-size:21px}
.topbar-page-copy{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.topbar-page-copy strong{font-size:15px;font-weight:800;color:var(--panel-text)}
.topbar-page-copy small{margin-top:3px;color:var(--panel-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px}
.topbar-actions{display:flex;align-items:center;gap:10px}
.topbar-status,.topbar-date{height:38px;padding:0 12px;border-radius:12px;display:inline-flex;align-items:center;gap:7px;color:#49617d;background:#f8fafc;border:1px solid var(--panel-border-soft);font-size:11px;font-weight:700;white-space:nowrap}
.topbar-status i,.topbar-date i{font-size:16px;color:var(--panel-primary)}
.topbar-profile{height:46px;padding:4px 7px 4px 4px;border-radius:15px;display:flex;align-items:center;gap:9px;text-decoration:none!important;border:1px solid transparent;color:var(--panel-text)!important}
.topbar-profile:hover{background:#f7faff;border-color:var(--panel-border)}
.topbar-profile-copy{flex-direction:column;line-height:1.1;max-width:150px}
.topbar-profile-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-profile-copy small{margin-top:4px;color:var(--panel-muted);font-size:10px}

.page-wrapper{
  margin-left:var(--sidebar-width)!important;margin-top:var(--topbar-height)!important;min-height:calc(100vh - var(--topbar-height))!important;
  background:transparent!important;transition:margin-left .24s ease!important
}
.page-content{padding:clamp(16px,2vw,28px)!important;min-height:calc(100vh - var(--topbar-height) - 64px)!important;background:transparent!important;overflow:visible!important}
.mobile-page-heading{display:none;align-items:center;gap:11px;padding:15px;margin-bottom:15px;border-radius:18px;background:#fff;border:1px solid var(--panel-border);box-shadow:var(--panel-shadow)}
.mobile-page-icon{width:42px;height:42px;min-width:42px;border-radius:13px;display:grid;place-items:center;background:var(--panel-primary-soft);color:var(--panel-primary);font-size:21px}
.mobile-page-heading>span:last-child{display:flex;flex-direction:column;line-height:1.2}
.mobile-page-heading strong{font-size:15px}
.mobile-page-heading small{margin-top:4px;color:var(--panel-muted);font-size:11px}

.page-footer{
  margin-left:var(--sidebar-width)!important;min-height:62px;padding:15px 24px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  background:#fff!important;border-top:1px solid var(--panel-border)!important;color:var(--panel-muted)!important;transition:margin-left .24s ease!important
}
.footer-premium{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;text-align:center;font-size:11px;font-weight:600}
.footer-premium a{display:inline-flex;align-items:center;gap:5px;color:var(--panel-primary)!important;text-decoration:none!important;font-weight:700}
.footer-dot{color:#b9c6d5}
.overlay{position:fixed;inset:0;z-index:1035;background:rgba(4,18,34,.52);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:.22s ease}
.back-to-top{position:fixed;right:22px;bottom:22px;z-index:1020;width:44px;height:44px;border:0;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--panel-primary),var(--panel-secondary));color:#fff;font-size:24px;box-shadow:0 12px 30px rgba(23,105,210,.28);opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s ease}
.back-to-top.show{opacity:1;visibility:visible;transform:none}

body.panel-modern .card,
body.panel-modern .dns-card,
body.panel-modern .rev-card,
body.panel-modern .test-card,
body.panel-modern .emu-card,
body.panel-modern .p2p-card,
body.panel-modern .app-color-card,
body.panel-modern .maintenance-card,
body.panel-modern .branding-card{
  background:var(--panel-surface)!important;border:1px solid var(--panel-border)!important;border-radius:var(--panel-radius)!important;
  box-shadow:var(--panel-shadow)!important;color:var(--panel-text)!important;overflow:hidden
}
body.panel-modern .card-header{
  padding:17px 20px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;border-bottom:1px solid var(--panel-border-soft)!important;color:var(--panel-text)!important
}
body.panel-modern .card-body{padding:20px;color:var(--panel-text)}
body.panel-modern .card-footer{padding:15px 20px;background:#fbfdff;border-top:1px solid var(--panel-border-soft)}
body.panel-modern .card h1,body.panel-modern .card h2,body.panel-modern .card h3,body.panel-modern .card h4,body.panel-modern .card h5,body.panel-modern .card h6{color:var(--panel-text);font-weight:800;letter-spacing:-.02em}
body.panel-modern .text-muted{color:var(--panel-muted)!important}
body.panel-modern code{padding:2px 6px;border-radius:7px;background:#edf4fc;color:#155fb9;font-size:.88em}
body.panel-modern hr{border-color:var(--panel-border-soft);opacity:1}

body.panel-modern .btn{
  min-height:40px;padding:.58rem .9rem;border-radius:12px!important;font-weight:700!important;font-size:12px!important;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border-width:1px!important;box-shadow:none!important;white-space:nowrap
}
body.panel-modern .btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(25,64,108,.12)!important}
body.panel-modern .btn:active{transform:none}
body.panel-modern .btn-primary{background:linear-gradient(135deg,var(--panel-primary),#2587ec)!important;border-color:var(--panel-primary)!important;color:#fff!important}
body.panel-modern .btn-success{background:linear-gradient(135deg,#148b59,#1cab71)!important;border-color:#148b59!important;color:#fff!important}
body.panel-modern .btn-danger{background:linear-gradient(135deg,#d83d4c,#ec5b67)!important;border-color:#d83d4c!important;color:#fff!important}
body.panel-modern .btn-warning{background:linear-gradient(135deg,#f4a11b,#f7ba4d)!important;border-color:#e99a1d!important;color:#382300!important}
body.panel-modern .btn-dark{background:linear-gradient(135deg,#23344a,#111c2c)!important;border-color:#23344a!important;color:#fff!important}
body.panel-modern .btn-light,body.panel-modern .btn-secondary{background:#f6f9fc!important;border-color:var(--panel-border)!important;color:#334963!important}
body.panel-modern .btn-outline-primary{background:#fff!important;border-color:#a9cff9!important;color:var(--panel-primary)!important}
body.panel-modern .btn-outline-secondary{background:#fff!important;border-color:#ccd8e5!important;color:#4e6279!important}
body.panel-modern .btn-outline-danger{background:#fff!important;border-color:#f2b3b9!important;color:var(--panel-danger)!important}
body.panel-modern .btn-outline-success{background:#fff!important;border-color:#a8dfc8!important;color:var(--panel-success)!important}
body.panel-modern .btn-sm{min-height:34px;padding:.42rem .7rem;font-size:11px!important;border-radius:10px!important}
body.panel-modern .btn-lg{min-height:48px;padding:.72rem 1.1rem;font-size:13px!important}

body.panel-modern .form-label,body.panel-modern label{color:#33475f;font-size:12px;font-weight:700;margin-bottom:7px}
body.panel-modern .form-control,body.panel-modern .form-select,body.panel-modern input[type="text"],body.panel-modern input[type="password"],body.panel-modern input[type="email"],body.panel-modern input[type="url"],body.panel-modern input[type="number"],body.panel-modern input[type="date"],body.panel-modern input[type="datetime-local"],body.panel-modern input[type="tel"],body.panel-modern textarea,body.panel-modern select{
  min-height:44px;padding:.68rem .82rem;border-radius:12px!important;background:#fff!important;border:1px solid #ccd9e7!important;color:var(--panel-text)!important;font-size:13px!important;box-shadow:0 1px 2px rgba(22,49,82,.02)!important
}
body.panel-modern textarea{min-height:110px;resize:vertical}
body.panel-modern .form-control:focus,body.panel-modern .form-select:focus,body.panel-modern input:focus,body.panel-modern textarea:focus,body.panel-modern select:focus{
  border-color:#72afea!important;box-shadow:0 0 0 4px rgba(23,105,210,.11)!important;outline:0!important
}
body.panel-modern input::placeholder,body.panel-modern textarea::placeholder{color:#9aabc0!important}
body.panel-modern .form-check-input{width:1.15em;height:1.15em;min-height:0!important;padding:0!important;border-radius:4px!important}
body.panel-modern .form-switch .form-check-input{width:2.3em;height:1.2em;border-radius:999px!important}
body.panel-modern .form-check-input:checked{background-color:var(--panel-primary)!important;border-color:var(--panel-primary)!important}
body.panel-modern input[type="file"]{padding:.42rem!important}
body.panel-modern input[type="color"]{min-height:44px;padding:5px!important}
body.panel-modern .input-group-text{background:#f6f9fc;border-color:#ccd9e7;color:#55708f;border-radius:12px}
body.panel-modern .form-text,body.panel-modern small{line-height:1.45}

body.panel-modern .table-responsive{border-radius:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.panel-modern .table{width:100%;margin:0;color:var(--panel-text);--bs-table-bg:transparent;--bs-table-color:var(--panel-text);--bs-table-hover-bg:#f4f8fd;--bs-table-striped-bg:#fafcff;border-color:var(--panel-border-soft)}
body.panel-modern .table>thead{background:#f6f9fd}
body.panel-modern .table>thead th{padding:12px 14px;color:#536981;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid var(--panel-border)!important;white-space:nowrap}
body.panel-modern .table>tbody td{padding:13px 14px;color:#263a52;font-size:12px;border-bottom:1px solid #edf2f7!important;vertical-align:middle}
body.panel-modern .table>tbody tr:last-child td{border-bottom:0!important}
body.panel-modern .table-hover>tbody>tr:hover>*{background:#f3f8fe!important;color:var(--panel-text)!important}
body.panel-modern .table .row-actions,body.panel-modern .row-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
body.panel-modern .dataTables_wrapper{padding:0}
body.panel-modern .dataTables_wrapper .row{margin:0!important;padding:12px 14px;align-items:center}
body.panel-modern .dataTables_wrapper .row:first-child{border-bottom:1px solid var(--panel-border-soft);background:#fbfdff}
body.panel-modern .dataTables_wrapper .row:last-child{border-top:1px solid var(--panel-border-soft);background:#fbfdff}
body.panel-modern .dataTables_filter input,body.panel-modern .dataTables_length select{min-height:36px!important;padding:.42rem .65rem!important}
body.panel-modern .page-link{border-color:var(--panel-border);color:var(--panel-primary);font-size:11px;border-radius:9px!important;margin:0 2px}
body.panel-modern .page-item.active .page-link{background:var(--panel-primary);border-color:var(--panel-primary)}

body.panel-modern .badge,body.panel-modern .pill,body.panel-modern .badge-soft{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px!important;font-size:10px;font-weight:800;letter-spacing:.01em;border:1px solid transparent}
body.panel-modern .bg-primary{background:#e5f1ff!important;color:#145fae!important;border-color:#c6e0ff!important}
body.panel-modern .bg-success{background:#e5f7ef!important;color:#13744d!important;border-color:#c1ead8!important}
body.panel-modern .bg-danger{background:#ffeaec!important;color:#bd2e3c!important;border-color:#f5c5ca!important}
body.panel-modern .bg-warning{background:#fff4dc!important;color:#915d00!important;border-color:#f4d99e!important}
body.panel-modern .bg-dark{background:#e8edf4!important;color:#34465c!important;border-color:#d4dde8!important}
body.panel-modern .alert{padding:13px 15px;border-radius:14px;border:1px solid transparent;font-size:12px;font-weight:600;box-shadow:none}
body.panel-modern .alert-success{background:#edf9f4;color:#176e4d;border-color:#cfeee0}
body.panel-modern .alert-danger{background:#fff0f1;color:#a82b37;border-color:#f3cbd0}
body.panel-modern .alert-warning{background:#fff8e9;color:#815500;border-color:#f1dfb6}
body.panel-modern .alert-info{background:#edf6ff;color:#195e9f;border-color:#cde5fb}

body.panel-modern .modal{padding:12px!important}
body.panel-modern .modal-dialog{margin:1.75rem auto}
body.panel-modern .modal-content{border:1px solid var(--panel-border)!important;border-radius:22px!important;background:#fff!important;color:var(--panel-text)!important;box-shadow:var(--panel-shadow-lg)!important;overflow:hidden}
body.panel-modern .modal-header{padding:16px 20px;background:#fbfdff;border-bottom:1px solid var(--panel-border-soft)}
body.panel-modern .modal-title{font-size:15px;font-weight:800;color:var(--panel-text)}
body.panel-modern .modal-body{padding:20px}
body.panel-modern .modal-footer{padding:14px 20px;background:#fbfdff;border-top:1px solid var(--panel-border-soft)}
body.panel-modern .btn-close{opacity:.55}
body.panel-modern .dropdown-menu{padding:8px;border:1px solid var(--panel-border);border-radius:15px;background:#fff;box-shadow:var(--panel-shadow-lg)}
body.panel-modern .dropdown-item{border-radius:10px;padding:9px 11px;color:#33475f;font-size:12px}
body.panel-modern .dropdown-item:hover{background:var(--panel-primary-soft);color:var(--panel-primary)}

body.panel-modern .dns-wrap,body.panel-modern .rev-wrap,body.panel-modern .test-wrap,body.panel-modern .users-page,body.panel-modern .app-color-wrap,body.panel-modern .maintenance-wrap,body.panel-modern .emu-wrap,body.panel-modern .p2p-wrap,body.panel-modern .theme-premium-page,body.panel-modern .whatsapp-page{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important
}
body.panel-modern .dns-header,body.panel-modern .rev-header,body.panel-modern .maintenance-head,body.panel-modern .app-color-head,body.panel-modern .emu-head{
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#fbfdff!important;color:var(--panel-text)!important
}
body.panel-modern .dns-title span,body.panel-modern .dns-title small,body.panel-modern .rev-title span,body.panel-modern .app-color-head p,body.panel-modern .maintenance-title .text-muted{color:var(--panel-muted)!important}
body.panel-modern .dns-title .ic,body.panel-modern .rev-title .ic,body.panel-modern .maintenance-icon,body.panel-modern .app-color-head i{
  background:var(--panel-primary-soft)!important;border-color:#cfe5ff!important;color:var(--panel-primary)!important
}
body.panel-modern .kpi-grid,body.panel-modern .rev-kpis{gap:14px}
body.panel-modern .kpi,body.panel-modern .rev-kpi{
  background:#fff!important;border:1px solid var(--panel-border)!important;border-radius:18px!important;box-shadow:0 9px 26px rgba(23,45,78,.07)!important;color:var(--panel-text)!important
}
body.panel-modern .kpi:hover,body.panel-modern .rev-kpi:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(23,45,78,.11)!important}
body.panel-modern .kpi-img{background:#f3f8fe!important;border-color:#e2ecf6!important}
body.panel-modern .kpi-meta .v,body.panel-modern .rev-kpi strong{color:var(--panel-text)!important}
body.panel-modern .kpi-meta .s,body.panel-modern .rev-kpi span{color:var(--panel-muted)!important}

body.panel-modern .swal2-popup{border-radius:22px!important;border:1px solid var(--panel-border)!important;box-shadow:var(--panel-shadow-lg)!important}
body.panel-modern .swal2-title{font-size:21px!important;color:var(--panel-text)!important}
body.panel-modern .swal2-html-container{font-size:13px!important;color:var(--panel-muted)!important}
body.panel-modern .swal2-confirm{background:var(--panel-primary)!important;border-radius:12px!important}

@media (min-width:1025px){
  .wrapper.toggled .sidebar-wrapper{transform:translateX(-100%)!important}
  .wrapper.toggled .topbar{left:0!important}
  .wrapper.toggled .page-wrapper,.wrapper.toggled .page-footer{margin-left:0!important}
}

@media (max-width:1199.98px){
  .topbar-page-copy small{max-width:330px}
  body.panel-modern .kpi-grid{grid-template-columns:repeat(6,1fr)!important}
  body.panel-modern .kpi{grid-column:span 2!important}
}

@media (max-width:1024px){
  :root{--topbar-height:68px}
  .sidebar-wrapper{transform:translateX(-102%)!important;box-shadow:24px 0 70px rgba(3,21,41,.3)!important}
  .wrapper.toggled .sidebar-wrapper{transform:translateX(0)!important}
  .wrapper.toggled .overlay{opacity:1;visibility:visible}
  .topbar{left:0!important}
  .page-wrapper,.page-footer{margin-left:0!important}
  .mobile-toggle-menu{display:grid}
  .topbar .navbar{padding:0 14px!important}
  .mobile-page-heading{display:flex}
  .topbar-page-context{display:none}
}

@media (max-width:767.98px){
  .page-content{padding:12px!important}
  .topbar-actions{gap:4px}
  .topbar-profile{padding-right:4px}
  body.panel-modern .card,body.panel-modern .dns-card,body.panel-modern .rev-card,body.panel-modern .test-card,body.panel-modern .emu-card,body.panel-modern .p2p-card,body.panel-modern .app-color-card,body.panel-modern .maintenance-card{border-radius:17px!important}
  body.panel-modern .card-header,body.panel-modern .card-body{padding:15px!important}
  body.panel-modern .card-footer{padding:13px 15px!important}
  body.panel-modern .table{min-width:680px}
  body.panel-modern .table>thead th{padding:10px 11px}
  body.panel-modern .table>tbody td{padding:11px}
  body.panel-modern .dataTables_wrapper .row{padding:10px}
  body.panel-modern .dataTables_wrapper .col-sm-12{margin-bottom:7px;text-align:left!important}
  body.panel-modern .dataTables_filter,body.panel-modern .dataTables_length{text-align:left!important}
  body.panel-modern .dataTables_filter input{width:calc(100% - 68px)!important}
  body.panel-modern .kpi-grid,body.panel-modern .rev-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.panel-modern .kpi,body.panel-modern .rev-kpi{grid-column:auto!important;min-width:0!important}
  body.panel-modern .kpi-inner{padding:13px!important;gap:10px!important}
  body.panel-modern .kpi-img{width:48px!important;height:48px!important;min-width:48px!important;border-radius:14px!important}
  body.panel-modern .kpi-img img{width:34px!important;height:34px!important}
  body.panel-modern .kpi-meta .v{font-size:22px!important}
  body.panel-modern .dns-header,body.panel-modern .rev-header,body.panel-modern .maintenance-head,body.panel-modern .app-color-head,body.panel-modern .emu-head{align-items:flex-start!important;padding:15px!important}
  body.panel-modern .dns-actions,body.panel-modern .row-actions{width:100%;justify-content:flex-start!important}
  body.panel-modern .modal{padding:6px!important}
  body.panel-modern .modal-dialog{margin:.5rem auto}
  body.panel-modern .modal-content{border-radius:18px!important}
  .page-footer{padding:14px 12px!important}
  .footer-dot{display:none}
}

@media (max-width:479.98px){
  .sidebar-wrapper{width:min(88vw,300px)!important}
  .topbar .navbar{padding:0 10px!important}
  .mobile-toggle-menu{width:40px;height:40px;margin-right:8px}
  .topbar-avatar{width:36px;height:36px;min-width:36px}
  body.panel-modern .kpi-grid,body.panel-modern .rev-kpis{grid-template-columns:1fr!important}
  body.panel-modern .btn-group,body.panel-modern .dns-actions,body.panel-modern .row-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}
  body.panel-modern .dns-actions .btn,body.panel-modern .row-actions .btn{width:100%}
  body.panel-modern .modal-footer{display:grid;grid-template-columns:1fr;gap:8px}
  body.panel-modern .modal-footer .btn{width:100%;margin:0}
  .back-to-top{right:14px;bottom:14px;width:42px;height:42px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* Utilitários compartilhados para páginas refatoradas */
.fw-900{font-weight:900!important}.fw-1000{font-weight:1000!important}
[hidden]{display:none!important}
