/* Assinatura visual da area publica Web do SixoApp.
   Carregado por ultimo para manter os fluxos funcionais isolados do layout. */

.auth-public-page,
.forgot-page,
.checkout-page {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(16, 217, 240, 0.16), transparent 26%),
    radial-gradient(circle at 82% 34%, rgba(20, 91, 255, 0.24), transparent 30%),
    linear-gradient(145deg, #00112f 0%, #001c49 52%, #00163a 100%);
}

.auth-public-page::before,
.auth-public-page::after,
.forgot-page::before,
.forgot-page::after,
.checkout-page::before,
.checkout-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: 70vw;
  height: 34vw;
  min-width: 720px;
  min-height: 350px;
  border: 1px solid rgba(20, 91, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.auth-public-page::before,
.forgot-page::before,
.checkout-page::before {
  top: -24vw;
  left: -12vw;
  transform: rotate(-17deg);
  box-shadow:
    0 36px 0 rgba(20, 91, 255, 0.045),
    0 72px 0 rgba(20, 91, 255, 0.025);
}

.auth-public-page::after,
.forgot-page::after,
.checkout-page::after {
  right: -25vw;
  bottom: -22vw;
  transform: rotate(-12deg);
  border-color: rgba(16, 217, 240, 0.13);
  box-shadow:
    0 -38px 0 rgba(20, 91, 255, 0.05),
    0 -76px 0 rgba(20, 91, 255, 0.025);
}

.auth-public-page > :not(.skip-link),
.forgot-page > :not(.skip-link),
.checkout-page > :not(.skip-link) {
  position: relative;
  z-index: 1;
}

.auth-public-page .auth-site-header {
  border-bottom-color: rgba(150, 190, 245, 0.12);
  background: rgba(0, 18, 49, 0.72);
}

.auth-public-page .brand,
.forgot-page .brand,
.checkout-page .brand {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.auth-public-page .brand-mark,
.forgot-page .brand-mark,
.checkout-page .brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 217, 240, 0.18);
  border-radius: 13px;
  background: #00163a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.auth-public-page .brand-mark img,
.forgot-page .brand-mark img,
.checkout-page .brand-mark img {
  width: 100%;
  height: 100%;
}

.auth-public-page .home-link,
.forgot-page .home-link,
.forgot-page .login-link,
.checkout-page .home-link {
  border-color: rgba(168, 198, 238, 0.22);
  background: rgba(7, 35, 78, 0.62);
  color: #d9e9ff;
}

.auth-public-page .home-link:hover,
.forgot-page .home-link:hover,
.forgot-page .login-link:hover,
.checkout-page .home-link:hover {
  border-color: rgba(16, 217, 240, 0.42);
  background: rgba(8, 42, 92, 0.88);
}

.auth-public-page .language-switcher,
.forgot-page .language-switcher,
.checkout-page .language-switcher {
  border-color: rgba(168, 198, 238, 0.20);
  background: rgba(7, 35, 78, 0.62);
}

.auth-public-page .language-switcher button,
.forgot-page .language-switcher button,
.checkout-page .language-switcher button {
  border-right-color: rgba(168, 198, 238, 0.16);
  color: #9ebce4;
}

.auth-public-page .language-switcher button[aria-pressed="true"],
.forgot-page .language-switcher button[aria-pressed="true"],
.checkout-page .language-switcher button[aria-pressed="true"] {
  background: linear-gradient(135deg, #0fd6ec, #145bff);
  color: #ffffff;
}

.auth-public-page .auth-hero-grid {
  min-height: calc(100dvh - 65px);
  grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
  gap: clamp(48px, 7vw, 104px);
  padding-block: 54px 70px;
}

.auth-public-page .auth-context {
  position: relative;
  max-width: 620px;
  padding-top: 190px;
}

.auth-public-page .auth-context::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -10px;
  width: 190px;
  height: 190px;
  background: url("/site-assets/images/sixoapp-symbol.png") center / contain no-repeat;
  filter: drop-shadow(0 18px 36px rgba(16, 217, 240, 0.18));
  animation: sixoapp-symbol-enter 760ms cubic-bezier(.22, .75, .25, 1) both;
}

.auth-public-page .auth-context::after {
  content: "";
  position: absolute;
  top: 170px;
  left: 0;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #10d9f0, #145bff);
  box-shadow: 0 0 18px rgba(16, 217, 240, 0.52);
}

.auth-public-page .auth-context h1 {
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(3.2rem, 5.2vw, 4.85rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.auth-public-page .auth-context-lead {
  max-width: 570px;
  color: #a8c6ee;
  font-size: 18px;
  line-height: 1.7;
}

.auth-public-page .auth-eyebrow {
  border-color: rgba(16, 217, 240, 0.25);
  background: rgba(16, 217, 240, 0.08);
  color: #7eeafa;
}

.auth-public-page .auth-card,
.forgot-page .forgot-card,
.checkout-page .checkout-card {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.955);
  box-shadow:
    0 36px 90px rgba(0, 7, 28, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  animation: sixoapp-card-enter 700ms cubic-bezier(.22, .75, .25, 1) 90ms both;
}

.auth-public-page .auth-card {
  width: min(100%, 470px);
  padding: 34px;
}

.auth-public-page .auth-card-header h2,
.auth-public-page .register-success-card h2,
.forgot-page .forgot-card-header h2,
.forgot-page .forgot-success h2 {
  color: #071b42;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.auth-public-page .auth-card-header p,
.auth-public-page .register-success-card > p:not(.auth-eyebrow),
.forgot-page .forgot-card-header p,
.forgot-page .forgot-success p {
  color: #647795;
}

.auth-public-page .input-shell,
.forgot-page .input-shell {
  border-color: #d7e4f3;
  background: rgba(247, 250, 255, 0.88);
}

.auth-public-page .input-shell:focus-within,
.forgot-page .input-shell:focus-within {
  border-color: #145bff;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(20, 91, 255, 0.10), 0 10px 24px rgba(0, 31, 82, 0.06);
}

.auth-public-page .field label,
.auth-public-page .terms-row,
.forgot-page .field label {
  color: #102342;
}

.auth-public-page .password-toggle,
.forgot-page .password-toggle {
  background: #eaf2ff;
  color: #134bba;
}

.auth-public-page .password-toggle:hover,
.forgot-page .password-toggle:hover {
  background: #dceaff;
}

.auth-public-page .submit-button,
.forgot-page .submit-button,
.checkout-page .submit-button {
  border: 0;
  background: linear-gradient(120deg, #08cfe9, #145bff 72%);
  box-shadow: 0 17px 36px rgba(20, 91, 255, 0.27);
}

.auth-public-page .submit-button:hover,
.forgot-page .submit-button:hover,
.checkout-page .submit-button:hover {
  background: linear-gradient(120deg, #10d9f0, #0d4ee6 72%);
  box-shadow: 0 21px 44px rgba(20, 91, 255, 0.34);
}

.auth-public-page .form-link,
.auth-public-page .auth-card-footer a,
.auth-public-page .terms-row strong,
.forgot-page .forgot-card-footer a,
.forgot-page .text-button,
.checkout-page .checkout-card-footer a {
  color: #145bff;
}

.auth-public-page .compatibility-link,
.forgot-page .compatibility-link,
.checkout-page .compatibility-link {
  color: #7384a0 !important;
}

.auth-public-page .auth-card-footer,
.forgot-page .forgot-card-footer {
  border-top-color: #dce7f5;
}

.auth-public-page .success-illustration,
.forgot-page .success-illustration {
  background: rgba(16, 217, 240, 0.10);
}

.auth-public-page .success-illustration::before,
.forgot-page .success-illustration::before {
  background: rgba(20, 91, 255, 0.10);
}

.auth-public-page .success-illustration::after,
.forgot-page .success-illustration::after {
  background: linear-gradient(135deg, #10d9f0, #145bff);
  box-shadow: 0 18px 38px rgba(20, 91, 255, 0.24);
}

.forgot-page .forgot-topbar,
.checkout-page .checkout-topbar {
  min-height: 82px;
}

.forgot-page .forgot-main {
  min-height: calc(100dvh - 98px);
  grid-template-columns: minmax(0, 1fr) minmax(410px, 490px);
  gap: clamp(44px, 7vw, 96px);
}

.forgot-page .forgot-context {
  position: relative;
  max-width: 620px;
  padding-top: 164px;
}

.forgot-page .forgot-context::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -12px;
  width: 168px;
  height: 168px;
  background: url("/site-assets/images/sixoapp-symbol.png") center / contain no-repeat;
  filter: drop-shadow(0 18px 34px rgba(16, 217, 240, 0.18));
  animation: sixoapp-symbol-enter 760ms cubic-bezier(.22, .75, .25, 1) both;
}

.forgot-page .forgot-eyebrow {
  color: #5de7f8;
}

.forgot-page .forgot-context h1 {
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 4.55rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.forgot-page .forgot-context > p {
  color: #a8c6ee;
}

.forgot-page .forgot-assurance li {
  color: #d8e8ff;
}

.forgot-page .assurance-icon {
  border: 1px solid rgba(16, 217, 240, 0.2);
  background: rgba(16, 217, 240, 0.09);
  color: #5de7f8;
}

.forgot-page .forgot-progress li[aria-current="step"] {
  border-color: rgba(20, 91, 255, 0.34);
  background: rgba(20, 91, 255, 0.08);
}

.forgot-page .forgot-progress li[aria-current="step"] span {
  background: linear-gradient(135deg, #10d9f0, #145bff);
}

.checkout-page .checkout-main {
  padding-top: 34px;
  padding-bottom: 72px;
}

.checkout-page .checkout-card {
  max-width: 820px;
  padding: 34px;
}

.checkout-page .checkout-eyebrow {
  color: #145bff;
}

.checkout-page .checkout-card h1 {
  color: #071b42;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.checkout-page .choice-group,
.checkout-page .checkout-summary,
.checkout-page .plan-option,
.checkout-page .payment-option {
  border-color: #d7e4f3;
  border-radius: 16px;
}

.checkout-page .plan-option:has(input:checked),
.checkout-page .payment-option:has(input:checked) {
  border-color: rgba(20, 91, 255, 0.56);
  background: rgba(20, 91, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(20, 91, 255, 0.07);
}

.checkout-page input[type="radio"] {
  accent-color: #145bff;
}

@keyframes sixoapp-symbol-enter {
  from { opacity: 0; transform: translateY(18px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sixoapp-card-enter {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  .auth-public-page .auth-hero-grid,
  .forgot-page .forgot-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .auth-public-page .auth-context,
  .forgot-page .forgot-context {
    max-width: 760px;
    padding-top: 132px;
  }

  .auth-public-page .auth-context::before,
  .forgot-page .forgot-context::before {
    width: 132px;
    height: 132px;
  }

  .auth-public-page .auth-context::after {
    top: 122px;
  }

  .auth-public-page .auth-card,
  .forgot-page .forgot-card {
    justify-self: stretch;
    width: min(100%, 620px);
  }
}

@media (max-width: 640px) {
  .auth-public-page .auth-context,
  .forgot-page .forgot-context {
    display: block;
    padding-top: 94px;
  }

  .auth-public-page .auth-context::before,
  .forgot-page .forgot-context::before {
    top: -18px;
    left: -4px;
    width: 96px;
    height: 96px;
  }

  .auth-public-page .auth-context::after {
    top: 86px;
    width: 62px;
  }

  .auth-public-page .auth-context h1,
  .forgot-page .forgot-context h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .forgot-page .forgot-assurance {
    display: none;
  }

  .auth-public-page .auth-card,
  .forgot-page .forgot-card,
  .checkout-page .checkout-card {
    padding: 24px 20px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-public-page .auth-context::before,
  .forgot-page .forgot-context::before,
  .auth-public-page .auth-card,
  .forgot-page .forgot-card,
  .checkout-page .checkout-card {
    animation: none;
  }
}
