:root{
  --auth-bg:#070a14;
  --auth-card:rgba(22,26,44,.92);
  --auth-glass:rgba(255,255,255,.06);
  --auth-border:rgba(255,255,255,.12);
  --auth-text:#f6f8ff;
  --auth-text2:rgba(246,248,255,.70);
  --auth-text3:rgba(246,248,255,.52);
  --auth-primary:#2e5bff;
  --auth-secondary:#8c54ff;
  --auth-accent:#00c48c;
  --auth-danger:#ff3d71;
  --auth-grad:linear-gradient(135deg,#2e5bff 0%,#8c54ff 55%,#00c48c 120%);
  --auth-shadow:0 26px 90px rgba(0,0,0,.45);
  --auth-shadow-soft:0 16px 40px rgba(0,0,0,.28);
  --auth-r-xl:26px;
  --auth-r-lg:18px;
  --auth-r-md:14px;
  --auth-logo-size: 320px;
}

body.auth-page{
  background:var(--auth-bg);
  color:var(--auth-text);
  background-image:
    radial-gradient(900px 500px at 20% 10%, rgba(46, 91, 255, .18), transparent 60%),
    radial-gradient(900px 500px at 80% 15%, rgba(140, 84, 255, .16), transparent 62%),
    radial-gradient(900px 500px at 55% 100%, rgba(0, 196, 140, .12), transparent 60%);
}

.auth-shell{
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
}

@media (min-width: 992px){
  .auth-shell{
    grid-template-columns: 1.05fr .95fr;
    gap: 24px;
    padding: 28px 0;
  }
}

.auth-hero{
  border-radius: var(--auth-r-xl);
  border: 1px solid var(--auth-border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--auth-shadow);
  overflow: hidden;
  position: relative;
  padding: 26px;
}

.auth-orb{
  position: absolute;
  border-radius: 999px;
  filter: blur(44px);
  opacity: .48;
}
.auth-orb.one{width:240px;height:240px;right:-70px;top:-80px;background:rgba(46,91,255,.55)}
.auth-orb.two{width:220px;height:220px;left:-70px;bottom:-70px;background:rgba(140,84,255,.50)}
.auth-orb.three{width:200px;height:200px;left:35%;top:55%;background:rgba(0,196,140,.38)}

.auth-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 950;
  letter-spacing: -0.4px;
}
.auth-brand-badge{
  width: min(var(--auth-logo-size), 72vw);
  height: min(var(--auth-logo-size), 72vw);
  border-radius: 0;
  background: transparent;
  display:flex;align-items:center;justify-content:center;
  box-shadow: none;
  padding: 0;
}
.auth-brand-badge i{color:#fff}
.auth-brand-badge img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

.auth-preview{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 992px){
  .auth-preview{
    grid-template-columns: repeat(3, 1fr);
  }
}

.auth-preview-card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(7,10,20,.40);
  backdrop-filter: blur(10px);
  padding: 14px;
}

.auth-preview-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.auth-preview-icon{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.auth-preview-title{
  color: var(--auth-text2);
  font-weight: 900;
  font-size: .88rem;
}

.auth-preview-value{
  font-weight: 950;
  font-size: 1.15rem;
  letter-spacing: -.2px;
}

.auth-preview-note{
  color: var(--auth-text3);
  font-weight: 800;
  font-size: .82rem;
  line-height: 1.6;
}
.auth-title{
  margin: 18px 0 10px;
  font-weight: 950;
  letter-spacing: -1px;
  line-height: 1.15;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.auth-grad-text{
  background: linear-gradient(135deg, #f6f8ff 0%, rgba(246,248,255,.70) 45%, #00c48c 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-subtitle{
  color: var(--auth-text2);
  line-height: 1.9;
  max-width: 52ch;
}
.auth-chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.auth-chip{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--auth-text3);
  font-weight: 900;
}
.auth-chip i{color: rgba(255,255,255,.66)}

.auth-card{
  border-radius: var(--auth-r-xl);
  border: 1px solid var(--auth-border);
  background: rgba(22,26,44,.90);
  box-shadow: var(--auth-shadow-soft);
  overflow: hidden;
}
.auth-card-header{
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content: space-between;
  align-items: center;
}
.auth-card-title{
  font-weight: 950;
  margin: 0;
}
.auth-card-body{
  padding: 20px;
}

.auth-label{
  color: var(--auth-text2);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.auth-input{
  background: rgba(7,10,20,.55) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: var(--auth-text) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
}

.auth-input:focus{
  box-shadow: 0 0 0 6px rgba(46,91,255,.18) !important;
  border-color: rgba(46,91,255,.45) !important;
}

.auth-btn-primary{
  background: var(--auth-grad) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 950 !important;
  padding: 12px 16px !important;
  box-shadow: 0 14px 34px rgba(46,91,255,.22) !important;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease !important;
}
.auth-btn-primary:hover{
  filter: brightness(1.03);
  box-shadow: 0 18px 48px rgba(46,91,255,.28) !important;
}
.auth-btn-primary:active{transform: scale(.985)}

.auth-link{
  color: rgba(246,248,255,.78);
  text-decoration: none;
  font-weight: 900;
}
.auth-link:hover{color: #fff}

.auth-help{
  color: var(--auth-text3);
  font-size: .88rem;
  line-height: 1.7;
}

.auth-pass-wrap{
  position: relative;
}
.auth-pass-toggle{
  position:absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--auth-text2);
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 900;
}
.auth-pass-toggle:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}
.auth-pass-input{
  padding-left: 52px !important;
}
