/* ==========================================================================
   Auth Theme — login / create account
   Palette: --ink-950 deep navy, --violet-500/--blue-500 gradient,
            --paper light panel, --mint-500 accent for trust badges
   Type: Poppins (display) + Inter (body/inputs)
   ========================================================================== */

:root {
  --ink-950: #0c1030;
  --ink-900: #12173a;
  --ink-800: #1b2150;
  --violet-500: #7c6cf6;
  --blue-500: #4c8dfb;
  --mint-500: #21c99b;
  --paper: #f7f8fc;
  --line: #e7e9f3;
  --text-900: #1a1c2e;
  --text-500: #6b7086;
}

.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--paper);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-900);
}

.auth-shell {
  display: flex;
  width: 100%;
  max-width: 1080px;
  margin: auto;
  box-shadow: 0 30px 60px -25px rgba(12, 16, 48, 0.35);
  border-radius: 22px;
  overflow: hidden;
  min-height: 620px;
  background: #fff;
}

/* ---------- Left brand / gradient panel ---------- */
.auth-brand {
  position: relative;
  flex: 0 0 42%;
  padding: 52px 44px;
  background: radial-gradient(120% 140% at 15% 10%, var(--ink-800) 0%, var(--ink-950) 60%),
              linear-gradient(160deg, var(--violet-500) 0%, var(--blue-500) 100%);
  background-blend-mode: normal;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.auth-brand::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -140px;
  top: -120px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--violet-500), var(--blue-500));
  opacity: 0.35;
  filter: blur(2px);
}

.auth-brand::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: -110px;
  border-radius: 50%;
  background: var(--mint-500);
  opacity: 0.18;
}

.auth-brand-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-brand-top img.logo {
  height: 42px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px 6px;
}

.auth-brand-top span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.2px;
}

.auth-brand-mid {
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

.auth-brand-mid h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 14px;
}

.auth-brand-mid p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 320px;
}

.auth-chip-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.auth-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #fff;
  backdrop-filter: blur(2px);
}

.auth-chip i {
  font-size: 12px;
  color: var(--mint-500);
}

.auth-brand-bottom {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Right form panel ---------- */
.auth-panel {
  flex: 1 1 auto;
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-panel-head h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 6px;
  color: var(--text-900);
}

.auth-panel-head p {
  font-size: 13.5px;
  color: var(--text-500);
  margin-bottom: 28px;
}

.auth-field {
  margin-bottom: 18px;
}

.auth-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 6px;
}

.auth-field .form-control,
.auth-field input,
.auth-field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-900);
  background: #fdfdfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field .form-control:focus,
.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(76, 141, 251, 0.15);
}

.auth-row {
  display: flex;
  gap: 16px;
}

.auth-row .auth-field {
  flex: 1;
}

.auth-submit {
  width: 100%;
  border: none;
  border-radius: 11px;
  padding: 13px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--violet-500), var(--blue-500));
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 10px 22px -10px rgba(76, 90, 251, 0.55);
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -10px rgba(76, 90, 251, 0.65);
}

.auth-links {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-500);
}

.auth-links a {
  color: var(--blue-500);
  font-weight: 600;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-links .sep {
  margin: 0 8px;
  color: var(--line);
}

.auth-alert-slot .alert {
  border-radius: 10px;
  font-size: 13.5px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.auth-foot-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-500);
  margin-top: 26px;
}

@media (max-width: 860px) {
  .auth-shell {
    flex-direction: column;
    border-radius: 0;
    min-height: 100vh;
  }
  .auth-brand {
    flex: 0 0 auto;
    padding: 32px 26px;
  }
  .auth-brand-mid h1 {
    font-size: 22px;
  }
  .auth-panel {
    padding: 36px 26px 50px;
  }
  .auth-row {
    flex-direction: column;
    gap: 0;
  }
}
