/* Login e recuperação de acesso — HubSupport */
.auth-page {
  --auth-accent: #7c3aed;
  --auth-accent-dark: #5b21b6;
  --auth-text: #0f172a;
  --auth-muted: #64748b;
  min-height: 100vh;
  margin: 0;
  color: var(--auth-text);
  background: #f8fafc;
  font-family: "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr);
}

.auth-showcase {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.28), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(168, 85, 247, 0.36), transparent 32%),
    linear-gradient(145deg, #081a3b 0%, #172554 45%, #3b0764 100%);
}

.auth-showcase::before,
.auth-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.auth-showcase::before {
  width: 34rem;
  height: 34rem;
  right: -16rem;
  top: -12rem;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.018);
}

.auth-showcase::after {
  width: 18rem;
  height: 18rem;
  left: -8rem;
  bottom: -7rem;
  box-shadow: 0 0 0 3rem rgba(124, 58, 237, 0.07);
}

.auth-showcase__brand,
.auth-mobile-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.auth-showcase__brand img {
  width: auto;
  height: 38px;
  max-width: 200px;
  filter: brightness(0) invert(1);
}

.auth-showcase__content {
  max-width: 31rem;
}

.auth-eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.auth-showcase__content h2 {
  max-width: 12ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.auth-showcase__content > p {
  max-width: 38ch;
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.auth-benefits {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.9rem;
}

.auth-benefits span {
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  color: #fff;
  background: rgba(34, 197, 94, 0.28);
  border: 1px solid rgba(134, 239, 172, 0.35);
}

.auth-showcase__foot {
  margin: 0;
  color: rgba(203, 213, 225, 0.6);
  font-size: 0.76rem;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.07), transparent 26rem),
    #f8fafc;
}

.auth-panel__inner {
  width: min(100%, 27rem);
}

.auth-mobile-brand {
  display: none;
  margin-bottom: 2rem;
}

.auth-mobile-brand img {
  width: auto;
  height: 36px;
  max-width: 190px;
}

.auth-heading {
  margin-bottom: 1.75rem;
}

.auth-heading h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.auth-heading p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 1.1rem;
}

.auth-field {
  display: grid;
  gap: 0.45rem;
}

.auth-field label,
.auth-label-row {
  font-size: 0.82rem;
  font-weight: 700;
}

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

.auth-label-row a {
  color: var(--auth-accent-dark);
  font-size: 0.76rem;
  text-decoration: none;
}

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

.auth-input {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input > svg {
  position: absolute;
  left: 0.9rem;
  width: 1.1rem;
  height: 1.1rem;
  color: #94a3b8;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.auth-input input {
  width: 100%;
  min-height: 3.15rem;
  box-sizing: border-box;
  padding: 0.8rem 4.2rem 0.8rem 2.75rem;
  color: var(--auth-text);
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-input input:focus {
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.11);
}

.auth-input input::placeholder {
  color: #a8b2c1;
}

.auth-password-toggle {
  position: absolute;
  right: 0.55rem;
  padding: 0.4rem 0.5rem;
  color: var(--auth-muted);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-password-toggle:hover {
  color: var(--auth-accent-dark);
  background: #f5f3ff;
}

.auth-submit {
  min-height: 3.15rem;
  padding: 0.8rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #6d28d9 52%, #4f46e5);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 24px -12px rgba(109, 40, 217, 0.65);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.auth-submit:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -13px rgba(109, 40, 217, 0.75);
}

.auth-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.auth-msg {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.auth-msg.is-error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.auth-msg.is-ok {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.auth-signup {
  margin: 1.5rem 0 0;
  color: var(--auth-muted);
  font-size: 0.82rem;
  text-align: center;
}

.auth-signup a,
.auth-back {
  color: var(--auth-accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.auth-back {
  display: block;
  margin-top: 1.3rem;
  font-size: 0.8rem;
  text-align: center;
}

.auth-security-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  color: #fff;
  background: linear-gradient(145deg, #7c3aed, #4f46e5);
  border-radius: 16px;
  box-shadow: 0 14px 26px -14px rgba(109, 40, 217, 0.7);
}

.auth-security-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

  .auth-showcase {
    display: none;
  }

  .auth-panel {
    min-height: 100vh;
    padding: 2rem 1.25rem;
  }

  .auth-mobile-brand {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .auth-panel {
    place-items: start center;
    padding-top: 1.5rem;
  }

  .auth-heading {
    margin-bottom: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-submit {
    transition: none;
  }
}
