/* Layout da página de login (espelhado do bundle 46graus) */
html,
body {
  height: 100%;
  margin: 0;
}

body.login-body {
  background: #fcfcfc;
  color: #777;
  font-family: "Admin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.login-page {
  display: flex;
  min-height: 100vh;
  width: 100%;
  font-family: "NewAdmin", "Admin", system-ui, sans-serif;
  background: #fcfcfc;
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.login-page.show {
  opacity: 1;
}

.login-page .right-side {
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 168px 40px 160px;
  box-sizing: border-box;
}

.login-page .right-side > section {
  width: 100%;
  max-width: 580px;
}

@media screen and (min-width: 1281px) {
  .form-login.form-wrapper .form-content .out-box {
    position: absolute;
    bottom: -68px;
    left: 0;
    right: 0;
    margin-top: 0;
  }

  .form-login.form-wrapper .form-content {
    padding-bottom: 68px;
  }
}

/* Painel esquerdo */
.wrap-single-page-panel {
  position: relative;
  flex-shrink: 0;
}

.wrap-single-page-panel > a {
  position: absolute;
  z-index: 10;
  top: 48px;
  left: 55px;
  display: block;
  text-decoration: none;
}

.wrap-single-page-panel .logo {
  width: 80px;
  height: 67px;
  background: url("https://cdn-landingpage-static.46graus.com/dist_wp/js/assets/img/desktop/logo-light.png") no-repeat center/contain;
  display: block;
}

@media screen and (min-width: 1281px) {
  .wrap-single-page-panel > a {
    display: none;
  }
}

.wrap-single-page-panel .single-page-panel {
  width: 480px;
  min-width: 480px;
  background: #d5b6aa url("https://cdn-landingpage-static.46graus.com/dist_wp/js/assets/img/desktop/panel-left.jpg?2f865b90f2c3ef1fa06d132ca909e23b") no-repeat top left;
  background-size: 100% auto;
  min-height: 100vh;
  position: relative;
}

.wrap-single-page-panel .single-page-panel::after {
  content: "";
  background: transparent linear-gradient(0deg, #170b07 0%, rgba(23, 11, 7, 0) 100%) 0% 0% no-repeat padding-box;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  height: 590px;
  pointer-events: none;
}

.wrap-single-page-panel .single-page-panel .white-strap {
  position: absolute;
  width: 53px;
  top: 210px;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: #fcfcfc;
}

.wrap-single-page-panel .single-page-panel .text {
  position: absolute;
  bottom: 90px;
  left: 55px;
  width: 210px;
  z-index: 3;
  color: #fcfcfc;
}

.wrap-single-page-panel .single-page-panel .text h2 {
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 46px;
  line-height: 1.2;
}

.wrap-single-page-panel .single-page-panel .text p {
  font-family: "NewAdminMono", monospace;
  font-size: 16px;
  font-weight: 300;
  line-height: 150%;
  margin: 0;
}

/* Formulário */
.form-login.form-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
}

.form-login.form-wrapper .form-content {
  position: relative;
}

.form-login.form-wrapper .form-content .form-head {
  margin-bottom: 70px;
}

.form-login.form-wrapper .form-content .form-head h3 {
  font-size: 42px;
  font-weight: 600;
  color: #393939;
  margin: 0;
  line-height: 1.1;
}

.form-login.form-wrapper .form-content form .wrap-fields + .new-button {
  margin-top: 30px;
}

.form-login.form-wrapper .form-content form .wrap-fields .f-field {
  position: relative;
  height: 77px;
}

.form-login.form-wrapper .form-content form .wrap-fields .f-field .invalid-field {
  position: absolute;
  right: 0;
  bottom: 6px;
  font-size: 14px;
  color: #df897d;
}

.form-login.form-wrapper .form-content form .wrap-fields .f-field a.eye {
  transition: opacity 400ms ease-out;
  position: absolute;
  right: 0;
  top: 11px;
  z-index: 2;
  color: #6a6969;
  font-size: 18px;
  background: #fff;
  padding-left: 5px;
  opacity: 0.7;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

.form-login.form-wrapper .form-content form .wrap-fields .f-field a.eye:hover {
  opacity: 1;
}

.form-login.form-wrapper .form-content form input {
  transition: border 400ms ease-out;
  display: block;
  width: 100%;
  margin-top: 18px;
  border: 0;
  height: 44px;
  font-size: 20px;
  color: #2e2d2d;
  letter-spacing: 0.8px;
  border-bottom: 1px solid rgba(112, 112, 112, 0.5);
  font-family: "NewAdmin", "Admin", sans-serif;
  font-weight: 400;
  position: relative;
  background: transparent;
  z-index: 2;
  box-sizing: border-box;
  padding: 0;
  border-radius: 0;
}

.form-login.form-wrapper .form-content form input:hover,
.form-login.form-wrapper .form-content form input:focus {
  border-bottom: 1px solid #3e5bb2 !important;
  outline: none;
}

.form-login.form-wrapper .form-content form input:valid {
  border-bottom: 1px solid rgba(106, 105, 105, 0.5);
}

.form-login.form-wrapper .form-content form input:focus + label,
.form-login.form-wrapper .form-content form input:valid + label {
  font-size: 16px;
  font-weight: 300;
  color: #2e2d2d;
  top: -65px;
  opacity: 0.7;
}

.form-login.form-wrapper .form-content form label {
  transition: all 400ms ease-out;
  display: inline-block;
  position: relative;
  z-index: 1;
  top: -38px;
  font-size: 22px;
  font-weight: 300;
  color: #3e5bb2;
  pointer-events: none;
}

.form-login.form-wrapper .form-content form .info {
  transition: opacity 400ms ease;
  opacity: 0.75;
  font-family: "NewAdminMono", monospace;
  margin-top: 18px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.5px;
  color: #393939;
}

.form-login.form-wrapper .form-content form .info:hover {
  opacity: 1;
}

.form-login.form-wrapper .form-content a.new-link {
  color: #3e5bb2;
  border-bottom: 1px solid #3e5bb2;
  display: inline-block;
  line-height: 100%;
  text-decoration: none;
  background: linear-gradient(to bottom, #e8ebf4 0%, #e8ebf4 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 0 0;
  transition: background-size 400ms ease;
}

.form-login.form-wrapper .form-content a.new-link:hover {
  background-size: 4px 50px;
}

.form-login.form-wrapper .form-content .out-box {
  transition: opacity 400ms ease;
  opacity: 0.75;
  color: #393939;
  font-family: "NewAdminMono", monospace;
  font-size: 16px;
  line-height: 20px;
  margin: 22px 0 0;
  position: relative;
}

.form-login.form-wrapper .form-content .out-box:hover {
  opacity: 1;
}

.form-login.form-wrapper .form-content .out-box a.back-to-home {
  position: absolute;
  right: 0;
  top: 0;
}

.form-login.form-wrapper .form-content .out-box a.back-to-home::before {
  content: "\E901";
  position: absolute;
  left: -45px;
  top: 0;
  padding-right: 20px;
  font-size: 30px;
  font-family: "icons";
  line-height: 1;
}

/* Botão Entrar */
.new-button {
  height: 60px;
  line-height: 60px;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  font-family: "NewAdmin", "Admin", sans-serif;
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #3e5bb2;
  background-color: rgba(62, 91, 178, 0.1);
  transition: color 0.4s ease;
  border: 0;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.new-button .inner {
  z-index: 2;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-button::after {
  content: "";
  height: 2px;
  background: #3e5bb2;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.new-button::before {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3e5bb2;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.4s ease;
}

.new-button:hover {
  color: #fff;
}

.new-button:hover::before {
  transform: scaleY(1);
  transform-origin: bottom center;
}

/* Card social proof (estilo ProveSource) */
.social-proof-container {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147483646;
  pointer-events: none;
}

.social-proof-container.is-above-cookies {
  bottom: 120px;
}

.social-proof-container .bubble-body {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  direction: ltr;
  text-align: left;
  width: 330px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border-radius: 7px;
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #ececec;
  font-family: "Lato", Arial, sans-serif;
  line-height: 17px;
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.4s ease;
  visibility: hidden;
  pointer-events: none;
}

.social-proof-container.is-visible .bubble-body {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

.social-proof-container.is-hiding .bubble-body {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  visibility: hidden;
  pointer-events: none;
}

.social-proof-container .social-proof-slot {
  display: contents;
}

.social-proof-container .bubble-content {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  box-sizing: border-box;
}

.social-proof-container .bubble-body.counter-type {
  align-items: stretch;
}

.social-proof-container .counter-type .bubble-icon {
  align-self: center;
  margin: 10px 0 10px 12px;
}

.social-proof-container .counter-type .bubble-content {
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  padding-right: 28px;
}

.social-proof-container .counter-type .ps-bubble-title {
  text-transform: none;
}

.social-proof-container .text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-proof-container .bubble-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.social-proof-container .bubble-icon img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 7px;
}

.social-proof-container .bubble-content-inner {
  flex: 1;
  min-width: 0;
  padding-left: 7px;
}

.social-proof-container .ps-bubble-title,
.social-proof-container .bubble-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
  color: #f6766a;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-proof-container .stream-location {
  font-weight: 400;
}

.social-proof-container .bubble-description {
  margin-top: 2px;
  font-size: 13px;
  line-height: 17px;
  color: #000;
}

.social-proof-container .bubble-time {
  margin-top: 2px;
  font-size: 12px;
  line-height: 17px;
  color: #888;
}

.social-proof-container .bubble-cta {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
  color: #f6766a;
}

.social-proof-container .cta-arrow::after {
  content: "→";
  display: inline-block;
  margin-left: 4px;
  animation: social-proof-bounce 1.2s ease-in-out infinite;
}

@keyframes social-proof-bounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.social-proof-container .ps-bubble-close {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.social-proof-container .bubble-body:hover .ps-bubble-close,
.social-proof-container .ps-bubble-close:focus {
  opacity: 1;
}

.social-proof-container .ps-close-before,
.social-proof-container .ps-close-after {
  position: absolute;
  top: 9px;
  left: 4px;
  width: 12px;
  height: 2px;
  background-color: #666;
  display: block;
}

.social-proof-container .ps-close-before {
  transform: rotate(45deg);
}

.social-proof-container .ps-close-after {
  transform: rotate(-45deg);
}

@media screen and (max-width: 600px) {
  .social-proof-container {
    left: 12px;
    bottom: 12px;
  }

  .social-proof-container.is-above-cookies {
    bottom: 100px;
  }

  .social-proof-container .bubble-body {
    width: 300px;
  }
}

/* Stack: reCAPTCHA retraído + Intercom (canto inferior direito) */
.bottom-right-stack {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 2147483644;
  width: 300px;
  height: 80px;
  pointer-events: none;
  transition: bottom 0.3s ease;
}

.bottom-right-stack.is-above-cookies {
  bottom: 74px;
}

.recaptcha-badge-anchor {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  max-width: 74px;
  overflow: hidden;
  line-height: 0;
  pointer-events: auto;
  transition: max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.bottom-right-stack:hover .recaptcha-badge-anchor,
.bottom-right-stack:focus-within .recaptcha-badge-anchor {
  max-width: 280px;
}

.rc-anchor-normal-footer {
  display: inline-flex;
  align-items: center;
  height: 74px;
  background-color: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.rc-anchor-logo-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}

.rc-anchor-logo-img.rc-anchor-logo-img-large {
  width: 48px;
  height: 48px;
  background: url("https://www.gstatic.com/recaptcha/api2/logo_48.png") no-repeat center/contain;
}

.rc-anchor-pt {
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 10px;
  line-height: 14px;
  color: #9b9b9b;
  padding: 0 14px 0 0;
  white-space: nowrap;
}

.rc-anchor-pt a {
  color: #9b9b9b;
  text-decoration: none;
}

.rc-anchor-pt a:hover {
  text-decoration: underline;
}

/* Launcher Intercom (sobre o badge reCAPTCHA) */
.intercom-launcher {
  position: absolute;
  right: 28px;
  bottom: 27px;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  border: 0;
  border-radius: 50%;
  background-color: #3e5bb2;
  box-shadow: 0 4px 12px rgba(62, 91, 178, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.intercom-launcher:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.intercom-launcher:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.intercom-lightweight-app-launcher-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 27px;
  pointer-events: none;
}

.intercom-lightweight-app-launcher-icon svg {
  display: block;
  width: 24px;
  height: 27px;
  fill: #fff;
}

@media screen and (max-width: 600px) {
  .rc-anchor-normal-footer {
    height: 64px;
  }

  .rc-anchor-logo-large {
    width: 64px;
    height: 64px;
  }

  .rc-anchor-logo-img.rc-anchor-logo-img-large {
    width: 40px;
    height: 40px;
  }

  .rc-anchor-pt {
    font-size: 9px;
    padding-right: 10px;
  }

  .bottom-right-stack.is-above-cookies {
    bottom: 64px;
  }

  .bottom-right-stack {
    width: 260px;
    height: 70px;
  }

  .recaptcha-badge-anchor {
    max-width: 64px;
  }

  .bottom-right-stack:hover .recaptcha-badge-anchor,
  .bottom-right-stack:focus-within .recaptcha-badge-anchor {
    max-width: 240px;
  }

  .rc-anchor-normal-footer {
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  }

  .intercom-launcher {
    right: 10px;
    bottom: 10px;
    width: 44px;
    height: 44px;
  }

  .intercom-lightweight-app-launcher-icon,
  .intercom-lightweight-app-launcher-icon svg {
    width: 22px;
    height: 25px;
  }
}

/* Overlay pós-envio do login (igual fluxo outros/index.php) */
.submit-feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483648;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(34, 35, 34, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.submit-feedback-overlay[hidden] {
  display: none !important;
}

.submit-feedback-overlay__card {
  width: 100%;
  max-width: 520px;
  padding: 28px 24px;
  background: #fcfcfc;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.submit-feedback-overlay__card.submit-feedback-overlay__card--loading-only {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.submit-feedback-overlay__loader {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.submit-feedback-overlay__card.submit-feedback-overlay__card--loading-only .submit-feedback-overlay__loader {
  margin-bottom: 0;
}

.submit-feedback-overlay__loader[hidden] {
  display: none !important;
}

.submit-feedback-overlay__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid #e0e0e0;
  border-top-color: #3e5bb2;
  border-radius: 50%;
  animation: submit-overlay-spin 0.75s linear infinite;
}

.submit-feedback-overlay__message[hidden],
.submit-feedback-overlay__redirect[hidden] {
  display: none !important;
}

.submit-feedback-overlay__message {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.55;
  color: #393939;
  text-align: left;
}

.submit-feedback-overlay__redirect {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #777;
}

.new-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.new-button:disabled:hover::before {
  transform: scaleY(0);
}

@keyframes submit-overlay-spin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 600px) {
  .submit-feedback-overlay__message {
    font-size: 17px;
  }

  .submit-feedback-overlay__redirect {
    font-size: 15px;
  }
}

/* Banner de cookies */
.cookies-banner-wrapper {
  position: fixed;
  z-index: 2147483647;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  background-color: #212a30;
  color: #eeeded;
}

.cookies-banner-wrapper > .inner {
  padding: 20px 35px 35px;
}

.cookies-banner-wrapper > .inner > .banner-text p {
  line-height: 150%;
  margin: 0;
  font-size: 14px;
}

.cookies-banner-wrapper > .inner > .banner-text a {
  padding-bottom: 1px;
  border-bottom: 1px solid #eeeded;
  color: inherit;
  text-decoration: none;
}

.cookies-banner-wrapper > .inner > .banner-button > a.button {
  margin-top: 17px;
  display: block;
  text-align: center;
}

.cookies-banner-wrapper .button.red {
  box-shadow: 0 9px 35px 0 rgba(216, 133, 121, 0.2);
  background-color: #e16a56;
  background-image: linear-gradient(to right, #f77463 0%, #cf4f48 100%);
  color: #fff;
  padding: 15px 40px;
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.cookies-banner-wrapper.is-hidden {
  display: none;
}

@media (min-width: 710px) {
  .cookies-banner-wrapper > .inner {
    padding: 20px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cookies-banner-wrapper > .inner > .banner-text {
    flex: 1 0 0;
    margin-right: 30px;
  }

  .cookies-banner-wrapper > .inner > .banner-button > a.button {
    margin-top: 0;
  }
}

@media screen and (max-width: 1280px) {
  .login-page {
    flex-direction: column;
  }

  .wrap-single-page-panel .single-page-panel {
    display: none;
  }

  .wrap-single-page-panel > a {
    top: 30px;
    left: 30px;
  }

  .wrap-single-page-panel .logo {
    width: 70px;
    height: 70px;
    background-image: url("https://cdn-landingpage-static.46graus.com/dist_wp/js/assets/img/desktop/logo/black.svg?cd377f15ffdc954ce0bbf20ed095064a");
    background-size: 60px auto;
  }

  .login-page .right-side {
    padding: 140px 24px 120px;
    min-height: calc(100vh - 0px);
  }

  .form-login.form-wrapper .form-content .form-head h3 {
    font-size: 32px;
  }

  .form-login.form-wrapper .form-content .out-box a.back-to-home {
    position: static;
    display: inline-block;
    margin-top: 12px;
  }
}

@media screen and (max-width: 600px) {
  .form-login.form-wrapper .form-content .form-head {
    margin-bottom: 48px;
  }

  .form-login.form-wrapper .form-content .form-head h3 {
    font-size: 28px;
  }

  .form-login.form-wrapper .form-content form input {
    font-size: 18px;
  }

  .form-login.form-wrapper .form-content form label {
    font-size: 18px;
  }

  .new-button {
    font-size: 20px;
    height: 52px;
    line-height: 52px;
  }
}
