/* ── Auth layout ── */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0A0A0A;
}

/* Left panel — brand / marketing */
.auth-panel-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 48px 48px;
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
}

.auth-panel-left::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30,215,96,0.12), transparent);
  pointer-events: none;
}

.auth-left-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 20px/1 'Inter Tight', sans-serif;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
}

.auth-left-wordmark svg { color: #fff; }

.auth-left-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.auth-left-headline {
  font: 900 clamp(48px, 5vw, 72px)/0.92 'Inter Tight', sans-serif;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 24px;
}

.auth-left-headline .accent { color: #1ED760; }

.auth-left-sub {
  font-size: 16px;
  line-height: 1.55;
  color: #737373;
  max-width: 340px;
  margin: 0 0 40px;
}

.auth-left-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-left-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 13px/1 'Inter Tight', sans-serif;
  color: #A3A3A3;
}

.auth-left-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1ED760;
  flex-shrink: 0;
}

.auth-left-footer {
  font-size: 12px;
  color: #404040;
}

/* Right panel — form */
.auth-panel-right {
  background: #F1F1F1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  gap: 24px;
}

.auth-right-footer {
  font-size: 12px;
  color: #A3A3A3;
  text-align: center;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-card-title {
  font: 900 32px/1 'Inter Tight', sans-serif;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #0A0A0A;
  margin: 0 0 8px;
}

.auth-card-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #737373;
  margin: 0 0 32px;
}

.auth-card-sub a {
  color: #0A0A0A;
  font-weight: 700;
  text-decoration: none;
}
.auth-card-sub a:hover { color: #1ED760; }

/* Form fields */
.auth-field {
  margin-bottom: 16px;
}

.auth-field label {
  display: block;
  font: 600 12px/1 'Inter Tight', sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #404040;
  margin-bottom: 7px;
}

.auth-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid #E5E5E5;
  background: #fff;
  font: 500 15px/1 'Inter Tight', sans-serif;
  color: #0A0A0A;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.auth-field input:focus {
  border-color: #1ED760;
  box-shadow: 0 0 0 3px rgba(30, 215, 96, 0.15);
}

.auth-field input::placeholder { color: #A3A3A3; }

/* Username preview */
.auth-username-wrap {
  position: relative;
}

.auth-username-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font: 500 15px/1 'Inter Tight', sans-serif;
  color: #A3A3A3;
  pointer-events: none;
  user-select: none;
}

.auth-username-wrap input {
  padding-left: 74px;
}

/* Field errors */
.auth-field-errors {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.auth-field-errors li {
  font: 500 12px/1.3 'Inter Tight', sans-serif;
  color: #ef4444;
  display: flex;
  align-items: center;
  gap: 5px;
}

.auth-field-errors li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
}

/* Non-field errors */
.auth-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font: 500 13px/1.4 'Inter Tight', sans-serif;
  color: #b91c1c;
}

/* Submit */
.auth-submit {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border-radius: 9999px;
  border: 0;
  background: #1ED760;
  color: #0A0A0A;
  font: 700 15px/1 'Inter Tight', sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(30,215,96,0.35);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-submit:hover {
  background: #16B84E;
  box-shadow: 0 12px 32px rgba(30,215,96,0.4);
}

.auth-submit:active { transform: scale(0.97); }

/* Forgot / footer links */
.auth-links {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-links a {
  font: 500 13px/1 'Inter Tight', sans-serif;
  color: #737373;
  text-decoration: none;
  transition: color 0.15s ease;
}
.auth-links a:hover { color: #0A0A0A; }

.auth-divider {
  height: 1px;
  background: #E5E5E5;
  margin: 24px 0;
}

/* Terms checkbox */
.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
}

.auth-terms input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: #1ED760;
  cursor: pointer;
}

.auth-terms label {
  font: 400 13px/1.45 'Inter Tight', sans-serif;
  color: #737373;
  cursor: pointer;
}

.auth-terms label a {
  color: #0A0A0A;
  font-weight: 600;
  text-decoration: none;
}
.auth-terms label a:hover { color: #1ED760; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-panel-left {
    padding: 24px 24px 32px;
    min-height: auto;
  }

  .auth-left-body {
    padding: 32px 0 24px;
  }

  .auth-left-headline {
    font-size: 40px;
  }

  .auth-left-pills { display: none; }

  .auth-panel-right {
    padding: 32px 20px 48px;
    align-items: flex-start;
  }

  .auth-card { max-width: 100%; }
}
