.auth-container{max-width:520px;margin:0 auto}
.auth-card{
  background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-xl);
  box-shadow:var(--shadow);padding:26px;
}
.auth-head{text-align:center;margin-bottom:18px}
.auth-icon{
  width:78px;height:78px;border-radius:22px;background:var(--gradient-primary);
  display:flex;align-items:center;justify-content:center;margin:0 auto 14px;color:#fff;font-size:1.9rem;
  box-shadow:var(--shadow);
}
.auth-title{font-size:2rem;font-weight:900;line-height:1.1;margin-bottom:10px}
.auth-subtitle{color:var(--text-light);font-weight:600}
.auth-footer{margin-top:18px;text-align:center;color:var(--text-light);font-weight:700}
.auth-footer a{color:var(--primary-color);text-decoration:none;margin-left:8px}
.auth-footer a:hover{text-decoration:underline}

.role-switch{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px
}
.role-item{
  border:2px solid var(--border-color);border-radius:var(--radius);padding:12px 14px;cursor:pointer;transition:var(--transition);
  display:flex;justify-content:center;align-items:center;background:#fff;font-weight:900;
}
.role-item input{display:none}
.role-item span{display:flex;align-items:center;gap:10px}
.role-item:has(input:checked){border-color:var(--primary-color);background:var(--primary-extra-light);color:var(--primary-color)}
.role-item:hover{transform:translateY(-2px);box-shadow:var(--shadow)}

@media (max-width: 576px){
  .auth-card{padding:20px}
  .role-switch{grid-template-columns:1fr}
}


