/* ===========================================================================
   Auth pages - login, signup, forgot password

   One account covers both renting and listing, so the panel sells that idea
   rather than asking people to pick a role up front.
   =========================================================================== */

.auth-page {
  --auth-orange: var(--color-primary, #ff851b);
  --auth-navy: #16233b;
  --auth-ink: #16181d;
  --auth-ink-soft: #5c626d;
  --auth-ink-mute: #8b919c;
  --auth-line: #e4e8ed;

  padding: 56px 0 88px;
  background: #f5f7f9;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1060px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 20px;
  box-shadow: 0 30px 60px -32px rgba(22, 35, 59, 0.35);
}

@media (min-width: 992px) {
  .auth-shell {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ---- brand panel ------------------------------------------------------- */

.auth-aside {
  display: none;
  position: relative;
  padding: 48px 42px;
  overflow: hidden;
  background: linear-gradient(155deg, #1d2c48 0%, #16233b 55%, #101a2c 100%);
  color: #fff;
}

@media (min-width: 992px) {
  .auth-aside {
    display: flex;
    flex-direction: column;
  }
}

/* ambient glow, drawn in CSS so there is no image to go missing */
.auth-aside::before,
.auth-aside::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.auth-aside::before {
  top: -90px;
  right: -70px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 133, 27, 0.42) 0%, rgba(255, 133, 27, 0) 70%);
}

.auth-aside::after {
  bottom: -110px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(90, 160, 235, 0.28) 0%, rgba(90, 160, 235, 0) 70%);
}

.auth-aside > * {
  position: relative;
  z-index: 1;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffd7ae;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-aside h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 32px;
  line-height: 1.18;
  font-weight: 800;
}

.auth-aside h2 em {
  color: var(--auth-orange);
  font-style: normal;
}

.auth-aside .auth-lede {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.6;
}

.auth-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-points li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.auth-points i {
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 133, 27, 0.16);
  color: var(--auth-orange);
  font-size: 14px;
}

.auth-points strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.auth-points span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.auth-aside-foot {
  margin-top: auto;
  padding-top: 32px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

/* ---- form side --------------------------------------------------------- */

.auth-main {
  padding: 40px 28px;
}

@media (min-width: 768px) {
  .auth-main {
    padding: 48px 52px;
  }
}

.auth-head {
  margin-bottom: 28px;
}

.auth-head h1 {
  margin: 0 0 6px;
  color: var(--auth-ink);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
}

.auth-head p {
  margin: 0;
  color: var(--auth-ink-soft);
  font-size: 14.5px;
}

.auth-page .form_group {
  margin-bottom: 20px;
}

.auth-page .form_group > label {
  display: block;
  margin-bottom: 8px;
  color: var(--auth-ink);
  font-size: 13.5px;
  font-weight: 600;
}

.auth-page .form_control {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: #fbfcfd;
  border: 1px solid var(--auth-line);
  border-radius: 10px;
  color: var(--auth-ink);
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-page .form_control::placeholder {
  color: var(--auth-ink-mute);
}

.auth-page .form_control:focus {
  outline: none;
  background: #fff;
  border-color: var(--auth-orange);
  box-shadow: 0 0 0 4px rgba(255, 133, 27, 0.14);
}

.auth-page .password-field-wrap {
  position: relative;
}

.auth-page .password-field-wrap .form_control {
  padding-right: 46px;
}

.auth-page .password-toggle-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--auth-ink-mute);
  cursor: pointer;
}

.auth-page .password-toggle-icon:hover {
  color: var(--auth-orange);
}

.auth-page .text-danger {
  display: block;
  margin-top: 7px;
  font-size: 13px;
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 24px;
  background: var(--auth-orange);
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 24px -12px rgba(255, 133, 27, 0.9);
}

.auth-submit:hover {
  background: #e8730d;
  color: #fff;
  box-shadow: 0 14px 26px -12px rgba(255, 133, 27, 0.95);
}

.auth-submit:active {
  transform: translateY(1px);
}

.auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 22px;
  flex-wrap: wrap;
}

.auth-meta a {
  color: var(--auth-ink-soft);
  font-size: 13.5px;
  font-weight: 500;
}

.auth-meta a:hover {
  color: var(--auth-orange);
}

/* social sign-in */
.auth-social {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

@media (min-width: 480px) {
  .auth-social.has-two {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  border: 1px solid var(--auth-line);
  border-radius: 10px;
  background: #fff;
  color: var(--auth-ink);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.auth-social a:hover {
  border-color: var(--auth-ink-mute);
  background: #fbfcfd;
  color: var(--auth-ink);
}

.auth-social .fa-facebook-f {
  color: #1877f2;
}

.auth-social .fa-google {
  color: #ea4335;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--auth-ink-mute);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--auth-line);
}

.auth-guest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  margin-bottom: 22px;
  border: 1px dashed var(--auth-line);
  border-radius: 10px;
  color: var(--auth-ink-soft);
  font-size: 14.5px;
  font-weight: 600;
}

.auth-guest:hover {
  border-color: var(--auth-orange);
  color: var(--auth-orange);
}

.auth-alt {
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--auth-line);
  color: var(--auth-ink-soft);
  font-size: 14.5px;
  text-align: center;
}

.auth-alt a {
  color: var(--auth-orange);
  font-weight: 700;
}

.auth-page .g-recaptcha {
  margin-bottom: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .auth-page .form_control,
  .auth-submit,
  .auth-social a {
    transition: none;
  }
}

/* Numbered steps — used only where the content really is a sequence
   (request link -> open email -> choose password). */
.auth-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: auth-step;
}

.auth-steps li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.auth-step-num {
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 133, 27, 0.16);
  border: 1px solid rgba(255, 133, 27, 0.28);
  color: var(--auth-orange);
  font-size: 13.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.auth-steps strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.auth-steps span:not(.auth-step-num) {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}
