/* Auth split-screen — static fallback (no Vite build required) */

body.auth-split-body {
  background-color: #050a0f;
  color: #f1f5f9;
}

.auth-split-shell {
  min-height: 100vh;
  background-color: #050a0f;
}

@media (min-width: 1024px) {
  .auth-split-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.auth-form-panel {
  display: flex;
  width: 100%;
  max-width: 36rem;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 2rem;
}

@media (min-width: 1024px) {
  .auth-form-panel {
    max-width: none;
    max-height: 100vh;
    padding: 3rem 4rem;
  }
}

@media (min-width: 1280px) {
  .auth-form-panel {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

.auth-form-content > form,
.auth-form-content > div {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-page-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

@media (min-width: 640px) {
  .auth-page-title {
    font-size: 2.25rem;
  }
}

.auth-page-subtitle {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #9ca3af;
}

.auth-field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
}

.auth-input {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0c1220;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input.pl-10 {
  padding-left: 2.5rem;
}

.auth-input.pr-12 {
  padding-right: 3rem;
}

.auth-input::placeholder {
  color: #6b7280;
}

.auth-input:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.auth-input:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.35);
}

.auth-input.auth-input-error {
  border-color: #ef4444;
}

.auth-primary-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  background-color: #14b8a6;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.auth-primary-button:hover {
  background-color: #2dd4bf;
}

.auth-primary-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #050a0f, 0 0 0 4px #2dd4bf;
}

.auth-primary-button:active {
  transform: scale(0.98);
}

.auth-secondary-button,
.auth-discord-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #1a1f2e;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.auth-secondary-button:hover,
.auth-discord-button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: #232938;
  color: #fff;
}

.auth-footer-link {
  font-weight: 600;
  color: #2dd4bf;
  text-decoration: none;
}

.auth-footer-link:hover {
  color: #5eead4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-alert-success {
  border-radius: 0.5rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
  background-color: rgba(34, 197, 94, 0.1);
  padding: 1rem;
  font-size: 0.875rem;
  color: #bbf7d0;
}

.auth-alert-error {
  border-radius: 0.5rem;
  border: 1px solid rgba(239, 68, 68, 0.3);
  background-color: rgba(239, 68, 68, 0.1);
  padding: 1rem;
  font-size: 0.875rem;
  color: #fecaca;
}

.auth-alert-warning {
  border-radius: 0.5rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
  background-color: rgba(245, 158, 11, 0.1);
  padding: 1rem;
  font-size: 0.875rem;
  color: #fde68a;
}

.auth-hero-panel {
  display: none;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) {
  .auth-hero-panel {
    display: block;
  }
}

.auth-hero-panel__bg {
  position: absolute;
  inset: 0;
  background-color: #050a0f;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

.auth-hero-panel__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 15, 0.72) 0%, rgba(5, 10, 15, 0.45) 38%, rgba(5, 10, 15, 0.82) 100%),
    radial-gradient(circle at 20% 15%, rgba(20, 184, 166, 0.18), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(14, 165, 233, 0.12), transparent 38%);
}

.auth-hero-panel__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2.5rem;
}

@media (min-width: 1280px) {
  .auth-hero-panel__content {
    padding: 3.5rem 3rem;
  }
}

.auth-hero-panel__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

@media (min-width: 1280px) {
  .auth-hero-panel__title {
    font-size: 2.25rem;
  }
}

.auth-hero-panel__accent {
  color: #2dd4bf;
}

.auth-hero-panel__description {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.auth-hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

.auth-hero-feature-card {
  position: relative;
  min-height: 6.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #0c1220;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.auth-hero-feature-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 10, 15, 0.88) 0%, rgba(5, 10, 15, 0.55) 55%, rgba(20, 184, 166, 0.18) 100%);
}

.auth-hero-feature-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.875rem;
}

.auth-hero-feature-card__icon {
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background-color: rgba(20, 184, 166, 0.15);
  color: #5eead4;
}

.auth-hero-feature-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f8fafc;
}

/* Register capability pills */
.auth-register-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .auth-register-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

.auth-register-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  padding: 0.625rem 0.875rem;
  backdrop-filter: blur(4px);
}

.auth-register-feature--teal {
  border-color: rgba(20, 184, 166, 0.22);
}

.auth-register-feature--cyan {
  border-color: rgba(34, 211, 238, 0.22);
}

.auth-register-feature__icon {
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background-color: rgba(20, 184, 166, 0.12);
  color: #2dd4bf;
}

.auth-register-feature--cyan .auth-register-feature__icon {
  background-color: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
}

.auth-register-feature__label {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: #e2e8f0;
}

@media (min-width: 640px) {
  .auth-register-feature {
    flex: 1 1 calc(33.333% - 0.5rem);
    min-width: 0;
  }

  .auth-register-feature__label {
    font-size: 0.75rem;
  }
}

/* OR divider */
.auth-or-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.auth-or-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.auth-or-divider__label {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.auth-social-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Minimal utilities used on auth pages when Tailwind build is stale */
.auth-split-shell .flex { display: flex; }
.auth-split-shell .items-center { align-items: center; }
.auth-split-shell .justify-center { justify-content: center; }
.auth-split-shell .justify-between { justify-content: space-between; }
.auth-split-shell .gap-2 { gap: 0.5rem; }
.auth-split-shell .gap-3 { gap: 0.75rem; }
.auth-split-shell .gap-4 { gap: 1rem; }
.auth-split-shell .shrink-0 { flex-shrink: 0; }
.auth-split-shell .relative { position: relative; }
.auth-split-shell .absolute { position: absolute; }
.auth-split-shell .inset-0 { inset: 0; }
.auth-split-shell .inset-y-0 { top: 0; bottom: 0; }
.auth-split-shell .right-0 { right: 0; }
.auth-split-shell .w-full { width: 100%; }
.auth-split-shell .h-4 { height: 1rem; }
.auth-split-shell .w-4 { width: 1rem; }
.auth-split-shell .h-5 { height: 1.25rem; }
.auth-split-shell .w-5 { width: 1.25rem; }
.auth-split-shell .h-6 { height: 1.5rem; }
.auth-split-shell .w-6 { width: 1.5rem; }
.auth-split-shell .h-9 { height: 2.25rem; }
.auth-split-shell .w-9 { width: 2.25rem; }
.auth-split-shell .h-10 { height: 2.5rem; }
.auth-split-shell .w-10 { width: 2.5rem; }
.auth-split-shell .text-sm { font-size: 0.875rem; }
.auth-split-shell .text-lg { font-size: 1.125rem; }
.auth-split-shell .font-medium { font-weight: 500; }
.auth-split-shell .font-semibold { font-weight: 600; }
.auth-split-shell .font-bold { font-weight: 700; }
.auth-split-shell .text-white { color: #fff; }
.auth-split-shell .text-gray-300 { color: #d1d5db; }
.auth-split-shell .text-gray-400 { color: #9ca3af; }
.auth-split-shell .text-gray-500 { color: #6b7280; }
.auth-split-shell .text-teal-400 { color: #2dd4bf; }
.auth-split-shell .text-green-400 { color: #4ade80; }
.auth-split-shell .text-red-400 { color: #f87171; }
.auth-split-shell .rounded-lg { border-radius: 0.5rem; }
.auth-split-shell .border-t { border-top-width: 1px; }
.auth-split-shell .border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.auth-split-shell .bg-teal-500\/10 { background-color: rgba(20, 184, 166, 0.1); }
.auth-split-shell .bg-\[\#050a0f\] { background-color: #050a0f; }
.auth-split-shell .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.auth-split-shell .pr-3 { padding-right: 0.75rem; }
.auth-split-shell .pr-12 { padding-right: 3rem; }
.auth-split-shell .pl-3 { padding-left: 0.75rem; }
.auth-split-shell .mt-3 { margin-top: 0.75rem; }
.auth-split-shell .mt-6 { margin-top: 1.5rem; }
.auth-split-shell .mt-8 { margin-top: 2rem; }
.auth-split-shell .mb-8 { margin-bottom: 2rem; }
.auth-split-shell .pt-6 { padding-top: 1.5rem; }
.auth-split-shell .text-center { text-align: center; }
.auth-split-shell .uppercase { text-transform: uppercase; }
.auth-split-shell .tracking-wide { letter-spacing: 0.025em; }
.auth-split-shell .leading-tight { line-height: 1.25; }
.auth-split-shell .leading-snug { line-height: 1.375; }
.auth-split-shell .leading-relaxed { line-height: 1.625; }
.auth-split-shell .cursor-pointer { cursor: pointer; }
.auth-split-shell .grid { display: grid; }
.auth-split-shell .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-split-shell .gap-x-6 { column-gap: 1.5rem; }
.auth-split-shell .gap-y-5 { row-gap: 1.25rem; }
.auth-split-shell .space-y-2 > * + * { margin-top: 0.5rem; }
.auth-split-shell .space-y-3 > * + * { margin-top: 0.75rem; }

@media (min-width: 640px) {
  .auth-split-shell .sm\:flex-row { flex-direction: row; }
  .auth-split-shell .sm\:items-center { align-items: center; }
  .auth-split-shell .sm\:justify-between { justify-content: space-between; }
}
