/* ============================================================
   Auth pages layout — BranShee Design System
   ============================================================ */

.auth-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--surface);
  font-family: var(--font-primary);
}

/* ── Pro login: split layout ───────────────────────────────── */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left art panel */
.auth-art {
  background: linear-gradient(160deg, var(--accent-soft) 0%, #c8ecd7 100%);
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(30,122,78,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.auth-art__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.auth-art__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30,122,78,0.35);
}

.auth-art__body {
  position: relative;
  z-index: 1;
}

.auth-art__headline {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--accent);
  max-width: 420px;
  margin-bottom: 32px;
}

.auth-art__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.auth-art__stat {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,122,78,0.18);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.auth-art__stat-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.auth-art__stat-label {
  font-size: 11px;
  color: var(--ink-2);
  margin-top: 2px;
}

.auth-art__foot {
  font-size: 11.5px;
  color: var(--accent);
  opacity: 0.65;
  position: relative;
  z-index: 1;
}

/* Right form panel */
.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 52px;
  background: var(--surface-card);
}

.auth-form-inner {
  width: 100%;
  max-width: 360px;
}

.auth-form-inner h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.auth-form-inner .auth-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.auth-divider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  margin: 16px 0;
}

.auth-divider-row hr {
  flex: 1;
  border: none;
  height: 1px;
  background: var(--border-light);
}

/* Social buttons */
.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 42px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-primary);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}

.auth-social-btn:hover {
  background: var(--surface);
  border-color: var(--border-medium);
}

/* Form fields */
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.auth-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-label-row a {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.auth-label-row a:hover {
  color: var(--accent-hover);
}

.auth-input {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.auth-input::placeholder {
  color: var(--text-muted);
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-primary);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(30,122,78,0.25);
  margin-top: 6px;
}

.auth-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30,122,78,0.35);
}

.auth-bottom-link {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-bottom-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-error {
  background: var(--danger-pale);
  color: var(--danger);
  border: 1px solid rgba(220,38,38,.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
}

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

  .auth-art {
    display: none;
  }

  .auth-form-panel {
    min-height: 100vh;
    padding: 40px 24px;
  }
}
