.reg-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.reg-bg-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(14, 165, 233, .08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 20% 80%, rgba(34, 197, 94, .06) 0%, transparent 55%),
    var(--bg);
}

.rbg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.rbg-glow--1 {
  width: 420px;
  height: 420px;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 165, 233, .1);
}

.rbg-glow--2 {
  width: 320px;
  height: 320px;
  bottom: 15%;
  left: -8%;
  background: rgba(34, 197, 94, .07);
}

.reg-in {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}

.reg-card {
  max-width: 420px;
  width: 100%;
  padding: 44px 32px;
  border-radius: var(--radius);
  background: rgba(13, 17, 23, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
}

.reg-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.reg-sub {
  color: var(--text2);
  font-size: 14px;
  margin-bottom: 26px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: .03em;
}

.field input,
.field textarea {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all .2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text2);
  opacity: .4;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(14, 165, 233, .45);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, .08);
}

.field input.err {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.field-err {
  font-size: 12px;
  color: #ef4444;
  min-height: 16px;
  line-height: 16px;
}

.reg-form .btn {
  margin-top: 4px;
}

.reg-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text2);
  transition: color .2s ease;
}

.google-btn svg {
  flex-shrink: 0;
}

.reg-back:hover {
  color: var(--primary);
}

.profile-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
}

.btn--outline svg {
  flex-shrink: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

/* forum-like tickets/login refresh */
.reg-bg { display:none; }
.reg-in { min-height: calc(100vh - 48px); align-items:flex-start; padding-top:54px; }
.reg-card { border-radius:3px; background:rgba(23,23,21,.94); backdrop-filter:none; -webkit-backdrop-filter:none; }
.field input, .field textarea { border-radius:3px; background:var(--bg); }
.field input:focus, .field textarea:focus { border-color:rgba(241,6,93,.45); box-shadow:none; }
.reg-back { color:var(--white); }
