/* Sign-in layout. Display of auth nodes is left to olostep_auth.bundle.js. */

body.auth-signin-page {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: #161616;
  font-family: Arial, Helvetica, sans-serif;
}

body.auth-signin-page *,
body.auth-signin-page *::before,
body.auth-signin-page *::after {
  box-sizing: border-box;
}

body.auth-signin-page .cursor-pointer {
  cursor: pointer;
}

body.auth-signin-page .cursor-text {
  cursor: text;
}

.auth-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  background: #fff;
}

.auth-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
}

.auth-left-inner {
  width: 100%;
  max-width: 520px;
}

.auth-mark {
  position: absolute;
  top: 26px;
  left: calc(56px + max(0px, (100% - 632px) / 2));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin: 0;
  text-decoration: none;
}

.auth-mark img {
  display: block;
  width: 118px;
  height: auto;
}

.auth-headline {
  margin: 0 0 30px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

body.auth-signin-page #WELCOME-OLOSTEP {
  width: 100%;
  min-height: 0;
  margin: 0 0 16px;
}

body.auth-signin-page #WELCOME-OLOSTEP:has(#welcome-text.is-stock) {
  display: none !important;
}

body.auth-signin-page #welcome-text {
  margin: 0;
  color: #1c1c1c;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.auth-card {
  background: #f6f5f2;
  border-radius: 12px;
  padding: 22px 22px 18px;
}

body.auth-signin-page #iscriviti-accedi-header {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 0 20px;
  border: 0;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

body.auth-signin-page #header-signup-login {
  width: auto;
  margin: 0;
  padding: 0;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}

body.auth-signin-page #go-back-iscrizione {
  display: none;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #333333;
}

/* Only show back button when the auth bundle explicitly sets it visible. */
body.auth-signin-page #go-back-iscrizione[style*="display: flex"],
body.auth-signin-page #go-back-iscrizione[style*="display:flex"] {
  display: inline-flex !important;
}

body.auth-signin-page .auth-icon {
  display: block;
}

body.auth-signin-page #main-auth-block,
body.auth-signin-page #main-box,
body.auth-signin-page .form-block-9,
body.auth-signin-page .email-auth,
body.auth-signin-page .form-field-wrapper,
body.auth-signin-page .text-field-box,
body.auth-signin-page #email-wrapper,
body.auth-signin-page #hidden-pass-sesamo,
body.auth-signin-page #federated-div,
body.auth-signin-page #real_btn_wrapper {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}

body.auth-signin-page #real_btn_wrapper {
  align-items: stretch;
}

body.auth-signin-page .form-block-9.w-form,
body.auth-signin-page .w-form {
  margin: 0;
}

body.auth-signin-page .div-block-709.auto._100,
body.auth-signin-page .div-block-709.auto._100.hide,
body.auth-signin-page .div-block-709.auto._100.pass {
  display: block;
  width: 100%;
  margin: 0 0 8px;
}

body.auth-signin-page .field-label-3,
body.auth-signin-page .field-label-3._2,
body.auth-signin-page .field-label-3._2.static {
  position: static;
  left: auto;
  display: block;
  margin: 0;
  color: #3a3a3a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

body.auth-signin-page .text-field-box._2._100 {
  position: relative;
}

body.auth-signin-page input.text-field-5,
body.auth-signin-page input.text-field-5.larger,
body.auth-signin-page input.text-field-5.larger.auto._100,
body.auth-signin-page input.text-field-5.larger.auto._100.email,
body.auth-signin-page #mfa-challenge-code-input {
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 42px;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  cursor: text;
}

body.auth-signin-page #password_aws-3_REAL {
  padding-right: 42px;
}

body.auth-signin-page input.text-field-5:focus,
body.auth-signin-page input.text-field-5.larger.auto._100:focus,
body.auth-signin-page #mfa-challenge-code-input:focus {
  border-color: #178bff80;
  outline: none;
  box-shadow: 0 0 0 3px #2791ff80;
}

body.auth-signin-page #email-wrapper {
  padding-bottom: 16px;
}

/* Keep email field visible above password on the password step (UI only). */
body.auth-signin-page[data-auth-step="password"] #email-wrapper {
  display: block !important;
}

body.auth-signin-page[data-auth-step="password"] #email_aws_real_iscrizione,
body.auth-signin-page[data-auth-step="verification"] #email_aws_real_iscrizione {
  background: #f4f5f7;
  color: #3a3a3a;
  cursor: default;
  pointer-events: none;
}

body.auth-signin-page #hidden-pass-sesamo {
  margin-bottom: 0;
}

body.auth-signin-page[data-auth-step="password"] #hidden-pass-sesamo {
  margin-top: 14px;
}

body.auth-signin-page[data-auth-step="password"] #the_real_iscrizione_button,
body.auth-signin-page[data-auth-step="verification"] #the_real_iscrizione_button {
  margin-top: 28px;
}

body.auth-signin-page #visibility-iscrizione {
  position: absolute;
  top: 34px;
  right: 12px;
  left: auto;
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

body.auth-signin-page .err-placeholder-pass {
  display: none;
  height: 0;
  margin: 0;
}

body.auth-signin-page #assess_login_signup,
body.auth-signin-page #the_real_iscrizione_button,
body.auth-signin-page #complete_signup_confirm,
body.auth-signin-page #continue-to-dash,
body.auth-signin-page #retry-signup,
body.auth-signin-page #submit-mfa-challenge {
  width: 100%;
  max-width: 100%;
  height: 44px;
  margin: 6px 0 0;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #8d9096;
  box-shadow: none;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

body.auth-signin-page #assess_login_signup[data-active="true"],
body.auth-signin-page #the_real_iscrizione_button[data-active="true"],
body.auth-signin-page #complete_signup_confirm[data-active="true"] {
  background: #111;
}

body.auth-signin-page #assess_login_signup:hover,
body.auth-signin-page #the_real_iscrizione_button:hover,
body.auth-signin-page #continue-to-dash:hover,
body.auth-signin-page #retry-signup:hover,
body.auth-signin-page #submit-mfa-challenge:hover,
body.auth-signin-page #complete_signup_confirm[data-active="true"]:hover {
  background: #111;
}

body.auth-signin-page #the-real-loader,
body.auth-signin-page #the-real-loader-verify {
  position: relative;
  width: 100%;
  height: 44px;
  margin-top: 6px;
  border-radius: 999px;
  background: #8d9096;
  cursor: not-allowed;
}

body.auth-signin-page[data-auth-step="password"] #the-real-loader,
body.auth-signin-page[data-auth-step="verification"] #the-real-loader {
  margin-top: 28px;
}

body.auth-signin-page #the-real-loader .lott-holder,
body.auth-signin-page #the-real-loader-verify .lott-holder,
body.auth-signin-page #the-real-loader .lottie-animation-35,
body.auth-signin-page #the-real-loader-verify .lottie-animation-35 {
  display: none;
}

body.auth-signin-page #the-real-loader::after,
body.auth-signin-page #the-real-loader-verify::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
}

body.auth-signin-page #forgot-password-txt {
  width: 100%;
  margin: 12px 0 0;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
}

body.auth-signin-page #forgot-pass-link {
  color: #6d6d6d;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}

body.auth-signin-page #forgot-pass-link:hover {
  color: #1c1c1c;
}

/* OTP page UI additions */
.auth-otp-toprow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  margin-bottom: 10px;
}

.auth-otp-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px 0 10px;
  border-radius: 10px;
  border: 1px solid #e7e7e7;
  background: #fff;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.auth-otp-back:hover {
  background: #fafafa;
}

.auth-otp-slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 2px 0 10px;
}

.auth-otp-slot {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: #141414;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 48px;
  text-align: center;
  caret-color: #111;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.auth-otp-slot:focus {
  border-color: #178bff80;
  outline: none;
  box-shadow: 0 0 0 3px #2791ff80;
}

body.auth-signin-page #confirmation-box .text-field-box {
  position: relative;
}

body.auth-signin-page #verification-code-signup.auth-otp-native,
body.auth-signin-page #verification-code.auth-otp-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.auth-otp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 6px auto 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e7e7e7;
  color: #333333;
}

body.auth-signin-page .no-receive {
  width: 100%;
  max-width: none;
  text-align: center;
}

body.auth-signin-page #confirmation-box #countdown-text,
body.auth-signin-page #confirmation-box #resend-email {
  width: 100%;
  margin: 0;
  color: #adadad;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.auth-otp-help {
  margin: 14px 0 0;
  color: #a3a3a3;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.auth-otp-help .text-link {
  color: #858585;
  text-decoration: none;
  cursor: pointer;
}

.auth-otp-help .text-link:hover {
  color: #333333;
}

body.auth-signin-page .info_text.agreement {
  display: block;
  width: 100%;
  margin-top: 12px;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

body.auth-signin-page .info_text.agreement .text-link {
  color: #4a4a4a;
}

body.auth-signin-page .oppure-block {
  width: 100%;
  margin: 16px 0 14px;
  gap: 12px;
}

body.auth-signin-page .line-margin-or,
body.auth-signin-page .line-margin-or.left,
body.auth-signin-page .line-margin-or.right {
  flex: 1;
  width: auto;
  height: 1px;
  margin: 0;
  background: #ddd;
}

body.auth-signin-page .text-block-42.oppure {
  flex: 0 0 auto;
  margin: 0;
  color: #8a8a8a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

body.auth-signin-page .federated-wrapper.bigger._100,
body.auth-signin-page .federated-wrapper.bigger._100.hidden {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

body.auth-signin-page #google-federated-button,
body.auth-signin-page #github-federated-button {
  flex: 0 0 auto;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 3px -1px rgba(137, 102, 26, 0.2);
  justify-content: center;
  gap: 10px;
  transition: transform 100ms ease-in-out, background-color 100ms ease-in-out, box-shadow 100ms ease-in-out;
  cursor: pointer;
}

body.auth-signin-page #google-federated-button:hover,
body.auth-signin-page #github-federated-button:hover {
  background: #f9f9f9;
  box-shadow: 0 1px 2px -1px rgba(137, 102, 26, 0.18);
  transform: translateY(1px);
}

body.auth-signin-page #google-federated-button img,
body.auth-signin-page #github-federated-button img {
  width: 20px;
  height: 20px;
  margin: 0;
}

body.auth-signin-page #google-federated-button .heading-71,
body.auth-signin-page #github-federated-button .heading-71 {
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.auth-signin-page .error-box {
  align-items: flex-start;
  gap: 6px;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 5px;
}

body.auth-signin-page .error-box img {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  flex: 0 0 14px;
}

body.auth-signin-page .error-text {
  min-width: 0;
  flex: 1;
  margin-left: 0;
  color: #c4364f;
  font-size: 12px;
  line-height: 1.35;
}

body.auth-signin-page #error-already-federated-access {
  width: 100%;
  margin: 0 0 12px;
  border-radius: 10px;
}

body.auth-signin-page #confirmation-box,
body.auth-signin-page #loading-confirmation,
body.auth-signin-page #email-confirmed,
body.auth-signin-page #error-confirmation,
body.auth-signin-page #invitation-error,
body.auth-signin-page #loading-invitation {
  width: 100%;
  text-align: center;
}

body.auth-signin-page #confirmation-box h4,
body.auth-signin-page #loading-confirmation h4,
body.auth-signin-page #email-confirmed h4,
body.auth-signin-page #error-confirmation h4,
body.auth-signin-page #invitation-error h4 {
  margin: 8px 0;
  font-size: 18px;
  font-weight: 600;
}

body.auth-signin-page #confirmation-box p,
body.auth-signin-page #error-confirmation p,
body.auth-signin-page #invitation-error p {
  max-width: none;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

body.auth-signin-page #resend-email {
  cursor: pointer;
}

body.auth-signin-page #resend-email:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

body.auth-signin-page .w-form-done,
body.auth-signin-page .w-form-fail,
body.auth-signin-page #loader-iscrizione {
  display: none;
}

.auth-right {
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  padding: 28px 36px 28px 18px;
}

.auth-wash {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  padding: 76px 64px;
  border-radius: 30px;
  background-color: #deeff9;
  background-image: url("/images/auth-review-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.review-stage {
  width: 100%;
  max-width: 640px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(40, 80, 110, 0.12);
}

.review-track {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  will-change: transform;
}

.review-card {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 28px 28px 26px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(245, 250, 255, 0.85);
  border: 1px solid rgba(10, 37, 64, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.review-logo {
  display: flex;
  align-items: center;
  height: 40px;
  margin-bottom: 18px;
}

.review-logo img {
  display: block;
  width: auto;
  max-width: 200px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
}

.review-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
}

.review-quote,
.review-footer {
  min-width: 0;
  max-width: 100%;
}

.review-quote {
  margin: 0;
  padding: 22px 22px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e7e7e7;
  color: #141414;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e7e7e7;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.review-person img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  object-fit: cover;
}

.review-person p {
  margin: 0;
}

.review-name {
  color: #141414;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.review-role {
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

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

  .auth-left {
    align-items: flex-start;
    padding: 96px 20px 48px;
  }

  .auth-mark {
    top: 22px;
    left: 20px;
  }

  .auth-right {
    display: none;
  }

  .auth-headline {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-track,
  body.auth-signin-page #the-real-loader::after,
  body.auth-signin-page #the-real-loader-verify::after {
    animation: none;
    transition: none;
  }
}
