.fd-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(111, 111, 114, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.fd-auth-wrap {
  min-height: calc(100vh - 170px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.fd-auth-shell {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: stretch;
}

.fd-auth-panel,
.fd-auth-card {
  border: 1px solid #e6eaf2;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(16, 18, 23, 0.08);
  overflow: hidden;
}

.fd-auth-panel {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(16,18,23,0.88), rgba(16,18,23,0.56)),
    url('/assets/img/banner.png') center/cover;
  color: #fff;
  min-height: 560px;
}

.fd-auth-panel-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 0.5rem 0.75rem;
}

.fd-auth-panel h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
  margin: 2rem 0 1rem;
}

.fd-auth-panel p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
}

.fd-auth-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.fd-auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.fd-auth-small-note {
  font-size: 0.92rem;
  margin: 0;
  color: rgba(255,255,255,0.68);
}

.fd-auth-card {
  padding: 2rem;
  display: flex;
  align-items: center;
}

.fd-auth-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.fd-auth-mini-logo {
  display: none;
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}

.fd-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e6eaf2;
  background: #f7f8fb;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  color: #3d3d40;
  font-weight: 800;
  font-size: 0.86rem;
  margin-bottom: 1rem;
}

.fd-auth-card h2 {
  color: #101217;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.fd-auth-subtitle {
  color: #667085;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.fd-auth-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.fd-auth-form label {
  display: block;
  color: #344054;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.fd-auth-form .form-control {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid #d9deea;
  padding: 0.85rem 1rem;
  font-weight: 600;
}

.fd-auth-form .form-control:focus {
  border-color: #101217;
  box-shadow: 0 0 0 0.2rem rgba(16,18,23,0.08);
}

.fd-auth-form .form-check-input {
  border-color: #cfd6e4;
}

.fd-auth-form .form-check-input:checked {
  background-color: #101217;
  border-color: #101217;
}

.fd-auth-btn {
  min-height: 52px;
  border-radius: 999px;
  background: #101217;
  border-color: #101217;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(16, 18, 23, 0.18);
}

.fd-auth-btn:hover,
.fd-auth-btn:focus {
  background: #000;
  border-color: #000;
}

.fd-auth-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.fd-auth-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.94rem;
}

.fd-auth-links a,
.fd-auth-register-box a,
.fd-auth-signin-box a {
  color: #101217;
  text-decoration: none;
  font-weight: 800;
}

.fd-auth-links a:hover,
.fd-auth-register-box a:hover,
.fd-auth-signin-box a:hover {
  text-decoration: underline;
}

.fd-auth-muted {
  color: #667085 !important;
}

.fd-auth-register-box,
.fd-auth-signin-box {
  margin-top: 1.2rem;
  border: 1px solid #e6eaf2;
  background: #f7f8fb;
  border-radius: 20px;
  padding: 1rem;
  color: #667085;
  font-size: 0.95rem;
}

.fd-auth-register-box strong,
.fd-auth-signin-box strong {
  color: #101217;
}

.fd-auth-alert {
  border-radius: 18px;
}

@media (max-width: 900px) {
  .fd-auth-shell {
    grid-template-columns: 1fr;
  }

  .fd-auth-panel {
    display: none;
  }

  .fd-auth-mini-logo {
    display: block;
  }

  .fd-auth-card {
    padding: 1.5rem;
  }
}
