:root{
  --bg1:#0b1020;
  --bg2:#111b2f;
  --card:rgba(255,255,255,.10);
  --stroke:rgba(255,255,255,.18);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --soft:rgba(255,255,255,.55);
  --primary:#00e0ff;
  --primary2:#6c63ff;
}

*{ box-sizing:border-box; }

.auth-bg{
  min-height:100vh;
  background:
    radial-gradient(1200px 500px at 10% 10%, rgba(0,224,255,.18), transparent 60%),
    radial-gradient(900px 450px at 90% 20%, rgba(108,99,255,.20), transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
  color: var(--text);
  overflow-x:hidden;
}

/* floating blobs */
.blob{
  position:fixed;
  width:420px;
  height:420px;
  border-radius:50%;
  filter: blur(40px);
  opacity:.6;
  z-index:0;
  pointer-events:none;
}
.blob-1{
  left:-120px; top:120px;
  background: radial-gradient(circle at 30% 30%, rgba(0,224,255,.8), rgba(0,224,255,0));
  animation: float1 10s ease-in-out infinite;
}
.blob-2{
  right:-140px; bottom:80px;
  background: radial-gradient(circle at 30% 30%, rgba(108,99,255,.9), rgba(108,99,255,0));
  animation: float2 12s ease-in-out infinite;
}

@keyframes float1{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(35px,-20px) scale(1.06); }
}
@keyframes float2{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-30px,25px) scale(1.05); }
}

.auth-card{
  position:relative;
  z-index:1;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 28px 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  animation: pop .55s ease both;
}

@keyframes pop{
  from{ opacity:0; transform: translateY(18px) scale(.98); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

@media (min-width: 576px){
  .auth-card{ padding: 34px 30px; }
}

.brand-badge{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.brand-icon{ font-size: 26px; }

.auth-title{
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .2px;
}
.auth-subtitle{
  color: var(--muted);
  font-size: .95rem;
}

.form-label{
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
}

.input-wrap{
  position:relative;
  display:flex;
  align-items:center;
}

.input-icon{
  position:absolute;
  left: 12px;
  font-size: 16px;
  opacity:.75;
}

.auth-input{
  padding-left: 42px !important;
  padding-right: 44px !important;
  height: 46px;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  background: rgba(255,255,255,.06) !important;
  color: var(--text) !important;
}

.auth-input::placeholder{
  color: rgba(255,255,255,.45);
}

.auth-input:focus{
  box-shadow: 0 0 0 .20rem rgba(0,224,255,.18) !important;
  border-color: rgba(0,224,255,.55) !important;
  background: rgba(255,255,255,.08) !important;
}

.toggle-pass{
  position:absolute;
  right: 10px;
  border:none;
  background: transparent;
  color: rgba(255,255,255,.85);
  padding: 6px 8px;
  border-radius: 10px;
  cursor:pointer;
  line-height:1;
}
.toggle-pass:hover{
  background: rgba(255,255,255,.10);
}

.form-check-label{
  color: var(--soft);
}

.link-lightish{
  color: rgba(128,216,255,.95);
  text-decoration: none;
}
.link-lightish:hover{
  text-decoration: underline;
  color: var(--primary);
}

.auth-btn{
  height: 46px;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  box-shadow: 0 12px 30px rgba(0,224,255,.12);
  transition: transform .15s ease, filter .15s ease;
}
.auth-btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.auth-btn-outline{
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
  font-weight: 700;
}
.auth-btn-outline:hover{
  background: rgba(255,255,255,.10);
}

.divider{
  position:relative;
  text-align:center;
}
.divider span{
  font-size: .85rem;
  color: var(--soft);
  background: rgba(0,0,0,.0);
  padding: 0 10px;
}
.divider:before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:50%;
  height:1px;
  background: rgba(255,255,255,.18);
  transform: translateY(-50%);
  z-index:-1;
}

.text-light-soft{
  color: rgba(255,255,255,.55);
}
