
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

input, button{
  font-family:inherit;
}


:root{
  --bg:#f6f7f8;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;

  --brand:#2563eb;
  --brand-d:#1e40af;
}


html, body{
  height:100%;
}

body{
  display:flex;
  flex-direction:column;
  min-height:100vh;
  background:var(--bg);
  font-family:Inter,system-ui;
  color:var(--ink);
}


main{
  flex:1;
  display:block; 
}


.section{
  width:100%;
  padding:60px 0;
}


.title{
  text-align:center;
  font-size:42px;
  font-weight:900;
  margin-bottom:6px;
}

.sub{
  text-align:center;
  font-size:18px;
  color:var(--muted);
  margin-bottom:35px;
}


.signup-card{
  max-width:850px;
  margin:0 auto;
  background:#fff;
  border-radius:20px;
  padding:40px;
  box-shadow:0 25px 60px rgba(0,0,0,0.08);
}


.role-tabs{
  display:flex;
  background:#e0e7ff;
  border-radius:14px;
  padding:6px;
  margin-bottom:30px;
}

.tab{
  flex:1;
  padding:16px 0;
  border:none;
  border-radius:12px;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  background:transparent;
  color:#374151;
  transition:0.25s;
}


.tab.active{
  background:var(--brand);
  color:#fff;
  box-shadow:0 6px 18px rgba(37,99,235,0.35);
  transform:scale(1.02);
}


.form{
  display:flex;
  flex-direction:column;
  gap:24px;
}


.form-title{
  font-size:22px;
  font-weight:900;
  margin-top:10px;
}


.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

@media(max-width:600px){
  .grid{
    grid-template-columns:1fr;
  }
}


.input{
  width:100%;
  padding:18px;
  border-radius:12px;
  border:2px solid var(--line);
  font-size:16px;
  transition:0.2s;
  background:#fff;
}

.input:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 4px rgba(37,99,235,0.15);
  outline:none;
}


.btn.primary{
  width:100%;
  padding:18px;
  border-radius:14px;
  background:var(--brand);
  color:#fff;
  font-size:16px;
  font-weight:800;
  border:none;
  transition:0.2s;
  cursor:pointer;
}

.btn.primary:hover{
  background:var(--brand-d);
  transform:translateY(-2px);
}

.small{
  font-size:14px;
}

.center{
  text-align:center;
}

.muted{
  color:var(--muted);
}


.site-footer{
  margin-top:auto;
}
