/* =========================================================
   NUI STUDIO V85 — PREMIUM VIDEO CALL UI
========================================================= */

#nuiStudioLauncher{
  position:fixed;
  left:50%;
  bottom:105px;
  transform:translateX(-50%);
  z-index:1000002;
  display:none;
  gap:8px;
  max-width:96vw;
  padding:7px;
  border-radius:26px;
  background:rgba(5,16,26,.72);
  backdrop-filter:blur(20px) saturate(160%);
  -webkit-backdrop-filter:blur(20px) saturate(160%);
  box-shadow:
    0 18px 50px rgba(0,0,0,.30),
    inset 0 0 0 1px rgba(255,255,255,.12);
}

#nuiStudioLauncher.show{
  display:flex;
}

.nuiStudioLaunchBtn{
  appearance:none;
  border:0;
  outline:0;
  color:#fff;
  background:transparent;
  min-width:72px;
  padding:9px 10px;
  border-radius:19px;
  font:600 11px/1.15 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  transition:.18s ease;
}

.nuiStudioLaunchBtn:active{
  transform:scale(.94);
  background:rgba(255,255,255,.12);
}

.nuiStudioLaunchBtn svg{
  width:24px;
  height:24px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#nuiStudioSheet{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1000010;
  transform:translateY(110%);
  transition:transform .28s cubic-bezier(.2,.8,.2,1);
  max-height:62vh;
  color:#fff;
  background:
    linear-gradient(180deg,rgba(8,25,38,.96),rgba(3,12,20,.985));
  border-radius:30px 30px 0 0;
  box-shadow:
    0 -18px 70px rgba(0,0,0,.45),
    inset 0 1px rgba(255,255,255,.10);
  backdrop-filter:blur(28px);
  -webkit-backdrop-filter:blur(28px);
  overflow:hidden;
}

#nuiStudioSheet.open{
  transform:translateY(0);
}

.nuiStudioHandle{
  width:42px;
  height:4px;
  margin:9px auto 4px;
  border-radius:99px;
  background:rgba(255,255,255,.28);
}

.nuiStudioHeader{
  height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
}

.nuiStudioHeader strong{
  font:750 19px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  letter-spacing:-.3px;
}

.nuiStudioClose{
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.10);
  color:#fff;
  display:grid;
  place-items:center;
}

.nuiStudioClose svg{
  width:19px;
  height:19px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
}

.nuiStudioTabs{
  display:flex;
  gap:7px;
  padding:2px 14px 12px;
  overflow-x:auto;
  scrollbar-width:none;
}

.nuiStudioTabs::-webkit-scrollbar{display:none}

.nuiStudioTab{
  flex:0 0 auto;
  border:0;
  color:rgba(255,255,255,.70);
  background:rgba(255,255,255,.075);
  padding:10px 15px;
  border-radius:18px;
  font:650 12px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

.nuiStudioTab.active{
  color:#04141f;
  background:linear-gradient(135deg,#5ff4df,#49bfff);
  box-shadow:0 8px 25px rgba(50,217,228,.23);
}

.nuiStudioBody{
  padding:4px 14px calc(20px + env(safe-area-inset-bottom));
  overflow:auto;
  max-height:47vh;
}

.nuiStudioPanel{display:none}
.nuiStudioPanel.active{display:block}

.nuiStudioGrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(74px,1fr));
  gap:10px;
}

.nuiStudioPreset{
  position:relative;
  min-height:92px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  overflow:hidden;
  background:#112432;
  padding:0;
  color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
}

.nuiStudioPreset::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 70% 20%,rgba(65,234,224,.35),transparent 38%),
    linear-gradient(145deg,#16384b,#071520 72%);
}

.nuiStudioPreset span{
  position:absolute;
  left:7px;
  right:7px;
  bottom:7px;
  z-index:2;
  padding:5px 4px;
  border-radius:11px;
  background:rgba(0,0,0,.42);
  backdrop-filter:blur(7px);
  font:650 10px/1.1 system-ui;
}

.nuiStudioPreset.active{
  border-color:#56eadd;
  box-shadow:
    0 0 0 2px rgba(86,234,221,.25),
    0 9px 28px rgba(0,0,0,.18);
}

.nuiBeautyBox{
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:16px;
  margin-bottom:10px;
}

.nuiBeautyRow{
  display:flex;
  align-items:center;
  gap:12px;
}

.nuiBeautyIcon{
  width:38px;
  height:38px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:rgba(65,221,223,.15);
}

.nuiBeautyIcon svg{
  width:21px;
  stroke:#79f5e9;
  fill:none;
  stroke-width:1.8;
}

.nuiBeautyText{
  flex:1;
}

.nuiBeautyText b{
  display:block;
  font:700 13px system-ui;
}

.nuiBeautyText small{
  color:rgba(255,255,255,.56);
  font:500 11px system-ui;
}

.nuiBeautyRange{
  width:100%;
  margin-top:15px;
  accent-color:#50e4da;
}

.nuiStudioHint{
  margin-top:12px;
  padding:12px 14px;
  border-radius:17px;
  color:rgba(255,255,255,.62);
  background:rgba(255,255,255,.055);
  font:500 11px/1.45 system-ui;
}

@media(max-width:410px){
  .nuiStudioGrid{
    grid-template-columns:repeat(3,minmax(74px,1fr));
  }

  .nuiStudioLaunchBtn{
    min-width:64px;
    padding-left:6px;
    padding-right:6px;
  }
}


/* ==========================================================
   NUI PREMIUM AUTH EXPERIENCE V3
   ========================================================== */

:root{
  --nui-ink:#071a2b;
  --nui-muted:#71808e;
  --nui-line:rgba(8,42,63,.10);
  --nui-soft:#f5fafb;
  --nui-cyan:#15d5cf;
  --nui-blue:#168cff;
  --nui-shadow:0 24px 70px rgba(8,48,72,.13);
}

.auth-card,
.nui-signup-v2,
#signupForm{
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif !important;
}

.nui-signup-v2{
  width:100% !important;
  max-width:560px !important;
  margin:0 auto !important;
  padding:24px 4px 30px !important;
  color:var(--nui-ink) !important;
  box-sizing:border-box !important;
}

.nui-signup-v2 h1{
  margin:8px 0 14px !important;
  color:var(--nui-ink) !important;
  font-size:clamp(32px,8vw,46px) !important;
  line-height:1.02 !important;
  font-weight:850 !important;
  letter-spacing:-1.7px !important;
}

.nui-signup-sub{
  margin:0 0 28px !important;
  color:var(--nui-muted) !important;
  font-size:18px !important;
  line-height:1.48 !important;
  font-weight:450 !important;
}

.nui-signup-logo{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:72px !important;
  height:36px !important;
  padding:0 14px !important;
  margin:10px 0 15px !important;
  border-radius:999px !important;
  background:linear-gradient(
    135deg,
    rgba(21,213,207,.13),
    rgba(22,140,255,.10)
  ) !important;
  color:#079da9 !important;
  font-size:15px !important;
  font-weight:900 !important;
  letter-spacing:2px !important;
}

.nui-signup-progress{
  width:100% !important;
  height:5px !important;
  margin:0 0 18px !important;
  border-radius:999px !important;
  overflow:hidden !important;
  background:#eaf3f5 !important;
}

.nui-signup-progress span{
  display:block !important;
  height:100% !important;
  border-radius:999px !important;
  background:linear-gradient(
    90deg,
    var(--nui-cyan),
    var(--nui-blue)
  ) !important;
}

.nui-signup-back{
  width:48px !important;
  height:48px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid var(--nui-line) !important;
  border-radius:50% !important;
  background:#fff !important;
  color:var(--nui-ink) !important;
  box-shadow:0 8px 24px rgba(3,44,67,.07) !important;
  font-size:32px !important;
  line-height:1 !important;
  appearance:none !important;
}

.nui-two-fields{
  width:100% !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:12px !important;
}

.nui-two-fields input,
.nui-big-field input,
.nui-password-wrap input{
  width:100% !important;
  height:66px !important;
  min-height:66px !important;
  padding:0 18px !important;
  box-sizing:border-box !important;
  border:1px solid rgba(8,52,75,.14) !important;
  border-radius:19px !important;
  outline:none !important;
  background:#fff !important;
  color:var(--nui-ink) !important;
  font-family:inherit !important;
  font-size:18px !important;
  font-weight:500 !important;
  appearance:none !important;
  box-shadow:
    0 7px 24px rgba(8,52,75,.035) !important;
}

.nui-two-fields input:focus,
.nui-big-field input:focus,
.nui-password-wrap input:focus{
  border-color:#12bdc9 !important;
  box-shadow:
    0 0 0 4px rgba(18,189,201,.10),
    0 10px 30px rgba(8,52,75,.06) !important;
}

.nui-big-field{
  display:block !important;
  width:100% !important;
  margin:0 0 17px !important;
  box-sizing:border-box !important;
}

.nui-big-field>span{
  display:block !important;
  margin:0 0 9px 3px !important;
  color:#183347 !important;
  font-size:14px !important;
  font-weight:750 !important;
  letter-spacing:.1px !important;
}

.nui-country-box{
  display:grid !important;
  width:100% !important;
  gap:5px !important;
}

.nui-country-flag{
  width:58px !important;
  height:58px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-bottom:10px !important;
  border-radius:18px !important;
  background:#f4fbfb !important;
  font-size:29px !important;
}

.nui-choice-list{
  width:100% !important;
  margin:6px 0 22px !important;
  overflow:hidden !important;
  border:1px solid rgba(8,52,75,.11) !important;
  border-radius:23px !important;
  background:#fff !important;
  box-shadow:0 12px 38px rgba(8,52,75,.055) !important;
}

.nui-choice{
  width:100% !important;
  min-height:78px !important;
  padding:0 20px !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  border:0 !important;
  border-bottom:1px solid rgba(8,52,75,.08) !important;
  background:#fff !important;
  color:var(--nui-ink) !important;
  font-size:18px !important;
  font-weight:650 !important;
}

.nui-choice:last-child{
  border-bottom:0 !important;
}

.nui-choice input[type="radio"]{
  width:27px !important;
  height:27px !important;
  flex:0 0 27px !important;
  accent-color:#168cff !important;
}

.nui-password-wrap,
.nui-login-password-wrap{
  position:relative !important;
  width:100% !important;
}

.nui-password-wrap input,
.nui-login-password-wrap input{
  width:100% !important;
  box-sizing:border-box !important;
  padding-right:72px !important;
}

.nui-password-eye,
.nui-login-eye{
  position:absolute !important;
  right:7px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:52px !important;
  height:52px !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  border-radius:15px !important;
  background:#eff8fa !important;
  color:#143446 !important;
  font-size:22px !important;
  cursor:pointer !important;
  appearance:none !important;
}

.nui-handle-wrap{
  width:100% !important;
  min-height:66px !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  overflow:hidden !important;
  border:1px solid rgba(8,52,75,.14) !important;
  border-radius:19px !important;
  background:#fff !important;
  box-shadow:0 7px 24px rgba(8,52,75,.035) !important;
}

.nui-handle-wrap b{
  padding-left:18px !important;
  color:#0c3047 !important;
  font-size:20px !important;
}

.nui-handle-wrap input{
  width:100% !important;
  height:64px !important;
  padding:0 16px 0 7px !important;
  box-sizing:border-box !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  color:var(--nui-ink) !important;
  font-size:18px !important;
  font-weight:600 !important;
}

.nui-password-help,
.nui-signup-note{
  margin:8px 3px 20px !important;
  color:var(--nui-muted) !important;
  font-size:14px !important;
  line-height:1.45 !important;
}

.nui-info-link{
  display:block !important;
  margin:0 0 20px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#0c83db !important;
  font-family:inherit !important;
  font-size:15px !important;
  font-weight:750 !important;
  text-align:left !important;
  appearance:none !important;
}

.nui-signup-summary{
  width:100% !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  margin:5px 0 18px !important;
  padding:20px !important;
  border:1px solid rgba(8,52,75,.08) !important;
  border-radius:22px !important;
  background:linear-gradient(
    145deg,
    #f7fcfc,
    #f2f8fb
  ) !important;
}

.nui-signup-summary b{
  color:var(--nui-ink) !important;
  font-size:20px !important;
}

.nui-signup-summary span{
  color:var(--nui-muted) !important;
  font-size:15px !important;
}

.nui-terms{
  width:100% !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:flex-start !important;
  gap:13px !important;
  padding:19px !important;
  border:1px solid rgba(8,52,75,.09) !important;
  border-radius:22px !important;
  background:#fff !important;
  color:#304b5d !important;
  font-size:14px !important;
  line-height:1.5 !important;
}

.nui-terms input{
  width:25px !important;
  height:25px !important;
  flex:0 0 25px !important;
  accent-color:#10bfc7 !important;
}

.nui-signup-status{
  width:100% !important;
  min-height:0 !important;
  margin:15px 0 8px !important;
  box-sizing:border-box !important;
  color:#bd263b !important;
  font-size:14px !important;
  font-weight:650 !important;
  line-height:1.45 !important;
}

.nui-signup-status:not(:empty){
  padding:14px 16px !important;
  border:1px solid rgba(205,48,72,.14) !important;
  border-radius:16px !important;
  background:#fff4f6 !important;
}

.nui-signup-next{
  width:100% !important;
  min-height:64px !important;
  margin-top:8px !important;
  padding:0 22px !important;
  border:0 !important;
  border-radius:999px !important;
  background:linear-gradient(
    100deg,
    #12d4cf 0%,
    #149ee9 52%,
    #167fff 100%
  ) !important;
  color:#fff !important;
  font-family:inherit !important;
  font-size:19px !important;
  font-weight:800 !important;
  letter-spacing:-.15px !important;
  appearance:none !important;
  box-shadow:
    0 14px 34px rgba(13,151,218,.22) !important;
}

.nui-signup-next:active{
  transform:scale(.985) !important;
}

.nui-signup-counter{
  margin-top:15px !important;
  color:#97a3aa !important;
  font-size:12px !important;
  font-weight:650 !important;
  text-align:center !important;
  letter-spacing:.7px !important;
}

#loginForm input{
  font-family:inherit !important;
}

.nui-login-password-wrap{
  margin:0 !important;
}

@media(max-width:560px){

  .nui-signup-v2{
    padding:18px 0 25px !important;
  }

  .nui-signup-v2 h1{
    font-size:36px !important;
    letter-spacing:-1.45px !important;
  }

  .nui-two-fields{
    grid-template-columns:1fr !important;
  }

  .nui-choice{
    min-height:75px !important;
  }
}

/* ==========================================================
   /NUI PREMIUM AUTH EXPERIENCE V3
   ========================================================== */
