.auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel {
  width: min(360px, 90vw);
  background: rgba(255,255,255,0.95);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 60px rgba(15,23,42,0.2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  font-weight: 800;
  font-size: 22px;
  text-align: center;
}

.tabs {
  display: flex;
  gap: 12px;
}

.tab {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255,255,255,0.7);
  cursor: pointer;
  font-weight: 600;
}

.tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

input {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 10px;
  font-size: 15px;
}

.error {
  color: var(--danger);
  background: #fee2e2;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
}
