@import url('https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap');

:root{
  --bg:#090909;
  --bg2:#111111;
  --card:rgba(18,18,18,.88);
  --border:#2a2a2a;
  --text:#fff;
  --muted:#9a9a9a;
  --radius:22px;
}

*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:"Fragment Mono",monospace;
  color:var(--text);
  min-height:100vh;
  background:
    radial-gradient(circle at top left,rgba(255,255,255,.05),transparent 35%),
    radial-gradient(circle at bottom right,rgba(255,255,255,.04),transparent 35%),
    linear-gradient(180deg,#090909,#101010);
}

.auth-hero{
  min-height:calc(100vh - 90px);
  display:grid;
  grid-template-columns:1fr 520px;
  gap:60px;
  align-items:center;
  max-width:1300px;
  margin:auto;
  padding:80px 40px;
}

.hero-text h1{
  font-size:56px;
  line-height:1.05;
  margin:18px 0;
}

.hero-text p{
  color:var(--muted);
  max-width:560px;
  line-height:1.8;
}

.badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:8px 18px;

    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.12);

    border-radius:999px;

    color:#fff !important;
    font-size:13px;
    font-weight:500;

    box-shadow:0 0 20px rgba(255,255,255,.04);
}

.auth-card{
  background:var(--card);
  backdrop-filter:blur(18px);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:34px;
  box-shadow:0 25px 80px rgba(0,0,0,.45);
}

.tab-switch{
  display:flex;
  background:#111;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  margin-bottom:30px;
}

.tab-switch button{
  flex:1;
  height:54px;
  border:none;
  background:transparent;
  color:#888;
  cursor:pointer;
  transition:.3s;
  font-family:inherit;
}

.tab-switch button.active{
  background:#fff;
  color:#000;
}

.form-group{
  margin-bottom:18px;
}

.hidden{display:none;}

.form-group label{
  display:block;
  margin-bottom:8px;
  color:#ddd;
  font-size:13px;
}

.form-group input{
  width:100%;
  height:56px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#111;
  color:#fff;
  padding:0 16px;
  font-family:inherit;
}

.form-group input:focus{
  outline:none;
  border-color:#fff;
}

.password-box{
  display:flex;
  align-items:center;
}

.password-box input{
  border-top-right-radius:0;
  border-bottom-right-radius:0;
}

#togglePassword{
  width:56px;
  height:56px;
  border:1px solid var(--border);
  border-left:none;
  background:#111;
  color:#fff;
  border-top-right-radius:14px;
  border-bottom-right-radius:14px;
  cursor:pointer;
}

.primary-btn{
  width:100%;
  height:58px;
  border:none;
  border-radius:14px;
  background:#fff;
  color:#000;
  cursor:pointer;
  font-family:inherit;
  transition:.25s;
}

.primary-btn:hover{
  transform:translateY(-2px);
}

.forgot-btn{
  margin-top:16px;
  background:none;
  border:none;
  color:#999;
  cursor:pointer;
}

.message{
  margin-top:18px;
  min-height:24px;
  color:#ccc;
}

.auth-footer{
  border-top:1px solid #222;
  padding:30px;
  text-align:center;
  color:#888;
}

@media(max-width:980px){
  .auth-hero{
    grid-template-columns:1fr;
    gap:40px;
  }
  .hero-text{
    text-align:center;
  }
  .hero-text h1{
    font-size:40px;
  }
}

@media(max-width:600px){
  .auth-hero{
    padding:30px 18px;
  }
  .auth-card{
    padding:24px;
  }
}
