:root{
  --fu-bg:#03040b;
  --fu-card:rgba(10,14,34,.78);
  --fu-border:rgba(139,92,246,.38);
  --fu-cyan:#22d3ee;
  --fu-blue:#0ea5e9;
  --fu-purple:#8b5cf6;
  --fu-pink:#ec4899;
  --fu-text:#f8fbff;
  --fu-muted:#a7b4d6;
  --fu-glow:0 0 34px rgba(139,92,246,.38),0 0 70px rgba(14,165,233,.18);
}

body.fouru-neon{
  margin:0;
  min-height:100vh;
  color:var(--fu-text);
  font-family:Inter,Arial,sans-serif;
  background:
    radial-gradient(circle at 12% 12%,rgba(139,92,246,.32),transparent 30%),
    radial-gradient(circle at 88% 18%,rgba(14,165,233,.25),transparent 28%),
    radial-gradient(circle at 50% 95%,rgba(236,72,153,.16),transparent 32%),
    linear-gradient(135deg,#02030a,#070817 48%,#01020a);
  overflow-x:hidden;
}

body.fouru-neon:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:70px 70px;
  opacity:.65;
}

.fu-wrap{
  position:relative;
  z-index:1;
  width:min(1420px,calc(100% - 48px));
  margin:auto;
}

.fu-top{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.fu-brand{
  display:flex;
  align-items:center;
  gap:14px;
  color:#fff;
  text-decoration:none;
}

.fu-brand img{
  width:68px;
  height:68px;
  object-fit:contain;
  filter:drop-shadow(0 0 22px rgba(139,92,246,.8));
}

.fu-brand-title{
  font-size:31px;
  font-weight:1000;
  letter-spacing:-1.5px;
  line-height:1;
}

.fu-brand-sub{
  color:#b7c4e8;
  font-size:13px;
  font-weight:800;
  margin-top:5px;
}

.fu-nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.fu-btn,
.fu-nav a,
button.fu-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.15);
  background:linear-gradient(135deg,rgba(139,92,246,.32),rgba(14,165,233,.22));
  color:white;
  text-decoration:none;
  font-weight:950;
  padding:14px 22px;
  border-radius:18px;
  box-shadow:0 18px 50px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.14);
  cursor:pointer;
  transition:.22s ease;
}

.fu-btn:hover,
.fu-nav a:hover{
  transform:translateY(-2px);
  box-shadow:var(--fu-glow);
  border-color:rgba(125,211,252,.6);
}

.fu-hero{
  display:grid;
  grid-template-columns:minmax(320px,.9fr) minmax(430px,1fr);
  gap:64px;
  align-items:center;
  padding:64px 0 90px;
}

.fu-pill{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:13px 22px;
  border-radius:999px;
  border:1px solid var(--fu-border);
  background:rgba(11,15,34,.62);
  box-shadow:0 0 42px rgba(139,92,246,.18),inset 0 1px 0 rgba(255,255,255,.08);
  font-weight:1000;
}

.fu-live{
  color:#bbf7d0;
  font-size:12px;
  letter-spacing:.08em;
}

.fu-title{
  font-size:clamp(58px,7vw,104px);
  line-height:.9;
  letter-spacing:-5px;
  margin:30px 0 24px;
  font-weight:1000;
  color:#fff;
  text-shadow:0 4px 0 rgba(96,165,250,.24),0 0 40px rgba(14,165,233,.2);
}

.fu-title span{
  background:linear-gradient(135deg,#fff,#bfdbfe 45%,#e9d5ff);
  -webkit-background-clip:text;
  color:transparent;
}

.fu-text{
  color:#d7e3ff;
  font-size:21px;
  line-height:1.65;
  max-width:650px;
  font-weight:750;
}

.fu-chips{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.fu-chip{
  padding:11px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(15,23,42,.62);
  color:#eaf2ff;
  font-weight:900;
}

.fu-card{
  background:linear-gradient(180deg,rgba(13,18,44,.88),rgba(5,8,22,.80));
  border:1px solid var(--fu-border);
  border-radius:34px;
  padding:30px;
  box-shadow:0 30px 120px rgba(14,165,233,.18);
  backdrop-filter:blur(20px);
  position:relative;
  overflow:hidden;
}

.fu-card:before{
  content:"";
  position:absolute;
  inset:-1px;
  background:linear-gradient(135deg,rgba(139,92,246,.28),transparent 38%,rgba(14,165,233,.18));
  pointer-events:none;
}

.fu-card > *{
  position:relative;
  z-index:1;
}

.fu-step{
  color:#7dd3fc;
  font-weight:1000;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:14px;
  margin-bottom:14px;
}

.fu-img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.10);
  opacity:.88;
}

.fu-card h1{
  font-size:clamp(34px,4vw,52px);
  line-height:1;
  letter-spacing:-2px;
  margin:26px 0 12px;
  font-weight:1000;
}

.fu-card p{
  color:#cbd5e1;
  font-weight:750;
  line-height:1.6;
}

.fu-form label{
  display:block;
  color:#f8fbff;
  font-weight:950;
  margin:18px 0 8px;
}

.fu-form input,
.fu-form textarea,
.fu-form select{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(56,189,248,.32);
  background:rgba(2,6,23,.62);
  color:white;
  border-radius:18px;
  padding:16px 18px;
  outline:none;
  font-weight:850;
}

.fu-form textarea{
  min-height:118px;
  resize:vertical;
}

.fu-submit{
  width:100%;
  margin-top:24px;
  border:0;
  border-radius:18px;
  padding:17px 22px;
  font-weight:1000;
  font-size:17px;
  color:white;
  background:linear-gradient(135deg,#6d5dfc,#0ea5e9);
  box-shadow:0 20px 70px rgba(14,165,233,.28);
  cursor:pointer;
}

.fu-submit:hover{
  box-shadow:var(--fu-glow);
}

@media(max-width:980px){
  .fu-hero{grid-template-columns:1fr;gap:34px;padding:34px 0 70px}
  .fu-top{align-items:flex-start;flex-direction:column}
  .fu-title{letter-spacing:-3px}
}

@media(max-width:560px){
  .fu-wrap{width:min(100% - 28px,1420px)}
  .fu-title{font-size:54px}
  .fu-card{padding:20px}
}

/* =========================
   FourU Neon Auth Pages
   Login / Register / Reset
========================= */

body.auth-premium.fouru-neon{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:32px;
}

body.auth-premium.fouru-neon:before{
  z-index:0;
}

.auth-card{
  position:relative;
  z-index:2;
  width:min(1120px,100%);
  min-height:620px;
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:0;
  overflow:hidden;
  border-radius:38px;
  background:
    radial-gradient(circle at top left,rgba(139,92,246,.28),transparent 34%),
    radial-gradient(circle at bottom right,rgba(14,165,233,.22),transparent 36%),
    linear-gradient(135deg,rgba(13,18,44,.92),rgba(2,6,23,.84));
  border:1px solid rgba(139,92,246,.34);
  box-shadow:
    0 45px 140px rgba(0,0,0,.58),
    0 0 70px rgba(14,165,233,.12),
    inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter:blur(22px);
}

.auth-brand{
  padding:54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.auth-brand:before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  left:-120px;
  top:-120px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(139,92,246,.35),transparent 65%);
  filter:blur(10px);
}

.auth-brand > *{
  position:relative;
  z-index:1;
}

.auth-brand img{
  width:190px;
  max-width:70%;
  height:auto;
  object-fit:contain;
  margin-bottom:36px;
  filter:drop-shadow(0 0 28px rgba(139,92,246,.55));
}

.auth-brand h2{
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(42px,5vw,72px);
  line-height:.92;
  letter-spacing:-4px;
  font-weight:1000;
  text-shadow:0 0 34px rgba(14,165,233,.16);
}

.auth-brand p{
  margin:0;
  color:#d7e3ff;
  font-size:19px;
  line-height:1.7;
  font-weight:750;
  max-width:520px;
}

.auth-form{
  padding:54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:rgba(2,6,23,.28);
  border-left:1px solid rgba(255,255,255,.08);
}

.auth-form h1{
  margin:0 0 10px;
  color:#fff;
  font-size:44px;
  line-height:1;
  letter-spacing:-2px;
  font-weight:1000;
}

.auth-form p{
  margin:0 0 24px;
  color:#a7b4d6;
  font-weight:800;
  line-height:1.6;
}

.auth-form input,
.auth-reset-card input{
  width:100%;
  box-sizing:border-box;
  min-height:58px;
  margin:9px 0;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(56,189,248,.26);
  background:rgba(2,6,23,.62);
  color:white;
  outline:none;
  font-size:15px;
  font-weight:800;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.auth-form input:focus,
.auth-reset-card input:focus{
  border-color:rgba(125,211,252,.75);
  box-shadow:0 0 0 4px rgba(14,165,233,.12);
}

.auth-form button,
.auth-reset-card button[type="submit"]{
  width:100%;
  margin-top:14px;
  border:0;
  border-radius:18px;
  padding:17px 22px;
  color:white;
  background:linear-gradient(135deg,#7c3aed,#0ea5e9);
  font-weight:1000;
  font-size:16px;
  cursor:pointer;
  box-shadow:0 20px 70px rgba(14,165,233,.24);
  transition:.22s ease;
}

.auth-form button:hover,
.auth-reset-card button[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 0 34px rgba(139,92,246,.42),0 0 70px rgba(14,165,233,.20);
}

.auth-link{
  display:block;
  margin-top:16px;
  color:#93c5fd;
  font-weight:950;
  text-align:center;
  text-decoration:none;
}

.auth-link:hover{
  color:#fff;
  text-shadow:0 0 18px rgba(125,211,252,.55);
}

.error{
  background:rgba(244,63,94,.12);
  color:#fecdd3;
  border:1px solid rgba(244,63,94,.28);
  padding:13px 15px;
  border-radius:16px;
  margin:12px 0 18px;
  font-weight:850;
}

.success{
  background:rgba(34,197,94,.12);
  color:#bbf7d0;
  border:1px solid rgba(34,197,94,.28);
  padding:13px 15px;
  border-radius:16px;
  margin:12px 0 18px;
  font-weight:850;
}

.auth-reset-modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  place-items:center;
  padding:28px;
  background:rgba(2,6,23,.72);
  backdrop-filter:blur(16px);
}

.auth-reset-modal.active{
  display:grid;
}

.auth-reset-card{
  width:min(480px,100%);
  position:relative;
  border-radius:30px;
  padding:34px;
  background:linear-gradient(180deg,rgba(13,18,44,.95),rgba(2,6,23,.92));
  border:1px solid rgba(139,92,246,.36);
  box-shadow:0 40px 120px rgba(0,0,0,.55);
}

.auth-reset-card h2{
  margin:0 0 10px;
  font-size:34px;
  letter-spacing:-1px;
}

.auth-reset-card p{
  color:#a7b4d6;
  line-height:1.6;
  font-weight:750;
}

.auth-reset-close{
  position:absolute;
  top:16px;
  right:16px;
  width:38px !important;
  height:38px;
  padding:0 !important;
  border-radius:14px !important;
  background:rgba(255,255,255,.08) !important;
  color:#fff;
}

@media(max-width:900px){
  body.auth-premium.fouru-neon{
    padding:18px;
  }

  .auth-card{
    grid-template-columns:1fr;
  }

  .auth-brand,
  .auth-form{
    padding:34px;
  }

  .auth-form{
    border-left:0;
    border-top:1px solid rgba(255,255,255,.08);
  }

  .auth-brand h2{
    font-size:42px;
    letter-spacing:-2px;
  }
}

/* =========================
   FourU Neon Customer Dashboard
========================= */

body.dashboard-neon{
  margin:0;
  min-height:100vh;
  color:#f8fbff;
  font-family:Inter,Arial,sans-serif;
  background:
    radial-gradient(circle at 12% 10%,rgba(139,92,246,.30),transparent 30%),
    radial-gradient(circle at 88% 18%,rgba(14,165,233,.24),transparent 30%),
    radial-gradient(circle at 48% 95%,rgba(236,72,153,.13),transparent 34%),
    linear-gradient(135deg,#02030a,#060817 48%,#01020a) !important;
  overflow-x:hidden;
}

body.dashboard-neon:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:72px 72px;
  opacity:.52;
}

body.dashboard-neon .shell{
  position:relative;
  z-index:1;
  min-height:100vh;
  display:grid;
  grid-template-columns:300px 1fr;
  background:transparent !important;
}

body.dashboard-neon .sidebar{
  background:
    radial-gradient(circle at 0% 0%,rgba(139,92,246,.34),transparent 34%),
    radial-gradient(circle at 90% 16%,rgba(14,165,233,.22),transparent 38%),
    linear-gradient(180deg,rgba(8,11,31,.92),rgba(2,6,23,.82)) !important;
  border-right:1px solid rgba(139,92,246,.30);
  box-shadow:0 0 80px rgba(14,165,233,.10);
  backdrop-filter:blur(18px);
}

body.dashboard-neon .brand{
  color:#fff !important;
  font-size:30px !important;
  font-weight:1000 !important;
  letter-spacing:-1.5px !important;
  text-shadow:0 0 24px rgba(125,211,252,.24);
}

body.dashboard-neon .side-nav a,
body.dashboard-neon .side-footer a{
  background:rgba(15,23,42,.64) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  color:#dbeafe !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  transition:.22s ease;
}

body.dashboard-neon .side-nav a:hover,
body.dashboard-neon .side-nav a.active,
body.dashboard-neon .side-footer a:hover{
  background:linear-gradient(135deg,#7c3aed,#0ea5e9) !important;
  color:#fff !important;
  box-shadow:0 0 34px rgba(139,92,246,.30),0 0 60px rgba(14,165,233,.14);
  transform:translateX(3px);
}

body.dashboard-neon .main{
  background:transparent !important;
  padding:30px !important;
}

body.dashboard-neon .topbar,
body.dashboard-neon .hero,
body.dashboard-neon .notice,
body.dashboard-neon .warning,
body.dashboard-neon .glass,
body.dashboard-neon .card,
body.dashboard-neon .stat,
body.dashboard-neon .live-card,
body.dashboard-neon .page-row,
body.dashboard-neon .empty{
  background:
    radial-gradient(circle at top right,rgba(14,165,233,.14),transparent 34%),
    linear-gradient(180deg,rgba(13,18,44,.82),rgba(2,6,23,.68)) !important;
  border:1px solid rgba(139,92,246,.28) !important;
  color:#f8fbff !important;
  box-shadow:
    0 24px 90px rgba(0,0,0,.34),
    0 0 50px rgba(14,165,233,.08),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter:blur(18px);
}

body.dashboard-neon h1,
body.dashboard-neon h2,
body.dashboard-neon h3,
body.dashboard-neon .page-title{
  color:#fff !important;
  font-weight:1000 !important;
  letter-spacing:-1px;
}

body.dashboard-neon p,
body.dashboard-neon .page-meta,
body.dashboard-neon .muted,
body.dashboard-neon .side-label{
  color:#a7b4d6 !important;
}

body.dashboard-neon .page-row{
  border-radius:28px !important;
  margin-bottom:18px !important;
  overflow:hidden;
}

body.dashboard-neon .page-row.live-page{
  border-color:rgba(34,197,94,.36) !important;
  box-shadow:
    0 24px 90px rgba(0,0,0,.36),
    0 0 46px rgba(34,197,94,.10),
    0 0 80px rgba(14,165,233,.08) !important;
}

body.dashboard-neon .page-thumb img{
  border-radius:22px !important;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 60px rgba(0,0,0,.32);
}

body.dashboard-neon .page-thumb-badge,
body.dashboard-neon .status,
body.dashboard-neon .score-chip,
body.dashboard-neon .ai-chip{
  border:1px solid rgba(255,255,255,.12) !important;
  background:rgba(15,23,42,.70) !important;
  color:#eaf2ff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

body.dashboard-neon .status.live{
  background:rgba(34,197,94,.14) !important;
  color:#bbf7d0 !important;
  border-color:rgba(34,197,94,.34) !important;
}

body.dashboard-neon .ai-chip:hover,
body.dashboard-neon .action-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 0 28px rgba(139,92,246,.34),0 0 54px rgba(14,165,233,.14);
}

body.dashboard-neon .smart-metrics div{
  background:rgba(2,6,23,.52) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:18px !important;
  color:#fff !important;
}

body.dashboard-neon .smart-metrics b{
  color:#fff !important;
}

body.dashboard-neon .smart-metrics span{
  color:#a7b4d6 !important;
}

body.dashboard-neon .ai-recommendation{
  background:rgba(14,165,233,.09) !important;
  border:1px solid rgba(14,165,233,.20) !important;
  color:#dbeafe !important;
  border-radius:18px !important;
}

body.dashboard-neon .action-btn,
body.dashboard-neon button.action-btn,
body.dashboard-neon .btn,
body.dashboard-neon button{
  border:1px solid rgba(255,255,255,.12) !important;
  background:rgba(15,23,42,.72) !important;
  color:#fff !important;
  border-radius:16px !important;
  font-weight:950 !important;
}

body.dashboard-neon .primary-btn,
body.dashboard-neon .create-btn,
body.dashboard-neon .btn.primary{
  background:linear-gradient(135deg,#7c3aed,#0ea5e9) !important;
  border-color:rgba(255,255,255,.18) !important;
  box-shadow:0 20px 70px rgba(14,165,233,.22) !important;
}

body.dashboard-neon .danger-btn{
  background:rgba(244,63,94,.14) !important;
  color:#fecdd3 !important;
  border-color:rgba(244,63,94,.28) !important;
}

body.dashboard-neon input,
body.dashboard-neon select,
body.dashboard-neon textarea{
  background:rgba(2,6,23,.62) !important;
  color:#fff !important;
  border:1px solid rgba(56,189,248,.24) !important;
  border-radius:16px !important;
}

@media(max-width:980px){
  body.dashboard-neon .shell{
    grid-template-columns:1fr;
  }

  body.dashboard-neon .sidebar{
    position:relative !important;
    height:auto !important;
  }
}

/* =========================
   Dashboard Polish Fix
========================= */

body.dashboard-neon .main{
  padding:28px 34px 60px !important;
}

body.dashboard-neon .topbar,
body.dashboard-neon .hero{
  position:relative !important;
  margin-bottom:28px !important;
  border-radius:34px !important;
  overflow:visible !important;
}

body.dashboard-neon .stats,
body.dashboard-neon .stat-grid,
body.dashboard-neon .cards{
  margin-top:22px !important;
  margin-bottom:28px !important;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px !important;
}

body.dashboard-neon .stat,
body.dashboard-neon .stats .card,
body.dashboard-neon .cards .card{
  min-height:128px !important;
  padding:28px !important;
  border-radius:28px !important;
  overflow:hidden !important;
}

body.dashboard-neon .stat b,
body.dashboard-neon .stats b,
body.dashboard-neon .card b{
  display:block !important;
  font-size:52px !important;
  line-height:1 !important;
  color:#fff !important;
  letter-spacing:-2px !important;
  margin-bottom:10px !important;
}

body.dashboard-neon .stat span,
body.dashboard-neon .stats span,
body.dashboard-neon .card span{
  color:#a7b4d6 !important;
  font-weight:900 !important;
}

body.dashboard-neon .live-card,
body.dashboard-neon .page-section,
body.dashboard-neon .panel,
body.dashboard-neon .pages-panel{
  margin-top:24px !important;
  border-radius:34px !important;
  padding:30px !important;
}

body.dashboard-neon .page-row{
  display:grid !important;
  grid-template-columns:auto 220px 1fr auto !important;
  gap:24px !important;
  align-items:center !important;
  padding:24px !important;
}

body.dashboard-neon .page-thumb{
  width:220px !important;
  min-width:220px !important;
}

body.dashboard-neon .page-thumb img{
  width:220px !important;
  height:138px !important;
  object-fit:cover !important;
}

body.dashboard-neon .page-actions{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  min-width:150px !important;
}

body.dashboard-neon .action-btn{
  text-align:center !important;
  padding:12px 14px !important;
  white-space:nowrap !important;
}

body.dashboard-neon .bulk-check{
  align-self:start !important;
  padding-top:10px !important;
}

body.dashboard-neon .top-actions,
body.dashboard-neon .header-actions{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  align-items:flex-end !important;
}

@media(max-width:1200px){
  body.dashboard-neon .stats,
  body.dashboard-neon .stat-grid,
  body.dashboard-neon .cards{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  body.dashboard-neon .page-row{
    grid-template-columns:auto 180px 1fr !important;
  }

  body.dashboard-neon .page-actions{
    grid-column:1 / -1 !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
  }

  body.dashboard-neon .page-thumb,
  body.dashboard-neon .page-thumb img{
    width:180px !important;
    min-width:180px !important;
  }
}

@media(max-width:760px){
  body.dashboard-neon .main{
    padding:18px !important;
  }

  body.dashboard-neon .stats,
  body.dashboard-neon .stat-grid,
  body.dashboard-neon .cards{
    grid-template-columns:1fr !important;
  }

  body.dashboard-neon .page-row{
    grid-template-columns:1fr !important;
  }

  body.dashboard-neon .page-thumb,
  body.dashboard-neon .page-thumb img{
    width:100% !important;
    min-width:100% !important;
    height:180px !important;
  }

  body.dashboard-neon .top-actions,
  body.dashboard-neon .header-actions{
    align-items:stretch !important;
  }
}

/* =========================
   FourU Official Brand Logo System
========================= */

.fouru-logo-small{
  width:42px !important;
  height:42px !important;
  object-fit:contain !important;
  display:block;
  filter:drop-shadow(0 0 16px rgba(139,92,246,.55));
}

.fouru-logo-medium{
  width:120px !important;
  max-width:120px !important;
  height:auto !important;
  object-fit:contain !important;
  display:block;
  filter:drop-shadow(0 0 20px rgba(139,92,246,.45));
}

.fouru-logo-full{
  width:210px !important;
  max-width:210px !important;
  height:auto !important;
  object-fit:contain !important;
  display:block;
  filter:drop-shadow(0 0 26px rgba(139,92,246,.50));
}

.fouru-brand-img,
img[src*="fouru-live-logo.png"],
img[src*="fouru-logo-site-transparent.png"],
img[src*="fouru-logo-transparent.png"]{
  object-fit:contain !important;
}

.auth-brand .fouru-logo-full,
.brand .fouru-logo-full,
.fouru-topbar .fouru-logo-full{
  margin-bottom:28px;
}

.sidebar .fouru-logo-medium,
.side-brand .fouru-logo-medium{
  margin-bottom:18px;
}

@media(max-width:700px){
  .fouru-logo-full{
    width:170px !important;
    max-width:170px !important;
  }

  .fouru-logo-medium{
    width:100px !important;
    max-width:100px !important;
  }
}

/* =========================
   FourU Brand Logo Final Sizing
========================= */

.auth-brand img,
.auth-brand .fouru-logo-full{
  width:260px !important;
  max-width:260px !important;
  height:auto !important;
  object-fit:contain !important;
  margin-bottom:52px !important;
  background:transparent !important;
}

.top .brand img,
.top .brand .fouru-logo-medium{
  width:170px !important;
  max-width:170px !important;
  height:auto !important;
  object-fit:contain !important;
  margin:0 !important;
  background:transparent !important;
}

.topbar .logo img,
.trial-top img,
.trial-header img{
  background:transparent !important;
  object-fit:contain !important;
}

.sidebar .brand-logo,
.sidebar .fouru-logo-small{
  width:44px !important;
  height:44px !important;
  object-fit:contain !important;
}

img[src*="/assets/brand/fouru-logo"]{
  background:transparent !important;
}

/* =========================
   FourU Logo Placement Fixes
   Start + Dashboard
========================= */

/* Start / AI Generator top logo */
body:not(.auth-premium) .top .brand img.fouru-logo-medium,
body:not(.auth-premium) .top .brand .fouru-logo-medium{
  width:230px !important;
  max-width:230px !important;
  height:auto !important;
  object-fit:contain !important;
  filter:drop-shadow(0 0 22px rgba(14,165,233,.40)) drop-shadow(0 0 20px rgba(139,92,246,.35)) !important;
}

/* Dashboard sidebar official logo */
body.dashboard-neon .sidebar:before{
  content:"";
  display:block;
  width:185px;
  height:76px;
  margin:0 0 26px;
  background:url("/assets/brand/fouru-logo-medium.png") left center / contain no-repeat;
  filter:drop-shadow(0 0 22px rgba(14,165,233,.32)) drop-shadow(0 0 18px rgba(139,92,246,.28));
}

/* Keep dashboard label spacing nice after logo */
body.dashboard-neon .sidebar .side-label:first-of-type{
  margin-top:4px !important;
}

@media(max-width:760px){
  body:not(.auth-premium) .top .brand img.fouru-logo-medium,
  body:not(.auth-premium) .top .brand .fouru-logo-medium{
    width:180px !important;
    max-width:180px !important;
  }

  body.dashboard-neon .sidebar:before{
    width:160px;
    height:64px;
  }
}

/* =========================================
   FourU Auth Pages - Space Alive Final Style
   Login / Register
========================================= */

body.auth-premium.fouru-neon{
  min-height:100vh !important;
  display:grid !important;
  place-items:center !important;
  padding:34px !important;
  color:#f8fbff !important;
  background:
    radial-gradient(circle at 14% 20%, rgba(88,28,135,.12), transparent 24%),
    radial-gradient(circle at 84% 28%, rgba(8,47,73,.10), transparent 26%),
    radial-gradient(circle at 50% 115%, rgba(0,0,0,1), transparent 42%),
    linear-gradient(180deg, #000000 0%, #01020a 36%, #000000 100%) !important;
  overflow-x:hidden !important;
}

/* subtle stars */
body.auth-premium.fouru-neon:before{
  content:"" !important;
  position:fixed !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  background:
    radial-gradient(circle at 7% 16%, rgba(255,255,255,.58) 0 1px, transparent 1.8px),
    radial-gradient(circle at 13% 72%, rgba(255,255,255,.38) 0 1px, transparent 1.8px),
    radial-gradient(circle at 21% 42%, rgba(125,211,252,.46) 0 1px, transparent 1.8px),
    radial-gradient(circle at 33% 22%, rgba(255,255,255,.42) 0 1px, transparent 1.8px),
    radial-gradient(circle at 46% 60%, rgba(167,139,250,.42) 0 1px, transparent 1.9px),
    radial-gradient(circle at 55% 13%, rgba(255,255,255,.48) 0 1px, transparent 1.8px),
    radial-gradient(circle at 66% 44%, rgba(255,255,255,.34) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 78%, rgba(103,232,249,.42) 0 1px, transparent 1.9px),
    radial-gradient(circle at 84% 61%, rgba(255,255,255,.36) 0 1px, transparent 1.8px),
    radial-gradient(circle at 93% 18%, rgba(255,255,255,.50) 0 1px, transparent 1.8px),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px) !important;
  background-size:auto,auto,auto,auto,auto,auto,auto,auto,auto,auto,64px 64px,64px 64px !important;
  opacity:.48 !important;
  animation:fouruAuthStars 18s ease-in-out infinite alternate !important;
}

/* dark veil */
body.auth-premium.fouru-neon:after{
  content:"" !important;
  position:fixed !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.78), rgba(0,0,0,.42) 42%, rgba(0,0,0,.92) 100%),
    radial-gradient(circle at 50% 45%, transparent 0%, rgba(0,0,0,.48) 62%, rgba(0,0,0,.96) 100%) !important;
  opacity:1 !important;
}

@keyframes fouruAuthStars{
  0%{transform:translate3d(0,0,0);opacity:.34}
  50%{opacity:.56}
  100%{transform:translate3d(-4px,-8px,0);opacity:.42}
}

/* main auth card */
body.auth-premium.fouru-neon .auth-card{
  position:relative !important;
  z-index:2 !important;
  width:min(1120px,100%) !important;
  min-height:620px !important;
  display:grid !important;
  grid-template-columns:.95fr 1.05fr !important;
  overflow:hidden !important;
  border-radius:38px !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(14,165,233,.07), transparent 34%),
    radial-gradient(circle at 12% 30%, rgba(139,92,246,.08), transparent 34%),
    linear-gradient(180deg, rgba(5,8,20,.92), rgba(0,0,0,.88)) !important;
  border:1px solid rgba(56,189,248,.16) !important;
  box-shadow:
    0 34px 130px rgba(0,0,0,.78),
    0 0 52px rgba(14,165,233,.08),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter:blur(18px) !important;
  animation:fouruAuthCardBreath 7s ease-in-out infinite !important;
}

@keyframes fouruAuthCardBreath{
  0%,100%{
    box-shadow:
      0 34px 130px rgba(0,0,0,.78),
      0 0 46px rgba(14,165,233,.07),
      inset 0 1px 0 rgba(255,255,255,.05);
  }
  50%{
    box-shadow:
      0 38px 150px rgba(0,0,0,.86),
      0 0 70px rgba(14,165,233,.11),
      0 0 80px rgba(139,92,246,.06),
      inset 0 1px 0 rgba(255,255,255,.07);
  }
}

body.auth-premium.fouru-neon .auth-brand{
  padding:56px !important;
  position:relative !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(56,189,248,.12), transparent 28%),
    radial-gradient(circle at 22% 70%, rgba(88,28,135,.14), transparent 34%),
    linear-gradient(180deg, rgba(5,8,20,.66), rgba(0,0,0,.46)) !important;
}

body.auth-premium.fouru-neon .auth-form{
  padding:56px !important;
  background:
    radial-gradient(circle at 80% 75%, rgba(14,165,233,.08), transparent 32%),
    linear-gradient(180deg, rgba(2,6,18,.72), rgba(0,0,0,.54)) !important;
  border-left:1px solid rgba(125,211,252,.09) !important;
}

/* alive logo */
body.auth-premium.fouru-neon .auth-brand img{
  width:270px !important;
  max-width:270px !important;
  height:auto !important;
  object-fit:contain !important;
  background:transparent !important;
  margin-bottom:54px !important;
  animation:fouruAuthLogoAlive 4.4s ease-in-out infinite !important;
  filter:
    drop-shadow(0 0 14px rgba(34,211,238,.62))
    drop-shadow(0 0 24px rgba(139,92,246,.46))
    drop-shadow(0 0 38px rgba(59,130,246,.22)) !important;
}

@keyframes fouruAuthLogoAlive{
  0%,100%{
    transform:translateY(0) scale(1);
  }
  50%{
    transform:translateY(-4px) scale(1.025);
  }
}

body.auth-premium.fouru-neon .auth-brand h2{
  margin:0 0 18px !important;
  color:#fff !important;
  font-size:clamp(42px,5vw,70px) !important;
  line-height:.92 !important;
  letter-spacing:-4px !important;
  font-weight:1000 !important;
  text-shadow:
    0 0 18px rgba(125,211,252,.10),
    0 0 34px rgba(139,92,246,.08) !important;
}

body.auth-premium.fouru-neon .auth-brand p,
body.auth-premium.fouru-neon .auth-form p{
  color:rgba(226,232,240,.82) !important;
  line-height:1.7 !important;
  font-weight:800 !important;
}

body.auth-premium.fouru-neon .auth-form h1{
  color:#fff !important;
  font-size:44px !important;
  line-height:1 !important;
  letter-spacing:-2px !important;
  font-weight:1000 !important;
}

/* inputs like trial */
body.auth-premium.fouru-neon .auth-form input,
body.auth-premium.fouru-neon .auth-reset-card input{
  min-height:58px !important;
  border-radius:18px !important;
  color:#f8fbff !important;
  background:
    linear-gradient(180deg, rgba(2,6,18,.96), rgba(0,0,0,.90)) !important;
  border:1px solid rgba(125,211,252,.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 0 0 rgba(14,165,233,0) !important;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background .22s ease !important;
}

body.auth-premium.fouru-neon .auth-form input::placeholder,
body.auth-premium.fouru-neon .auth-reset-card input::placeholder{
  color:rgba(203,213,225,.50) !important;
}

body.auth-premium.fouru-neon .auth-form input:hover,
body.auth-premium.fouru-neon .auth-reset-card input:hover{
  border-color:rgba(125,211,252,.38) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 24px rgba(14,165,233,.08) !important;
}

body.auth-premium.fouru-neon .auth-form input:focus,
body.auth-premium.fouru-neon .auth-reset-card input:focus{
  transform:translateY(-2px) !important;
  outline:none !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(14,165,233,.08), transparent 34%),
    linear-gradient(180deg, rgba(7,13,34,.94), rgba(0,0,0,.91)) !important;
  border-color:rgba(34,211,238,.78) !important;
  box-shadow:
    0 0 0 4px rgba(14,165,233,.10),
    0 0 26px rgba(14,165,233,.17),
    0 0 42px rgba(139,92,246,.08),
    inset 0 1px 0 rgba(255,255,255,.09) !important;
}

/* auth buttons dark black مثل Trial */
body.auth-premium.fouru-neon .auth-form button,
body.auth-premium.fouru-neon .auth-reset-card button[type="submit"]{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate !important;
  width:100% !important;
  min-height:58px !important;
  border-radius:18px !important;
  border:1px solid rgba(125,211,252,.18) !important;
  color:#f8fbff !important;
  font-weight:950 !important;
  letter-spacing:.005em !important;
  text-shadow:none !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(56,189,248,.08), transparent 42%),
    linear-gradient(180deg, rgba(10,15,28,.96), rgba(0,0,0,.94)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 0 1px rgba(255,255,255,.015),
    0 10px 28px rgba(0,0,0,.55),
    0 0 20px rgba(14,165,233,.06) !important;
  filter:none !important;
  animation:fouruAuthButtonBreath 4.8s ease-in-out infinite !important;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background .22s ease !important;
}

body.auth-premium.fouru-neon .auth-form button:hover,
body.auth-premium.fouru-neon .auth-reset-card button[type="submit"]:hover{
  transform:translateY(-2px) scale(1.006) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(56,189,248,.13), transparent 44%),
    linear-gradient(180deg, rgba(14,20,38,.98), rgba(0,0,0,.96)) !important;
  border-color:rgba(125,211,252,.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 14px 34px rgba(0,0,0,.65),
    0 0 24px rgba(14,165,233,.12),
    0 0 34px rgba(139,92,246,.07) !important;
}

body.auth-premium.fouru-neon .auth-form button::after,
body.auth-premium.fouru-neon .auth-reset-card button[type="submit"]::after{
  content:"" !important;
  position:absolute !important;
  top:0 !important;
  bottom:0 !important;
  left:-42% !important;
  width:28% !important;
  pointer-events:none !important;
  z-index:1 !important;
  background:linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0) 25%,
    rgba(125,211,252,.12) 50%,
    rgba(255,255,255,0) 75%,
    transparent 100%
  ) !important;
  transform:skewX(-18deg) !important;
  opacity:0 !important;
  animation:fouruAuthButtonShine 5.8s ease-in-out infinite !important;
}

@keyframes fouruAuthButtonBreath{
  0%,100%{
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.06),
      0 10px 28px rgba(0,0,0,.55),
      0 0 18px rgba(14,165,233,.05);
  }
  50%{
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.08),
      0 12px 32px rgba(0,0,0,.62),
      0 0 22px rgba(14,165,233,.09),
      0 0 28px rgba(139,92,246,.045);
  }
}

@keyframes fouruAuthButtonShine{
  0%,58%{left:-42%;opacity:0}
  68%{opacity:.55}
  100%{left:118%;opacity:0}
}

/* links */
body.auth-premium.fouru-neon .auth-link{
  color:#bfefff !important;
  font-weight:950 !important;
  text-decoration:none !important;
  text-shadow:0 0 14px rgba(14,165,233,.10);
}

body.auth-premium.fouru-neon .auth-link:hover{
  color:#fff !important;
  text-shadow:0 0 18px rgba(125,211,252,.40);
}

/* reset modal dark space */
body.auth-premium.fouru-neon .auth-reset-modal{
  background:rgba(0,0,0,.78) !important;
  backdrop-filter:blur(16px) !important;
}

body.auth-premium.fouru-neon .auth-reset-card{
  border-radius:30px !important;
  background:
    radial-gradient(circle at top right, rgba(14,165,233,.08), transparent 34%),
    linear-gradient(180deg, rgba(5,8,20,.96), rgba(0,0,0,.92)) !important;
  border:1px solid rgba(56,189,248,.18) !important;
  box-shadow:0 40px 130px rgba(0,0,0,.72),0 0 50px rgba(14,165,233,.08) !important;
}

body.auth-premium.fouru-neon .auth-reset-card h2{
  color:#fff !important;
}

/* messages */
body.auth-premium.fouru-neon .error{
  background:rgba(244,63,94,.10) !important;
  color:#fecdd3 !important;
  border:1px solid rgba(244,63,94,.26) !important;
}

body.auth-premium.fouru-neon .success{
  background:rgba(34,197,94,.10) !important;
  color:#bbf7d0 !important;
  border:1px solid rgba(34,197,94,.24) !important;
}

@media(max-width:900px){
  body.auth-premium.fouru-neon{
    padding:18px !important;
  }

  body.auth-premium.fouru-neon .auth-card{
    grid-template-columns:1fr !important;
    min-height:auto !important;
  }

  body.auth-premium.fouru-neon .auth-brand,
  body.auth-premium.fouru-neon .auth-form{
    padding:34px !important;
  }

  body.auth-premium.fouru-neon .auth-form{
    border-left:0 !important;
    border-top:1px solid rgba(125,211,252,.09) !important;
  }

  body.auth-premium.fouru-neon .auth-brand img{
    width:220px !important;
    max-width:220px !important;
    margin-bottom:34px !important;
  }
}

@media (prefers-reduced-motion: reduce){
  body.auth-premium.fouru-neon *,
  body.auth-premium.fouru-neon *::before,
  body.auth-premium.fouru-neon *::after{
    animation:none !important;
    transition:none !important;
  }
}
