/* nt_smslogin - Modern UI (Enterprise)
 * v2.0.0
 */

@font-face {
  font-family: "Estedad";
  src: url("https://my.netaram.com/templates/lagom2/assets/fonts/es/estedad.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root{
  --nt-dark: #005447;
  --nt-accent: #15D2A6;
  --nt-accent2: #0bbd92;
  --nt-bg: #f5fbfa;
  --nt-text: #0f172a;
  --nt-muted: #6b7280;
  --nt-border: rgba(15, 23, 42, .10);
  --nt-card: rgba(255,255,255,.85);
  --nt-shadow: 0 20px 55px rgba(0,0,0,.14);
  --nt-radius: 22px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: "Estedad", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  direction: rtl;
  color: var(--nt-text);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(21, 210, 166, .18), transparent 55%),
    radial-gradient(900px 500px at 15% 90%, rgba(0, 84, 71, .12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--nt-bg) 100%);
  overflow-x: hidden;
}

button, input, select, textarea{
  font-family: inherit;
}


.ntsl-shell{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.ntsl-card{
  width: min(1020px, 100%);
  min-height: 560px;
  background: var(--nt-card);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--nt-radius);
  box-shadow: var(--nt-shadow);
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.ntsl-side{
  position: relative;
  padding: 26px;
  background:
    radial-gradient(820px 420px at 20% 10%, rgba(255,255,255,.18), transparent 45%),
    linear-gradient(135deg, var(--nt-dark) 0%, var(--nt-accent) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ntsl-side::before,
.ntsl-side::after{
  content:"";
  position:absolute;
  inset:auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  filter: blur(0px);
  animation: floaty 9s ease-in-out infinite;
  pointer-events:none;
}
.ntsl-side::before{ top:-90px; right:-90px; animation-delay: .2s; }
.ntsl-side::after{ bottom:-110px; left:-110px; animation-delay: 1.2s; opacity:.7; }

@keyframes floaty{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(0,12px,0) scale(1.06); }
}

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

.ntsl-logo{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  font-weight: 800;
  letter-spacing: 1px;
}

.ntsl-brandname{
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
.ntsl-brandsub{
  font-size: 12px;
  opacity: .9;
}

.ntsl-hero{
  margin-top: 6px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ntsl-lock{
  width: 90px;
  height: 90px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}

.ntsl-locksvg{
  width: 66px;
  height: 66px;
  opacity: .98;
}

.lock-body{
  fill: rgba(255,255,255,.20);
  stroke: rgba(255,255,255,.55);
  stroke-width: 2.5;
  filter: url(#glow);
}
.lock-arc{
  fill: none;
  stroke: rgba(255,255,255,.80);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: .95;
}
.lock-dot{
  fill: rgba(255,255,255,.86);
}
.lock-line{
  fill: none;
  stroke: rgba(255,255,255,.86);
  stroke-width: 4;
  stroke-linecap: round;
}
.lock-spark{
  fill: none;
  stroke: rgba(255,255,255,.55);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: .8;
  animation: spark 1.8s ease-in-out infinite;
}
.lock-spark:nth-child(6){ animation-delay: .25s; }
@keyframes spark{
  0%,100%{ opacity: .35; transform: translateY(0); }
  50%{ opacity: .95; transform: translateY(-2px); }
}

.ntsl-heroTitle{
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 4px;
}
.ntsl-heroDesc{
  font-size: 12px;
  opacity: .95;
  line-height: 1.7;
}

.ntsl-sideFoot{
  margin-top: auto;
  opacity: .95;
  font-size: 12px;
}

.ntsl-main{
  padding: 26px 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ntsl-tabs{
  display: inline-flex;
  gap: 8px;
  background: rgba(15, 23, 42, .04);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  padding: 6px;
  width: fit-content;
}

.ntsl-tab{
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  color: rgba(15, 23, 42, .72);
  transition: transform .12s ease, background .18s ease, color .18s ease;
}
.ntsl-tab:hover{ transform: translateY(-1px); }
.ntsl-tab.is-active{
  background: #fff;
  color: var(--nt-text);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.ntsl-panel{ display: none; }
.ntsl-panel.is-active{ display: block; }

.ntsl-stepper{
  display: flex;
  gap: 10px;
  margin-top: 2px;
  margin-bottom: 10px;
}

.ntsl-stepdot{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .04);
  border: 1px solid rgba(15, 23, 42, .08);
  color: rgba(15, 23, 42, .75);
  font-size: 12px;
}
.ntsl-stepdot span{
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, .08);
  font-weight: 900;
}
.ntsl-stepdot small{ font-weight: 800; opacity:.9; }
.ntsl-stepdot.is-active{
  background: rgba(21, 210, 166, .14);
  border-color: rgba(21, 210, 166, .28);
}
.ntsl-stepdot.is-active span{
  background: linear-gradient(135deg, var(--nt-dark), var(--nt-accent));
  color: #fff;
}

.ntsl-step{ animation: enter .22s ease; }
@keyframes enter{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}
.is-hidden{ display:none !important; }

.ntsl-title{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
}
.ntsl-sub{
  margin: 0 0 14px;
  color: var(--nt-muted);
  line-height: 1.8;
  font-size: 13px;
}

.ntsl-label{
  display:block;
  font-size: 12px;
  color: rgba(15,23,42,.78);
  font-weight: 800;
  margin: 12px 0 6px;
}

.ntsl-input{
  width: 100%;
  border: 1px solid var(--nt-border);
  border-radius: 16px;
  padding: 14px 14px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: rgba(255,255,255,.92);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ntsl-input:focus{
  border-color: rgba(21, 210, 166, .75);
  box-shadow: 0 0 0 4px rgba(21, 210, 166, .14);
}

.ntsl-methods{
  display:flex;
  gap:10px;
  margin-top: 12px;
}
.ntsl-method{
  flex:1;
  cursor:pointer;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
  color: rgba(15,23,42,.78);
  border-radius: 16px;
  padding: 12px 12px;
  font-family: inherit;
  font-weight: 900;
  font-size: 13px;
  transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ntsl-method:hover{ transform: translateY(-1px); }
.ntsl-method.is-active{
  border-color: rgba(21, 210, 166, .55);
  background: rgba(21, 210, 166, .12);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.ntsl-btn{
  width: 100%;
  margin-top: 14px;
  border: 0;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 16px;
  font-family: inherit;
  font-weight: 900;
  font-size: 14px;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}
.ntsl-btn:hover{ transform: translateY(-1px); }
.ntsl-btn:active{ transform: translateY(0); }
.ntsl-btn.primary{
  background: linear-gradient(135deg, var(--nt-dark), var(--nt-accent));
  color: #fff;
  box-shadow: 0 16px 38px rgba(0,84,71,.22);
}
.ntsl-btn.primary:hover{
  box-shadow: 0 20px 44px rgba(0,84,71,.28);
}
.ntsl-btn.ghost{
  background: rgba(15,23,42,.04);
  color: rgba(15,23,42,.86);
  border: 1px solid rgba(15,23,42,.10);
  margin-top: 0;
  width: auto;
}

.ntsl-row{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top: 12px;
}
.ntsl-row .ntsl-btn.primary{ flex:1; margin-top:0; }
.ntsl-row .ntsl-btn.ghost{ flex:0 0 auto; padding: 12px 14px; border-radius: 16px; }

.ntsl-otp{
  display:flex;
  gap:10px;
  justify-content: flex-start;
  direction: ltr;
}
.ntsl-otp input{
  width: 46px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--nt-border);
  background: rgba(255,255,255,.92);
  font-family: inherit;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.ntsl-otp input:focus{
  border-color: rgba(21, 210, 166, .75);
  box-shadow: 0 0 0 4px rgba(21, 210, 166, .14);
  transform: translateY(-1px);
}

.ntsl-timers{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--nt-muted);
  font-size: 12px;
}
.ntsl-timer{ color: rgba(15,23,42,.86); }
.ntsl-linkbtn{
  border:0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  color: var(--nt-dark);
  padding: 6px 8px;
  border-radius: 12px;
  transition: background .15s ease, transform .12s ease, opacity .15s ease;
}
.ntsl-linkbtn:hover{ background: rgba(15,23,42,.06); transform: translateY(-1px); }
.ntsl-linkbtn[disabled]{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
.ntsl-sep{ opacity: .5; }

.ntsl-accounts{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.ntsl-account{
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.82);
  border-radius: 18px;
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap:10px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .18s ease, border-color .15s ease;
}
.ntsl-account:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
  border-color: rgba(21,210,166,.40);
}
.ntsl-account .meta{
  display:flex;
  flex-direction: column;
  gap: 2px;
}
.ntsl-account .name{
  font-weight: 900;
  font-size: 14px;
}
.ntsl-account .email{
  font-size: 12px;
  color: var(--nt-muted);
  direction: ltr;
}
.ntsl-account .badge{
  font-size: 11px;
  font-weight: 900;
  color: rgba(15,23,42,.75);
  padding: 6px 10px;
  background: rgba(15,23,42,.06);
  border-radius: 999px;
}

.ntsl-hint{
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed rgba(15,23,42,.16);
  border-radius: 16px;
  font-size: 12px;
  color: rgba(15,23,42,.72);
  background: rgba(255,255,255,.55);
}

.ntsl-alert{
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(239, 68, 68, .22);
  background: rgba(239, 68, 68, .08);
  color: #991b1b;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.7;
}
.ntsl-alert.is-hidden{ display:none; }

.ntsl-footer{
  margin-top: auto;
  display:flex;
  gap: 10px;
  justify-content:center;
  align-items:center;
  color: rgba(15,23,42,.55);
  font-size: 12px;
  padding-top: 4px;
}
.ntsl-dot{ opacity: .6; }

.ntsl-mutedlink{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 800;
}
.ntsl-main .ntsl-mutedlink{
  color: rgba(15,23,42,.70);
}
.ntsl-mutedlink:hover{ text-decoration: underline; }

.ntsl-loading{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(5px);
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 10px;
  z-index: 9999;
}
.ntsl-spinner{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 4px solid rgba(15,23,42,.12);
  border-top-color: rgba(21,210,166,.85);
  animation: spin .85s linear infinite;
}
@keyframes spin{
  to{ transform: rotate(360deg); }
}
.ntsl-loadingText{
  font-weight: 900;
  color: rgba(15,23,42,.70);
}

@media (max-width: 980px){
  .ntsl-card{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ntsl-side{
    padding: 22px;
  }
}

@media (max-width: 520px){
  .ntsl-shell{ padding: 18px; }
  .ntsl-main{ padding: 18px 18px 14px; }
  .ntsl-otp input{ width: 40px; height: 50px; }
  .ntsl-row{ flex-direction: column; align-items: stretch; }
  .ntsl-row .ntsl-btn.ghost{ width: 100%; }
}
