.register-shell .brand-panel {
  background: #111827;
}

.register-shell .brand-panel::before {
  background: radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.52), transparent 38%), radial-gradient(circle at 86% 82%, rgba(168, 85, 247, 0.34), transparent 42%);
}

.register-card {
  max-width: 480px;
}

.register-form {
  display: flex;
  flex-direction: column;
}

.register-form > label {
  margin: 0 0 8px;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.input-wrap > svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--muted-text);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  min-height: 48px;
  padding: 0 44px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.8);
  color: var(--foreground);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.register-form input[type="password"]::-ms-reveal,
.register-form input[type="password"]::-ms-clear {
  display: none;
}

.input-wrap input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.password-toggle {
  position: absolute;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted-text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.password-toggle:hover {
  color: var(--primary);
}

.form-alert {
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 10px;
  background: rgba(254, 226, 226, 0.7);
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.4;
}

.form-alert.is-success {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(209, 250, 229, 0.72);
  color: #047857;
}

.password-strength {
  margin: -2px 0 16px;
}

.strength-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 7px;
}

.strength-bars span {
  height: 4px;
  flex: 1;
  border-radius: 99px;
  background: #e5e7eb;
  transition: background-color 0.2s ease;
}

.strength-bars span.is-met {
  background: var(--primary);
}

.strength-checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  color: var(--muted-text);
  font-size: 10px;
  text-align: center;
}

.strength-checks span.is-met {
  color: var(--primary);
}

.security-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 16px;
  color: var(--muted-text);
  font-size: 12px;
}

.security-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
}

.security-check label {
  cursor: pointer;
}

.register-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
}

.register-submit span {
  font-size: 20px;
  line-height: 1;
}

.terms-text {
  margin-top: 12px;
  color: var(--muted-text);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.terms-text a {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 600px) {
  .register-card {
    padding: 22px 18px;
  }
}
