/* Versapoint final full UI alignment pass
   Purpose: one consistent look across public website, user dashboard, and admin portal.
*/
:root{
  --vp-navy:#061226;
  --vp-navy-2:#071A33;
  --vp-navy-3:#0A1F3D;
  --vp-blue:#2F6FCF;
  --vp-sky:#6AA2F8;
  --vp-ice:#B7D3FF;
  --vp-bg:#F4F8FF;
  --vp-paper:#F8FBFF;
  --vp-line:#E3EAF5;
  --vp-muted:#64748B;
  --vp-shadow:0 24px 70px rgba(8,25,52,.09);
  --vp-shadow-strong:0 30px 90px rgba(7,26,51,.18);
}
html,body,button,input,textarea,select,a,table,th,td,label,p,span,div{
  font-family:"Cairo","Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
html[dir="ltr"] body{direction:ltr;text-align:left;}
html[dir="rtl"] body{direction:rtl;text-align:right;}
body{background:radial-gradient(circle at top left,rgba(106,162,248,.08),transparent 30%),linear-gradient(180deg,#f7f9fc 0%,#eef3f9 100%)!important;color:var(--vp-navy)!important;}

/* Public website */
.section-frame{width:100%;border-radius:0!important;overflow:hidden;}
.dark-panel{background:radial-gradient(circle at 78% 28%,rgba(70,118,194,.28),transparent 35%),radial-gradient(circle at 18% 18%,rgba(93,145,231,.08),transparent 24%),linear-gradient(135deg,#061226 0%,#071A33 48%,#0B2240 100%)!important;color:#fff!important;}
.light-panel{background:radial-gradient(circle at top right,rgba(114,160,239,.12),transparent 22%),linear-gradient(180deg,#f8fbff 0%,#eef3f9 100%)!important;color:var(--vp-navy)!important;}
.glass-card{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.07))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 24px 80px rgba(0,0,0,.18)!important;backdrop-filter:blur(14px);}
.feature-card{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;border:1px solid #e4ebf5!important;border-radius:24px!important;box-shadow:0 18px 50px rgba(8,25,52,.08)!important;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important;}
.feature-card:hover{transform:translateY(-4px);box-shadow:0 26px 72px rgba(8,25,52,.12)!important;border-color:#cad8eb!important;}
.price-card{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;border:1px solid #dbe5f1!important;border-radius:28px!important;box-shadow:0 18px 44px rgba(5,18,38,.10)!important;color:var(--vp-navy)!important;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important;}
.price-card:hover{transform:translateY(-5px);box-shadow:0 28px 74px rgba(6,18,38,.16)!important;border-color:#b8cae2!important;}
.price-card.featured{transform:translateY(-10px);border-color:rgba(109,147,211,.65)!important;background:linear-gradient(180deg,#fff 0%,#f4f8ff 100%)!important;box-shadow:0 30px 80px rgba(6,18,38,.22)!important;}
.form-shell,.auth-card{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;border:1px solid #e3eaf5!important;border-radius:28px!important;box-shadow:0 24px 80px rgba(7,26,51,.12)!important;color:var(--vp-navy)!important;}
.input-shell,.auth-card input,.form-grid input,.form-grid textarea,.form-grid select,.admin-grid input,.admin-grid textarea,.admin-grid select,input,select,textarea{border-radius:16px!important;border:1px solid #dce5f1!important;background:#fff!important;color:var(--vp-navy)!important;outline:none!important;box-shadow:0 8px 22px rgba(8,25,52,.035)!important;}
.input-shell:focus,input:focus,select:focus,textarea:focus{border-color:var(--vp-blue)!important;box-shadow:0 0 0 4px rgba(47,111,207,.10)!important;}

/* Buttons */
.btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:999px!important;padding:11px 18px!important;font-weight:900!important;border:1px solid transparent!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;}
.btn:hover{transform:translateY(-1px);}
.btn-primary{background:linear-gradient(135deg,var(--vp-navy),var(--vp-blue))!important;color:#fff!important;box-shadow:0 16px 34px rgba(47,111,207,.20)!important;}
.btn-muted,.btn-outline{background:#f4f8ff!important;color:var(--vp-navy)!important;border-color:#dbe5f1!important;}
.btn-danger{background:#fff1f2!important;color:#be123c!important;border-color:#ffe4e6!important;}
.btn-small{padding:8px 13px!important;font-size:13px!important;}

/* Admin shell exactly follows the original: dark sidebar, light workspace, branded header */
body.admin-body{background:radial-gradient(circle at 88% -10%,rgba(47,111,207,.18),transparent 32%),radial-gradient(circle at 8% 8%,rgba(106,162,248,.12),transparent 24%),linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%)!important;color:var(--vp-navy)!important;}
body.admin-body .admin-layout,body.admin-body .admin-workspace{background:transparent!important;}
body.admin-body .admin-side-panel{position:relative!important;display:flex;flex-direction:column;width:300px;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 85% 10%,rgba(47,111,207,.28),transparent 30%),linear-gradient(180deg,#061226 0%,#071A33 52%,#0B2746 100%)!important;padding:24px!important;color:#fff!important;box-shadow:22px 0 70px rgba(7,26,51,.18);}
body.admin-body .admin-side-panel:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:34px 34px;opacity:.75;pointer-events:none;}
body.admin-body .admin-nav-modern{position:relative;z-index:2;display:grid;gap:12px;margin-top:28px;padding-bottom:20px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(183,211,255,.45) transparent;}
body.admin-body .admin-nav-modern a{display:flex!important;align-items:center!important;gap:12px!important;min-height:62px!important;padding:10px 12px!important;border-radius:22px!important;border:1px solid rgba(255,255,255,.10)!important;background:rgba(255,255,255,.045)!important;color:rgba(255,255,255,.74)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;font-size:14px!important;font-weight:900!important;}
body.admin-body .admin-nav-modern a span{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:16px!important;background:rgba(255,255,255,.10)!important;color:#fff!important;font-size:12px!important;font-weight:900!important;letter-spacing:.02em;}
body.admin-body .admin-nav-modern a b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.admin-body .admin-nav-modern a:hover{transform:translateY(-1px)!important;background:rgba(255,255,255,.085)!important;color:#fff!important;border-color:rgba(183,211,255,.32)!important;}
body.admin-body .admin-nav-modern a.active{background:linear-gradient(135deg,rgba(47,111,207,.42),rgba(106,162,248,.18))!important;border-color:rgba(106,162,248,.72)!important;color:#fff!important;box-shadow:0 22px 60px rgba(47,111,207,.24)!important;}
body.admin-body .admin-nav-modern a.active span{background:linear-gradient(135deg,var(--vp-blue),var(--vp-sky))!important;box-shadow:0 12px 28px rgba(47,111,207,.34)!important;}
body.admin-body .admin-hero-bar{position:relative;overflow:hidden;border-radius:32px!important;padding:24px 28px!important;background:radial-gradient(circle at 10% 18%,rgba(183,211,255,.34),transparent 25%),radial-gradient(circle at 88% 15%,rgba(106,162,248,.23),transparent 28%),linear-gradient(135deg,#061226 0%,#071A33 46%,#2F6FCF 100%)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:0 28px 90px rgba(7,26,51,.22)!important;color:#fff!important;}
body.admin-body .admin-hero-bar:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:38px 38px;opacity:.55;pointer-events:none;}
body.admin-body .admin-kicker{position:relative;z-index:2;display:inline-flex;margin-bottom:8px;border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.09)!important;border-radius:999px;padding:6px 12px;color:var(--vp-ice)!important;font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;}
body.admin-body .admin-page-title{position:relative;z-index:2;margin:0!important;color:#fff!important;font-size:clamp(30px,4vw,48px)!important;line-height:1.12!important;font-weight:900!important;letter-spacing:-.04em!important;}
body.admin-body .admin-top-actions{position:relative;z-index:3;display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
html[dir="rtl"] body.admin-body .admin-top-actions{justify-content:flex-start!important;}
html[dir="ltr"] body.admin-body .admin-top-actions{justify-content:flex-end!important;}
body.admin-body .admin-action-btn,body.admin-body .admin-logout{height:48px!important;min-height:48px!important;border-radius:18px!important;font-weight:900!important;}
body.admin-body .admin-action-btn{width:48px!important;border:1px solid rgba(255,255,255,.20)!important;background:rgba(255,255,255,.12)!important;color:#fff!important;backdrop-filter:blur(10px);}
body.admin-body .admin-action-btn.lang-switch{width:auto!important;padding-inline:18px!important;}
body.admin-body .admin-logout{display:inline-flex;align-items:center;gap:8px;background:#fff!important;color:var(--vp-navy)!important;border:1px solid #fff!important;padding-inline:18px!important;box-shadow:0 16px 38px rgba(0,0,0,.14)!important;}

/* Admin content cards and tables */
body.admin-body .section-head{margin-bottom:24px!important;}
body.admin-body .section-head h1,body.admin-body .section-head h2{margin:0!important;color:var(--vp-navy)!important;font-size:clamp(28px,3.4vw,42px)!important;font-weight:900!important;letter-spacing:-.04em!important;}
body.admin-body .section-head p{max-width:820px!important;margin-top:8px!important;color:var(--vp-muted)!important;font-weight:700!important;}
body.admin-body .card,body.admin-body .stat-card{position:relative;background:rgba(255,255,255,.96)!important;color:var(--vp-navy)!important;border:1px solid var(--vp-line)!important;border-radius:30px!important;box-shadow:var(--vp-shadow)!important;backdrop-filter:blur(14px);}
body.admin-body .card h2,body.admin-body .card h3,body.admin-body .card h4,body.admin-body .stat-card strong{color:var(--vp-navy)!important;}
body.admin-body .stats-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
body.admin-body .stat-card{min-height:150px!important;overflow:hidden;padding:24px!important;}
body.admin-body .stat-card:before{content:"";position:absolute;inset:auto -24px -34px auto;width:132px;height:132px;border-radius:999px;background:linear-gradient(135deg,rgba(47,111,207,.22),rgba(106,162,248,.10));}
body.admin-body .stat-card span{position:relative;display:block;color:var(--vp-muted)!important;font-weight:900!important;}
body.admin-body .stat-card strong{position:relative;font-size:40px!important;line-height:1.2;letter-spacing:-.04em;}
body.admin-body .table-wrap{border-radius:24px!important;border:1px solid var(--vp-line)!important;background:#fff!important;box-shadow:0 18px 50px rgba(8,25,52,.06)!important;overflow:auto!important;}
body.admin-body table{width:100%!important;min-width:900px!important;background:#fff!important;color:var(--vp-navy)!important;border-collapse:separate!important;border-spacing:0!important;}
body.admin-body th,body.admin-body td{border-bottom:1px solid #edf2f8!important;color:var(--vp-navy)!important;padding:16px 18px!important;vertical-align:middle!important;}
body.admin-body th{position:sticky;top:0;z-index:2;background:linear-gradient(180deg,#f4f8ff 0%,#edf5ff 100%)!important;color:var(--vp-blue)!important;font-size:12px!important;font-weight:900!important;text-transform:uppercase;letter-spacing:.04em;}
body.admin-body tbody tr:nth-child(even){background:#fbfdff!important;}
body.admin-body tbody tr:hover{background:#f3f8ff!important;}
html[dir="ltr"] body.admin-body th,html[dir="ltr"] body.admin-body td{text-align:left!important;}
html[dir="rtl"] body.admin-body th,html[dir="rtl"] body.admin-body td{text-align:right!important;}
body.admin-body .pill{display:inline-flex!important;align-items:center!important;gap:6px;border-radius:999px!important;padding:7px 11px!important;font-size:12px!important;font-weight:900!important;}
body.admin-body .pill-blue{background:#edf5ff!important;color:var(--vp-blue)!important;}
body.admin-body .pill-green{background:#ecfdf5!important;color:#047857!important;}
body.admin-body .pill-red{background:#fff1f2!important;color:#be123c!important;}
body.admin-body .pill-slate{background:#f1f5f9!important;color:#475569!important;}

/* Dashboard overview: full dashboard, not shortcut list */
body.admin-body .dashboard-card-grid,body.admin-body .admin-shortcuts{display:none!important;}
body.admin-body .chart-card{min-height:360px;}
body.admin-body .dashboard-chart-wrap{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.95fr);gap:20px;}
body.admin-body .billing-bars .bar{height:16px;border-radius:999px;background:#e5edf8;overflow:hidden;}
body.admin-body .billing-bars .bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(135deg,var(--vp-blue),var(--vp-sky));}

/* Packages admin */
body.admin-body .package-admin-grid{display:grid!important;gap:26px!important;}
body.admin-body .package-editor-card{overflow:hidden!important;padding:0!important;border-radius:32px!important;}
body.admin-body .package-editor-head{padding:24px 26px!important;background:radial-gradient(circle at 15% 25%,rgba(183,211,255,.26),transparent 25%),linear-gradient(135deg,#061226 0%,#071A33 48%,#2F6FCF 100%)!important;color:#fff!important;}
body.admin-body .package-editor-head h3{color:#fff!important;font-size:28px!important;font-weight:900!important;letter-spacing:-.04em;}
body.admin-body .package-editor-head p{color:rgba(255,255,255,.72)!important;font-weight:700!important;}
body.admin-body .package-editor-body{padding:26px!important;}
body.admin-body .feature-edit-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
body.admin-body .feature-edit-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:10px!important;border-radius:22px!important;border:1px solid var(--vp-line)!important;background:#f8fbff!important;padding:10px!important;}
body.admin-body .feature-edit-row.removed{opacity:.45;filter:grayscale(.5);}
body.admin-body .price-preview-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
body.admin-body .price-preview{border:1px solid var(--vp-line)!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;border-radius:22px!important;padding:16px!important;}
body.admin-body .price-preview span{color:var(--vp-muted)!important;font-size:12px!important;font-weight:900!important;}
body.admin-body .price-preview strong{color:var(--vp-navy)!important;font-size:22px!important;font-weight:900!important;}

/* Permissions: force vertical layout */
body.admin-body .permissions-stack{display:grid!important;grid-template-columns:1fr!important;gap:24px!important;}
body.admin-body #permissionForm{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;}
body.admin-body #permissionForm>label{display:grid!important;gap:8px!important;}
body.admin-body .permissions-box{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;background:#f8fbff!important;border:1px solid var(--vp-line)!important;border-radius:24px!important;padding:18px!important;}
body.admin-body .permissions-box>strong{grid-column:1/-1;color:var(--vp-navy)!important;font-size:16px!important;}
body.admin-body .permissions-box .check{border:1px solid var(--vp-line)!important;background:#fff!important;border-radius:16px!important;padding:12px!important;}
body.admin-body .permission-summary,.permission-line{display:none!important;}

/* Reports and logs */
body.admin-body .report-toolbar,body.admin-body .report-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;margin-bottom:16px!important;}
body.admin-body .report-block{margin-bottom:22px!important;}
body.admin-body .report-preview-box{background:#f8fbff!important;border:1px solid var(--vp-line)!important;border-radius:24px!important;padding:16px!important;}
body.admin-body .report-preview-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:14px!important;}
body.admin-body .report-preview-head h4{font-weight:900!important;color:var(--vp-navy)!important;}
body.admin-body .report-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:18px 0!important;}
body.admin-body .report-grid div{background:#f8fbff!important;border:1px solid var(--vp-line)!important;border-radius:18px!important;padding:14px!important;}
body.admin-body .report-grid span{display:block;color:var(--vp-muted)!important;font-size:13px!important;font-weight:800!important;}

/* Demo access */
body.admin-body .demo-console-card{overflow:hidden;}
body.admin-body .selected-customer-card{border:1px solid var(--vp-line)!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;border-radius:22px!important;padding:16px!important;display:grid!important;gap:5px!important;}
body.admin-body .selected-customer-card strong{color:var(--vp-navy)!important;font-size:18px!important;font-weight:900!important;}
body.admin-body .selected-customer-card span{color:var(--vp-muted)!important;font-size:13px!important;font-weight:700!important;}
body.admin-body .timer,body.admin-body [data-countdown]{color:var(--vp-blue)!important;font-weight:900!important;}

/* Modal */
body.admin-body .modal.show{display:grid!important;place-items:center!important;}
body.admin-body .modal-card{background:#fff!important;color:var(--vp-navy)!important;border:1px solid var(--vp-line)!important;border-radius:30px!important;box-shadow:0 34px 110px rgba(7,26,51,.28)!important;}
body.admin-body .modal-close{background:#f4f8ff!important;color:var(--vp-navy)!important;border-radius:999px!important;}

@media(max-width:1100px){
  body.admin-body .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.admin-body .dashboard-chart-wrap{grid-template-columns:1fr!important;}
  body.admin-body .feature-edit-grid,body.admin-body .price-preview-grid,body.admin-body .permissions-box,body.admin-body .report-grid{grid-template-columns:1fr!important;}
  body.admin-body .feature-edit-row{grid-template-columns:1fr!important;}
  .price-card.featured{transform:none!important;}
}
@media(max-width:640px){
  body.admin-body .stats-grid{grid-template-columns:1fr!important;}
  body.admin-body .admin-hero-bar{border-radius:24px!important;padding:18px!important;}
  body.admin-body .admin-page-title{font-size:28px!important;}
  body.admin-body .admin-logout span:last-child{display:none!important;}
  body.admin-body table{min-width:760px!important;}
  .feature-card:hover,.price-card:hover{transform:none!important;}
}

/* =========================================================
   FINAL FULL-SYSTEM UI MATCH PASS - 2026-05-23
   Makes the Laravel admin visually follow the original Next.js website.
   ========================================================= */
:root{--vp-navy:#061226;--vp-navy-2:#071a33;--vp-blue:#2F6FCF;--vp-sky:#B7D3FF;--vp-paper:#F4F8FF;--vp-line:#DDE7F4;--vp-muted:#64748B;--vp-shadow:0 24px 70px rgba(7,26,51,.10)}
html,body{font-family:'Cairo','Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;background:radial-gradient(circle at top left,rgba(106,162,248,.08),transparent 30%),linear-gradient(180deg,#f7f9fc 0%,#eef3f9 100%)!important;color:var(--vp-navy)!important}
html[lang="en"],html[lang="en"] body{font-family:'Inter','Cairo',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
body.admin-body{background:radial-gradient(circle at 12% 0,rgba(47,111,207,.13),transparent 32%),linear-gradient(180deg,#f8fbff 0%,#eef3f9 100%)!important}

body.admin-body .admin-workspace{background:transparent!important}
body.admin-body .admin-hero-bar{background:radial-gradient(circle at 86% 18%,rgba(183,211,255,.28),transparent 26%),linear-gradient(135deg,#061226 0%,#071a33 48%,#2F6FCF 118%)!important;border:1px solid rgba(255,255,255,.45)!important;border-radius:34px!important;box-shadow:0 30px 90px rgba(7,26,51,.18)!important;color:#fff!important;overflow:hidden!important;position:relative!important}
body.admin-body .admin-hero-bar:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:34px 34px;pointer-events:none}
body.admin-body .admin-hero-bar>*{position:relative;z-index:1}
body.admin-body .admin-kicker{color:#B7D3FF!important;font-weight:900!important;letter-spacing:.16em;text-transform:uppercase;font-size:11px!important}
body.admin-body .admin-page-title{color:#fff!important;font-size:clamp(28px,3.6vw,46px)!important;font-weight:900!important;letter-spacing:-.045em!important;margin-top:6px!important}
body.admin-body .admin-top-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;flex-wrap:wrap!important}
html[dir="rtl"] body.admin-body .admin-top-actions{justify-content:flex-start!important}
body.admin-body .admin-action-btn,body.admin-body .admin-logout{height:48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.10)!important;color:#fff!important;font-weight:900!important;padding:0 16px!important;backdrop-filter:blur(12px)!important;box-shadow:0 15px 40px rgba(0,0,0,.12)!important}
body.admin-body .admin-logout{gap:8px!important;background:#fff!important;color:#061226!important;border-color:#fff!important}
body.admin-body .admin-side-panel{background:radial-gradient(circle at 0 0,rgba(47,111,207,.22),transparent 33%),linear-gradient(180deg,#061226 0%,#071a33 100%)!important;padding:24px!important;overflow:hidden!important}
body.admin-body .admin-nav-modern a{display:flex!important;align-items:center!important;gap:12px!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.10)!important;background:rgba(255,255,255,.04)!important;color:rgba(255,255,255,.74)!important;padding:12px 14px!important;font-weight:850!important;transition:.22s ease!important}
body.admin-body .admin-nav-modern a span{display:flex!important;width:38px!important;height:38px!important;align-items:center!important;justify-content:center!important;border-radius:14px!important;background:rgba(255,255,255,.10)!important;color:#B7D3FF!important;font-size:11px!important;font-weight:900!important}
body.admin-body .admin-nav-modern a.active,body.admin-body .admin-nav-modern a:hover{border-color:rgba(47,111,207,.55)!important;background:rgba(47,111,207,.22)!important;color:#fff!important;transform:translateX(0)!important;box-shadow:0 18px 50px rgba(47,111,207,.16)!important}
body.admin-body .admin-nav-modern a.active span,body.admin-body .admin-nav-modern a:hover span{background:#2F6FCF!important;color:#fff!important}

body.admin-body .section-head{margin:0 0 24px!important}
body.admin-body .section-head h1{color:#061226!important;font-size:clamp(28px,3vw,42px)!important;font-weight:900!important;letter-spacing:-.04em!important}
body.admin-body .section-head p{color:#64748B!important;font-size:15px!important;font-weight:700!important;line-height:1.9!important;max-width:940px!important}
body.admin-body .card,body.admin-body .analytics-card,body.admin-body .renewal-card{border:1px solid rgba(221,231,244,.95)!important;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;border-radius:30px!important;box-shadow:var(--vp-shadow)!important;color:#061226!important}
body.admin-body .card{padding:24px!important}
body.admin-body .card h2,body.admin-body .card h3,body.admin-body .analytics-card h2,body.admin-body .renewal-card h2{font-weight:900!important;color:#061226!important;letter-spacing:-.025em!important}
body.admin-body .admin-stack,body.admin-body .discount-events-stack,body.admin-body .permissions-stack{display:grid!important;grid-template-columns:1fr!important;gap:24px!important;width:100%!important}
body.admin-body .admin-grid.two:not(.package-main-fields){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
body.admin-body .discount-events-stack>.card,body.admin-body .permissions-stack>.card{width:100%!important}
body.admin-body .target-packages-box{margin-top:16px!important}
body.admin-body .permissions-box{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;background:#f8fbff!important;border:1px solid #e4ebf5!important;border-radius:24px!important;padding:18px!important}
body.admin-body .permissions-box strong{grid-column:1/-1!important;font-size:16px!important;font-weight:900!important;color:#061226!important}
body.admin-body label{font-weight:850!important;color:#334155!important}
body.admin-body input,body.admin-body select,body.admin-body textarea{width:100%!important;border:1px solid #dbe5f1!important;background:#fff!important;border-radius:16px!important;padding:12px 14px!important;color:#061226!important;outline:none!important;font-weight:700!important;transition:.2s ease!important}
body.admin-body input:focus,body.admin-body select:focus,body.admin-body textarea:focus{border-color:#2F6FCF!important;box-shadow:0 0 0 4px rgba(47,111,207,.10)!important}
body.admin-body .check{display:flex!important;align-items:center!important;gap:8px!important;border-radius:16px!important;border:1px solid #e4ebf5!important;background:#fff!important;padding:12px!important;color:#334155!important}
body.admin-body .check input{width:auto!important;accent-color:#2F6FCF!important}
body.admin-body .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:999px!important;border:1px solid transparent!important;padding:11px 18px!important;font-weight:900!important;transition:.2s ease!important;cursor:pointer!important;text-decoration:none!important}
body.admin-body .btn-primary{background:#061226!important;color:#fff!important;box-shadow:0 18px 42px rgba(6,18,38,.18)!important}
body.admin-body .btn-primary:hover{background:#0a1f3d!important;transform:translateY(-1px)!important}
body.admin-body .btn-muted{background:#edf5ff!important;color:#2F6FCF!important;border-color:#dbeafe!important}
body.admin-body .btn-danger{background:#fff1f2!important;color:#be123c!important;border-color:#ffe4e6!important}
body.admin-body .btn-small{padding:8px 13px!important;font-size:12px!important}
body.admin-body .actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important}

body.admin-body .table-wrap{border:1px solid #dde7f4!important;background:#fff!important;border-radius:24px!important;overflow:auto!important;box-shadow:0 16px 48px rgba(8,25,52,.06)!important}
body.admin-body table{width:100%!important;min-width:920px!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important}
body.admin-body th{background:linear-gradient(180deg,#f4f8ff,#edf5ff)!important;color:#2F6FCF!important;text-transform:uppercase!important;letter-spacing:.045em!important;font-size:12px!important;font-weight:900!important;padding:16px 18px!important;border-bottom:1px solid #dde7f4!important}
body.admin-body td{padding:16px 18px!important;border-bottom:1px solid #edf2f8!important;color:#061226!important;font-weight:700!important;vertical-align:middle!important}
body.admin-body td span{display:block;color:#64748B!important;font-size:12px!important;font-weight:700!important;margin-top:3px!important}
body.admin-body tbody tr:nth-child(even){background:#fbfdff!important}
body.admin-body tbody tr:hover{background:#f3f8ff!important}

body.admin-body .admin-overview-hero{position:relative;overflow:hidden;border-radius:34px!important;background:radial-gradient(circle at 82% 20%,rgba(183,211,255,.30),transparent 26%),radial-gradient(circle at 14% 12%,rgba(47,111,207,.18),transparent 24%),linear-gradient(135deg,#061226 0%,#071a33 50%,#0b2746 100%)!important;color:#fff!important;padding:28px!important;margin-bottom:22px!important;display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(280px,.75fr)!important;gap:22px!important;box-shadow:0 30px 90px rgba(7,26,51,.22)!important}
body.admin-body .admin-overview-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:34px 34px;pointer-events:none}
body.admin-body .admin-overview-copy,body.admin-body .admin-overview-panel{position:relative;z-index:1}
body.admin-body .admin-overview-copy span{display:inline-flex;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);border-radius:999px;padding:8px 12px;color:#B7D3FF;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
body.admin-body .admin-overview-copy h2{margin:14px 0 10px!important;color:#fff!important;font-size:clamp(28px,4vw,48px)!important;line-height:1.08!important;font-weight:900!important;letter-spacing:-.045em!important}
body.admin-body .admin-overview-copy p{max-width:720px!important;color:rgba(255,255,255,.72)!important;font-size:15px!important;line-height:1.9!important;font-weight:700!important}
body.admin-body .admin-overview-panel{display:grid!important;gap:12px!important}
body.admin-body .admin-overview-panel>div{border:1px solid rgba(255,255,255,.13)!important;background:rgba(255,255,255,.075)!important;border-radius:22px!important;padding:16px!important;backdrop-filter:blur(12px)!important}
body.admin-body .admin-overview-panel small{display:block;color:#B7D3FF!important;font-weight:900!important;font-size:12px!important}
body.admin-body .admin-overview-panel strong{display:block;margin-top:6px;color:#fff!important;font-size:28px!important;font-weight:900!important;letter-spacing:-.03em!important}
body.admin-body .admin-stat-row{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important;margin-bottom:22px!important}
body.admin-body .admin-stat-card{position:relative!important;overflow:hidden!important;border-radius:28px!important;border:1px solid #dde7f4!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 18px 50px rgba(8,25,52,.08)!important;padding:20px!important;color:#061226!important;min-height:162px!important}
body.admin-body .admin-stat-card:before{content:"";position:absolute;inset:auto -42px -48px auto;width:140px;height:140px;border-radius:999px;background:linear-gradient(135deg,rgba(47,111,207,.22),rgba(183,211,255,.10))!important}
body.admin-body .stat-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;position:relative!important;z-index:1!important}
body.admin-body .stat-icon{width:42px!important;height:42px!important;border-radius:16px!important;background:linear-gradient(135deg,#2F6FCF,#74A7FF)!important;box-shadow:0 14px 35px rgba(47,111,207,.28)!important}
body.admin-body .stat-top small{color:#64748B!important;font-weight:850!important;font-size:12px!important;text-align:end!important}
body.admin-body .admin-stat-card p{position:relative!important;z-index:1!important;margin:18px 0 4px!important;color:#64748B!important;font-size:13px!important;font-weight:900!important}
body.admin-body .admin-stat-card strong{position:relative!important;z-index:1!important;display:block!important;color:#061226!important;font-size:clamp(26px,2.6vw,38px)!important;font-weight:900!important;letter-spacing:-.045em!important}
body.admin-body .stat-trend{position:relative!important;z-index:1!important;color:#2F6FCF!important;font-size:12px!important;font-weight:900!important;margin-top:8px!important}
body.admin-body .dashboard-analytics-grid{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr)!important;gap:20px!important;margin-bottom:20px!important}
body.admin-body .dashboard-analytics-grid.secondary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
body.admin-body .analytics-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:18px!important}
body.admin-body .analytics-icon{display:inline-flex!important;width:48px!important;height:48px!important;border-radius:18px!important;align-items:center!important;justify-content:center!important;background:#edf5ff!important;color:#2F6FCF!important;font-weight:900!important}
body.admin-body .mini-line-chart{width:100%!important;min-height:210px!important}
body.admin-body .bar-shell{height:16px!important;border-radius:999px!important;background:#e5edf8!important;overflow:hidden!important}
body.admin-body .bar-shell span{display:block!important;height:100%!important;border-radius:999px!important;background:linear-gradient(135deg,#2F6FCF,#74A7FF)!important}
body.admin-body .bar-shell.navy span{background:linear-gradient(135deg,#061226,#0b2746)!important}
body.admin-body .payment-mini-stats,body.admin-body .renewal-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:10px!important}
body.admin-body .payment-mini-stats div,body.admin-body .renewal-grid div{background:#f8fbff!important;border:1px solid #e4ebf5!important;border-radius:18px!important;padding:14px!important}
body.admin-body .payment-mini-stats strong,body.admin-body .renewal-grid strong{display:block!important;font-size:24px!important;color:#061226!important;font-weight:900!important}
body.admin-body .payment-mini-stats span,body.admin-body .renewal-grid span,body.admin-body .renewal-grid small{color:#64748B!important;font-size:12px!important;font-weight:800!important}
body.admin-body .donut-layout{display:grid!important;grid-template-columns:220px 1fr!important;align-items:center!important;gap:18px!important}
body.admin-body .donut-chart{width:190px!important;height:190px!important;border-radius:999px!important;background:var(--donut)!important;display:grid!important;place-items:center!important;box-shadow:inset 0 0 0 18px rgba(255,255,255,.82)!important}
body.admin-body .donut-chart>div{width:118px!important;height:118px!important;border-radius:999px!important;background:#fff!important;display:grid!important;place-items:center!important;text-align:center!important;box-shadow:0 18px 45px rgba(7,26,51,.10)!important}
body.admin-body .donut-chart strong{display:block!important;color:#061226!important;font-size:30px!important;font-weight:900!important}
body.admin-body .donut-list{display:grid!important;gap:10px!important}
body.admin-body .donut-list div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border:1px solid #e4ebf5!important;background:#f8fbff!important;border-radius:16px!important;padding:11px 13px!important}
body.admin-body .donut-list div span{width:10px!important;height:10px!important;border-radius:999px!important;display:inline-block!important;flex:none!important;margin:0!important}
body.admin-body .health-bar{height:14px!important;border-radius:999px!important;background:#e5edf8!important;overflow:hidden!important}.health-bar span{height:100%!important;display:block!important;background:linear-gradient(135deg,#2F6FCF,#74A7FF)!important;border-radius:999px!important}

body.admin-body .package-live-preview{padding:22px 26px 0!important;background:#fff!important}
body.admin-body .package-preview-card{max-width:370px!important;margin:auto!important;padding:24px!important}
body.admin-body .package-editor-body{padding:26px!important}
body.admin-body .package-main-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
body.admin-body .feature-edit-grid-bilingual{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
body.admin-body .feature-edit-row-bilingual{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto!important;gap:10px!important;align-items:center!important;border:1px solid #e4ebf5!important;background:#f8fbff!important;border-radius:20px!important;padding:12px!important}
body.admin-body .feature-edit-row.removed{opacity:.48!important;filter:grayscale(.55)!important}

.price-card{border-radius:28px!important;border:1px solid #dbe5f1!important;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;box-shadow:0 18px 44px rgba(5,18,38,.10)!important;transition:.25s ease!important}
.price-card:hover{transform:translateY(-5px)!important;box-shadow:0 28px 74px rgba(6,18,38,.16)!important;border-color:#b8cae2!important}.price-card.featured{transform:translateY(-10px)!important;border-color:rgba(109,147,211,.65)!important;background:linear-gradient(180deg,#fff 0%,#f4f8ff 100%)!important;box-shadow:0 30px 80px rgba(6,18,38,.22)!important}

@media(max-width:1280px){body.admin-body .admin-stat-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.admin-body .dashboard-analytics-grid,body.admin-body .dashboard-analytics-grid.secondary,body.admin-body .admin-overview-hero{grid-template-columns:1fr!important}body.admin-body .donut-layout{grid-template-columns:1fr!important}.donut-chart{margin:auto!important}}
@media(max-width:900px){body.admin-body .admin-grid.two:not(.package-main-fields),body.admin-body .package-main-fields,body.admin-body .permissions-box,body.admin-body .feature-edit-row-bilingual{grid-template-columns:1fr!important}body.admin-body .admin-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){body.admin-body .admin-stat-row{grid-template-columns:1fr!important}body.admin-body .admin-overview-hero{padding:20px!important;border-radius:26px!important}body.admin-body .admin-hero-bar{border-radius:26px!important}.price-card.featured,.price-card:hover{transform:none!important}body.admin-body table{min-width:760px!important}}

/* 2026-05-24 requested fixes: notifications, modal sizing, compact sidebar, demo CTA border, users actions */
.section-head.with-actions{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:18px!important;flex-wrap:wrap!important}
.section-head.with-actions .btn{min-width:180px!important}

/* Keep the full admin menu visible without forcing a sidebar scroll. */
body.admin-body .admin-side-panel{padding:14px!important;overflow:hidden!important}
body.admin-body .admin-side-panel .relative.z-10.mt-8.rounded-2xl{display:none!important}
body.admin-body .admin-nav-modern{margin-top:14px!important;display:grid!important;gap:5px!important;overflow:visible!important;padding-bottom:0!important;padding-inline-end:0!important;max-height:none!important}
body.admin-body .admin-nav-modern a{min-height:31px!important;border-radius:13px!important;padding:4px 7px!important;gap:7px!important;font-size:11.5px!important;line-height:1.15!important}
body.admin-body .admin-nav-modern a span{width:24px!important;height:24px!important;border-radius:9px!important;font-size:9px!important;letter-spacing:0!important}
body.admin-body .admin-nav-modern a b{font-size:11.5px!important;line-height:1.2!important}
@media (min-height: 860px){
  body.admin-body .admin-side-panel{padding:18px!important}
  body.admin-body .admin-nav-modern{gap:7px!important;margin-top:18px!important}
  body.admin-body .admin-nav-modern a{min-height:36px!important;padding:6px 8px!important;font-size:12px!important}
  body.admin-body .admin-nav-modern a span{width:28px!important;height:28px!important;border-radius:10px!important}
}
@media (max-height: 730px){
  body.admin-body .admin-side-panel{padding:10px!important}
  body.admin-body .admin-nav-modern{gap:3px!important;margin-top:8px!important}
  body.admin-body .admin-nav-modern a{min-height:27px!important;padding:3px 6px!important;font-size:10.5px!important}
  body.admin-body .admin-nav-modern a span{width:21px!important;height:21px!important;border-radius:8px!important;font-size:8px!important}
  body.admin-body .admin-nav-modern a b{font-size:10.5px!important}
}

/* Notification bell */
body.admin-body .notification-wrap{position:relative;display:inline-flex;align-items:center}
body.admin-body .notification-bell{position:relative;overflow:visible!important}
body.admin-body .notification-count{position:absolute;inset-block-start:-7px;inset-inline-end:-7px;min-width:21px;height:21px;border-radius:999px;background:#ef4444;color:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:11px;font-weight:900;line-height:1;box-shadow:0 8px 20px rgba(239,68,68,.38)}
body.admin-body .notification-count.is-empty{display:none!important}
body.admin-body .notification-panel{position:absolute;top:calc(100% + 14px);inset-inline-end:0;width:min(420px,calc(100vw - 28px));max-height:min(560px,75vh);display:none;overflow:hidden;border:1px solid #dbe5f1;border-radius:28px;background:rgba(255,255,255,.98);box-shadow:0 34px 110px rgba(7,26,51,.26);z-index:99999;color:#061226;backdrop-filter:blur(18px)}
body.admin-body .notification-panel.show{display:block!important;animation:vpDrop .16s ease-out}
@keyframes vpDrop{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
body.admin-body .notification-panel-head{padding:18px 18px 14px;border-bottom:1px solid #edf2f8;background:linear-gradient(135deg,#f8fbff,#eef5ff)}
body.admin-body .notification-panel-head strong{display:block;color:#061226;font-weight:900;font-size:16px}
body.admin-body .notification-panel-head small{display:block;margin-top:4px;color:#64748b;font-weight:800}
body.admin-body .notification-list{max-height:455px;overflow:auto;padding:10px}
body.admin-body .notification-item{display:grid!important;grid-template-columns:14px minmax(0,1fr);gap:10px;padding:13px;border-radius:18px;color:#061226!important;text-decoration:none!important;border:1px solid transparent;transition:.18s;background:#fff}
body.admin-body .notification-item:hover{background:#f8fbff;border-color:#dbe5f1;transform:translateY(-1px)}
body.admin-body .notification-item b{display:block;font-size:13px;font-weight:900;color:#061226;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.admin-body .notification-item small{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.admin-body .notification-item em{display:block;margin-top:6px;color:#2f6fcf;font-size:11px;font-style:normal;font-weight:900}
body.admin-body .notification-dot{width:10px;height:10px;border-radius:999px;margin-top:6px;background:#2f6fcf;box-shadow:0 0 0 4px rgba(47,111,207,.12)}
body.admin-body .notification-dot.demo{background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.12)}
body.admin-body .notification-dot.order{background:#2f6fcf;box-shadow:0 0 0 4px rgba(47,111,207,.12)}
body.admin-body .notification-dot.upgrade{background:#8b5cf6;box-shadow:0 0 0 4px rgba(139,92,246,.12)}
body.admin-body .notification-dot.refund{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.14)}
body.admin-body .notification-empty{padding:28px 18px;text-align:center;color:#64748b;font-weight:900}

/* Stronger Request Demo border in hero */
button[data-open-modal="demoModal"]{border:2px solid rgba(255,255,255,.72)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.20),0 16px 42px rgba(0,0,0,.16)!important;background:rgba(255,255,255,.08)!important}
button[data-open-modal="demoModal"]:hover{background:rgba(255,255,255,.16)!important;border-color:#fff!important;transform:translateY(-1px)}

/* Wider and more elegant popups across site/admin */
.modal{padding:24px!important;background:rgba(6,18,38,.64)!important;backdrop-filter:blur(10px)!important;z-index:100000!important}
.modal.show{display:grid!important;place-items:center!important}
.modal-card{width:min(760px,calc(100vw - 32px))!important;max-height:min(86vh,820px)!important;overflow:auto!important;border-radius:34px!important;padding:30px!important;border:1px solid rgba(219,229,241,.95)!important;box-shadow:0 40px 130px rgba(6,18,38,.34)!important;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important}
.modal-card.wide{width:min(1080px,calc(100vw - 32px))!important}
.modal-card.form-shell{width:min(680px,calc(100vw - 32px))!important}
.modal-close{float:none!important;position:sticky!important;top:0;margin-inline-start:auto;display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:999px!important;border:1px solid #dbe5f1!important;background:#fff!important;color:#061226!important;font-size:25px!important;line-height:1!important;box-shadow:0 10px 26px rgba(8,25,52,.08)!important;z-index:3}
.elegant-modal-card .modal-head{margin-top:-22px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e3eaf5}
.elegant-modal-card .modal-head span{display:inline-flex;border-radius:999px;background:#edf5ff;color:#2f6fcf;padding:7px 12px;font-size:12px;font-weight:900}
.elegant-modal-card .modal-head h3{margin:10px 0 4px;color:#061226;font-size:28px;font-weight:900;letter-spacing:-.03em}
.elegant-modal-card .modal-head p{margin:0;color:#64748b;font-weight:800;line-height:1.8}
@media (max-width:720px){.modal-card,.modal-card.wide,.modal-card.form-shell{width:calc(100vw - 20px)!important;padding:20px!important;border-radius:26px!important}.form-grid.two,.admin-grid.two{grid-template-columns:1fr!important}}

/* 2026-05-24 final admin smoothing + demo workflow fix */
body.admin-body .admin-hero-bar,
body.admin-body .admin-workspace,
body.admin-body .admin-layout,
body.admin-body .admin-top-actions{
  overflow: visible !important;
}
body.admin-body .admin-hero-bar:before,
body.admin-body .admin-side-panel:before{
  display:none!important;
}
body.admin-body .admin-hero-bar{
  background:linear-gradient(135deg,#061226 0%,#0a1f3d 52%,#2f6fcf 100%)!important;
  box-shadow:0 24px 70px rgba(6,18,38,.18)!important;
}
body.admin-body .admin-side-panel{
  background:linear-gradient(180deg,#061226 0%,#071a33 60%,#0b2746 100%)!important;
  box-shadow:18px 0 55px rgba(7,26,51,.14)!important;
  border:0!important;
}
body.admin-body .admin-nav-modern a{
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  border-radius:16px!important;
  color:rgba(255,255,255,.72)!important;
}
body.admin-body .admin-nav-modern a span{
  background:rgba(255,255,255,.08)!important;
  box-shadow:none!important;
}
body.admin-body .admin-nav-modern a:hover{
  background:rgba(255,255,255,.075)!important;
  transform:none!important;
}
body.admin-body .admin-nav-modern a.active{
  background:linear-gradient(135deg,rgba(47,111,207,.52),rgba(106,162,248,.16))!important;
  border:0!important;
  box-shadow:0 16px 42px rgba(47,111,207,.18)!important;
}
body.admin-body .card,
body.admin-body .stat-card,
body.admin-body .dashboard-feature-card,
body.admin-body .admin-shortcuts a,
body.admin-body .table-wrap{
  border:0!important;
  box-shadow:0 18px 52px rgba(8,25,52,.08)!important;
}
body.admin-body .table-wrap{
  border:1px solid rgba(219,229,241,.82)!important;
}
body.admin-body table th{
  background:#f7fbff!important;
}
body.admin-body .notification-panel{
  position:fixed!important;
  top:92px!important;
  width:min(440px,calc(100vw - 28px))!important;
  max-height:min(620px,calc(100vh - 118px))!important;
  z-index:2147483000!important;
  border-radius:26px!important;
  border:1px solid rgba(219,229,241,.95)!important;
  box-shadow:0 34px 120px rgba(6,18,38,.34)!important;
}
html[dir="rtl"] body.admin-body .notification-panel{left:22px!important;right:auto!important;inset-inline-end:auto!important;}
html[dir="ltr"] body.admin-body .notification-panel{right:22px!important;left:auto!important;inset-inline-end:auto!important;}
@media(max-width:700px){
  html[dir="rtl"] body.admin-body .notification-panel,
  html[dir="ltr"] body.admin-body .notification-panel{left:14px!important;right:14px!important;width:auto!important;}
}

/* Demo request cards restore */
.demo-request-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.demo-request-card{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 20px 60px rgba(8,25,52,.09);
  padding:22px;
  color:var(--vp-navy);
}
.demo-request-card:before{
  content:"";
  position:absolute;
  inset-inline-end:-42px;
  top:-42px;
  width:138px;
  height:138px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(47,111,207,.16),rgba(106,162,248,.08));
  pointer-events:none;
}
.demo-request-card-head{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.demo-request-card h3{
  margin:10px 0 3px;
  color:#061226;
  font-size:22px;
  font-weight:900;
  letter-spacing:-.03em;
}
.demo-request-card p{margin:0;color:#64748b;font-weight:800;line-height:1.7;}
.demo-source-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:900;
  background:#edf5ff;
  color:#2f6fcf;
}
.demo-source-badge.registered{background:#ecfdf5;color:#047857;}
.demo-request-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:16px;
}
.demo-request-meta span{
  border-radius:18px;
  background:#f4f8ff;
  padding:12px;
  min-width:0;
  color:#061226;
  font-size:13px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
}
.demo-request-meta b{
  display:block;
  margin-bottom:4px;
  color:#64748b;
  font-size:11px;
  font-weight:900;
}
.demo-send-form{
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  border-radius:24px;
  background:#fff;
  padding:14px;
}
.demo-send-form label{font-weight:900;color:#334155;}
.demo-request-actions{
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-start;
}
.registered-demo-box{
  position:relative;
  border-radius:24px;
  background:linear-gradient(135deg,#061226,#0a1f3d 52%,#2f6fcf);
  padding:18px;
  color:#fff;
}
.registered-demo-box strong{display:block;font-size:16px;font-weight:900;color:#fff;}
.registered-demo-box p{margin:8px 0 14px;color:rgba(255,255,255,.78);font-weight:800;}
.registered-demo-box .btn{background:#fff!important;color:#061226!important;}
body.admin-body .demo-console-card{padding:24px!important;}
body.admin-body .selected-customer-card{
  background:linear-gradient(135deg,#061226,#0a1f3d 58%,#2f6fcf)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 18px 42px rgba(47,111,207,.18)!important;
}
body.admin-body .selected-customer-card strong{color:#fff!important;}
body.admin-body .selected-customer-card span{color:rgba(255,255,255,.78)!important;}
@media(max-width:1100px){
  .demo-request-grid{grid-template-columns:1fr;}
  .demo-request-meta{grid-template-columns:1fr;}
  .demo-send-form{grid-template-columns:1fr;}
}

/* Customer subscription / renewal flow polish - 2026-05-24 */
.customer-portal-modern .customer-hero-solid{
  background:radial-gradient(circle at 88% 18%,rgba(117,211,255,.22),transparent 28%),radial-gradient(circle at 12% 12%,rgba(47,111,207,.25),transparent 30%),linear-gradient(135deg,#061226 0%,#071a33 55%,#0b2746 100%)!important;
  border:0!important;
  color:#fff!important;
  box-shadow:0 30px 90px rgba(6,18,38,.20)!important;
}
.customer-portal-modern .customer-hero-solid h1,.customer-portal-modern .customer-hero-solid p{color:#fff!important}
.customer-portal-modern .portal-status-card{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important}
.customer-portal-modern .portal-status-card span,.customer-portal-modern .portal-status-card small{color:rgba(255,255,255,.72)!important}
.subscription-grid{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)!important;align-items:stretch!important}
.subscription-card-primary,.renewal-card-customer,.upgrade-place-card,.disabled-demo-card{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;border:1px solid #dfe8f4!important;box-shadow:0 22px 70px rgba(7,26,51,.10)!important}
.subscription-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.subscription-price-grid .total{grid-column:1/-1!important;background:#061226!important;color:#fff!important;border-color:#061226!important}
.subscription-price-grid .total span{color:rgba(255,255,255,.72)!important}.subscription-price-grid .total strong{color:#fff!important}
.subscription-detail-box{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0;padding:14px;border-radius:24px;background:#f6f9fe;border:1px solid #e2ebf6}
.subscription-detail-box div{min-width:0;border-radius:18px;background:#fff;border:1px solid #e8eef7;padding:13px 14px;box-shadow:0 8px 26px rgba(7,26,51,.04)}
.subscription-detail-box span{display:block;color:#64748b;font-size:12px;font-weight:900}.subscription-detail-box strong{display:block;margin-top:5px;color:#061226;font-weight:900;word-break:break-word}
.subscription-detail-box .wide{grid-column:1/-1}.subscription-detail-box.renewal{grid-template-columns:1fr 1fr}.portal-note{margin-top:16px;padding:14px 16px;border-radius:20px;font-weight:800;line-height:1.75}.success-note{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}.customer-upgrade-btn{background:#eef4fb!important;color:#061226!important;border-color:#d8e5f4!important}.renewal-card-customer .btn-primary{margin-top:14px}.customer-portal-modern .timer{color:#2f6fcf;font-weight:900}
@media(max-width:1024px){.subscription-grid{grid-template-columns:1fr!important}.subscription-detail-box,.subscription-detail-box.renewal{grid-template-columns:1fr!important}.subscription-price-grid{grid-template-columns:1fr!important}}

/* Home dark navbar full-width edge-to-edge. */
.section-frame.dark-panel > .site-header-dark,
.site-header.site-header-dark{max-width:none!important;width:100%!important;margin:0!important;border-radius:0!important;padding-inline:clamp(18px,4vw,56px)!important;background:linear-gradient(135deg,#061226 0%,#071a33 58%,#0b2746 100%)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:0 14px 40px rgba(0,0,0,.16)!important}
.section-frame.dark-panel > .site-header-dark nav{background:rgba(255,255,255,.07)!important}
.current-package-features{margin:16px 0 4px;padding:16px;border-radius:22px;background:#f8fbff;border:1px solid #e3ebf6}.current-package-features>strong{display:block;color:#061226;font-weight:900;margin-bottom:10px}.current-package-features ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:0;padding:0;list-style:none}.current-package-features li{display:flex;align-items:flex-start;gap:8px;color:#334155;font-size:13px;font-weight:800;line-height:1.65}.current-package-features li span{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:#ecfdf5;color:#059669;flex:0 0 auto}.current-package-features li.muted{color:#94a3b8}.current-package-features li.muted span{background:#fee2e2;color:#dc2626}@media(max-width:760px){.current-package-features ul{grid-template-columns:1fr}}

/* Customer subscribe flow fix: package + billing are selected then subscribed directly, no save-change button. */
.subscribe-select-form{margin-top:18px;border:1px solid #dbe7f6;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border-radius:24px;padding:16px;box-shadow:0 18px 42px rgba(8,25,52,.06)}
.subscribe-select-form .form-help{display:block;color:#64748b;font-size:12px;font-weight:800;line-height:1.7;margin-top:-2px}
.subscribe-select-form .wide{grid-column:1/-1}
.subscribe-select-form .btn-primary{box-shadow:0 18px 34px rgba(47,111,207,.22)}
@media(max-width:640px){.subscribe-select-form{padding:14px;border-radius:20px}}

/* 2026-05-24 subscriber portal alignment + live preview + popup feedback fixes */
.site-header.site-header-light{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding-inline:clamp(18px,6vw,76px)!important;
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:blur(18px)!important;
  border-bottom:1px solid #e3eaf5!important;
  box-shadow:0 14px 42px rgba(7,26,51,.07)!important;
}
.site-header.site-header-light .brand,
.site-header.site-header-light a,
.site-header.site-header-light button{white-space:nowrap!important}
.customer-portal-page{
  padding-inline:clamp(18px,6vw,76px)!important;
}
.customer-portal-modern .customer-hero-solid{
  border-radius:32px!important;
  align-items:center!important;
  padding:clamp(22px,3.2vw,36px)!important;
  margin-top:20px!important;
  margin-bottom:24px!important;
}
.customer-portal-modern .customer-hero-solid > div:first-child{min-width:0;}
.customer-portal-modern .customer-hero-solid h1{line-height:1.12!important;margin:.45rem 0 .25rem!important;}
.customer-portal-modern .customer-hero-solid p{margin:0!important;max-width:760px!important;}
.customer-portal-modern .portal-status-card{align-self:stretch!important;display:grid!important;align-content:center!important;}
.customer-grid.main,.customer-grid.secondary{align-items:stretch!important;}
.customer-grid.secondary{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.customer-grid > .portal-card{height:100%!important;display:flex!important;flex-direction:column!important;}
.customer-grid > .portal-card > .table-wrap,
.customer-grid > .portal-card > .portal-empty{flex:1 1 auto!important;}
.portal-card .card-title-row{min-height:76px!important;align-items:flex-start!important;}
.portal-card .card-title-row h2{line-height:1.2!important;}
.portal-card .muted-text{min-height:48px!important;}
.portal-card form.portal-form{margin-top:auto!important;}
.portal-form.two.subscribe-select-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;}
.package-live-preview{
  margin-top:4px!important;
  border:1px solid #dbe7f6!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)!important;
  padding:16px!important;
  box-shadow:0 14px 40px rgba(8,25,52,.06)!important;
}
.package-live-preview .preview-head{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.package-live-preview .package-icon.small{width:46px!important;height:46px!important;border-radius:16px!important;font-size:18px!important;flex:0 0 auto;}
.package-live-preview .preview-head strong{display:block;color:#061226;font-size:18px;font-weight:900;line-height:1.25;}
.package-live-preview .preview-head small{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:800;line-height:1.6;}
.package-live-preview .preview-price{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px;}
.package-live-preview .preview-price div{border:1px solid #e6edf7;border-radius:16px;background:#fff;padding:11px 12px;min-width:0;}
.package-live-preview .preview-price span{display:block;color:#64748b;font-size:11px;font-weight:900;margin-bottom:4px;}
.package-live-preview .preview-price b{display:block;color:#061226;font-size:13px;font-weight:900;word-break:break-word;}
.package-live-preview .preview-price .preview-total{background:linear-gradient(135deg,#061226,#0a1f3d)!important;border-color:#061226!important;}
.package-live-preview .preview-price .preview-total span{color:#b7d3ff!important;}
.package-live-preview .preview-price .preview-total b{color:#fff!important;font-size:15px;}
.current-package-features.live{margin:0!important;padding:14px!important;background:#f8fbff!important;border-radius:18px!important;}
.current-package-features.live ul{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.flash-modal{z-index:100500!important;}
.flash-modal-card{width:min(680px,calc(100vw - 32px))!important;text-align:inherit!important;}
.flash-modal-body{display:grid;gap:10px;margin:16px 0;}
.flash-message{border-radius:18px;padding:14px 16px;font-weight:900;line-height:1.8;border:1px solid transparent;}
.flash-modal-body.is-success .flash-message{background:#ecfdf5;color:#166534;border-color:#bbf7d0;}
.flash-modal-body.is-error .flash-message{background:#fff1f2;color:#be123c;border-color:#fecdd3;}
.flash-modal-actions{display:flex;justify-content:flex-end;margin-top:12px;}
@media(max-width:1050px){
  .customer-grid.secondary{grid-template-columns:1fr!important;}
  .package-live-preview .preview-price{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  .site-header.site-header-light{padding-inline:14px!important;}
  .customer-portal-modern .customer-hero-solid{border-radius:26px!important;align-items:stretch!important;}
  .portal-card .card-title-row{min-height:auto!important;}
  .portal-card .muted-text{min-height:auto!important;}
  .portal-form.two.subscribe-select-form{grid-template-columns:1fr!important;}
  .package-live-preview .preview-price{grid-template-columns:1fr!important;}
  .current-package-features.live ul{grid-template-columns:1fr!important;}
  .flash-modal-actions .btn{width:100%;justify-content:center;}
}
