/* public/css/auth/forgot-password.css
   Le 243 righe della pagina «password dimenticata». Stavano in un <style>
   dentro a @push('styles'), subito dopo il foglio comune dell'accesso. */

body:has(.forgot-page) .forgot-page .login-page__inner {
    width: min(100%, 1360px) !important;
    max-width: 1360px !important;
    justify-content: center;
  }

  /* Vertical alignment comes from the markup utility (align-items-start), so the
     hero copy and the form card share a top baseline like every other split hero. */

  body:has(.forgot-page) .forgot-page .login-page__title {
    max-width: 29rem;
    font-size: clamp(3.05rem, 3.45vw, 4.1rem);
    line-height: 1.03;
  }

  body:has(.forgot-page) .forgot-page .login-page__lead {
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.65;
  }

  body:has(.forgot-page) .forgot-page .login-page__features {
    width: min(100%, 30rem);
    gap: 1.55rem;
  }

  body:has(.forgot-page) .forgot-page .login-page__brand-panel {
    position: relative;
    min-height: 682px;
    padding-top: 1.8rem !important;
  }

  body:has(.forgot-page) .forgot-page__support-card {
    width: 21.5rem;
    display: grid;
    grid-template-columns: 3.7rem 1fr;
    gap: 1rem;
    margin-top: 2.2rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(255, 59, 47, .16);
    border-radius: 16px;
    background: rgba(255, 59, 47, .045);
  }

  body:has(.forgot-page) .forgot-page__support-card > span {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--login-red);
    background: #fff;
  }

  body:has(.forgot-page) .forgot-page__support-card strong,
  body:has(.forgot-page) .forgot-page__support-card small,
  body:has(.forgot-page) .forgot-page__support-card a {
    display: block;
  }

  body:has(.forgot-page) .forgot-page__support-card strong {
    color: var(--login-navy);
    font-weight: 900;
  }

  body:has(.forgot-page) .forgot-page__support-card small {
    margin-top: .35rem;
    color: var(--login-muted);
    line-height: 1.45;
  }

  body:has(.forgot-page) .forgot-page__support-card a {
    margin-top: .75rem;
    color: var(--login-red);
    font-weight: 900;
    text-decoration: none;
  }

  body:has(.forgot-page) .forgot-page__mail-visual {
    position: absolute;
    right: .4rem;
    bottom: 8.6rem;
    width: 22.5rem;
    height: 22.5rem;
    pointer-events: none;
  }

  body:has(.forgot-page) .forgot-page__mail-visual::before {
    content: "";
    position: absolute;
    inset: 1.2rem;
    border: 2px dashed rgba(255, 59, 47, .14);
    border-radius: 999px;
    transform: rotate(-16deg);
  }

  body:has(.forgot-page) .forgot-page__mailbox-img {
    position: absolute;
    left: .7rem;
    top: 3.2rem;
    width: 22rem;
    height: auto;
    filter: drop-shadow(0 30px 34px rgba(255, 59, 47, .15));
  }

  body:has(.forgot-page) .forgot-page__orbit {
    position: absolute;
    display: grid;
    place-items: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 16px;
    color: var(--login-red);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 20px 38px rgba(20, 39, 74, .09);
  }

  body:has(.forgot-page) .forgot-page__orbit--lock {
    left: 0;
    top: 6.5rem;
  }

  body:has(.forgot-page) .forgot-page__orbit--send {
    left: 3.4rem;
    bottom: 0.7rem;
  }

  body:has(.forgot-page) .forgot-page__orbit--ok {
    right: 1.1rem;
    bottom: 5rem;
    color: #fff;
    background: #4cc154;
  }

  body:has(.forgot-page) .forgot-page .login-page__form-shell {
    max-width: 610px !important;
  }

  body:has(.forgot-page) .forgot-page .login-page__card,
  body.nedate-ui-standard:has(.forgot-page) .forgot-page .login-page__card {
    display: block !important;
    min-height: 676px;
    border-radius: 18px !important;
  }

  body:has(.forgot-page) .forgot-page .login-page__card > .card-body,
  body.nedate-ui-standard:has(.forgot-page) .forgot-page .login-page__card > .card-body {
    min-height: 676px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.25rem 3.05rem !important;
    border-right: 0 !important;
  }

  body:has(.forgot-page) .forgot-page__card-icon {
    position: relative;
    width: 7.15rem;
    height: 7.15rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1.9rem;
    border-radius: 999px;
    color: var(--login-red);
    background: rgba(255, 59, 47, .08);
    border: 1px solid rgba(255, 59, 47, .14);
  }

  body:has(.forgot-page) .forgot-page__card-icon > i {
    font-size: 2.5rem;
  }

  body:has(.forgot-page) .forgot-page__card-icon span {
    position: absolute;
    right: .2rem;
    bottom: .95rem;
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--login-red);
    box-shadow: 0 10px 20px rgba(255, 59, 47, .24);
  }

  body:has(.forgot-page) .forgot-page .login-page__card h2 {
    font-size: 2rem !important;
  }

  body:has(.forgot-page) .forgot-page #resetForm {
    margin-top: 2.35rem !important;
  }

  body:has(.forgot-page) .forgot-page #btn-submit {
    min-height: 58px !important;
    border-radius: 9px !important;
  }

  body:has(.forgot-page) .forgot-page .login-page__form-shell > p:last-child {
    display: block;
    color: var(--login-muted) !important;
  }

  body:has(.forgot-page) .forgot-page__trust-strip {
    max-width: 1280px;
    margin: 2.05rem auto 0;
  }

  body:has(.forgot-page) .forgot-page__privacy-note {
    margin: 1.85rem 0 0;
    color: var(--login-muted);
    text-align: center;
    font-size: .95rem;
  }

  body:has(.forgot-page) .forgot-page__privacy-note i {
    margin-right: .55rem;
    color: var(--login-navy);
  }

  @media (max-width: 1399.98px) {
    body:has(.forgot-page) .forgot-page__mail-visual {
      transform: scale(.84);
      transform-origin: right bottom;
      opacity: .88;
    }
  }

  @media (max-width: 1199.98px) {
    body:has(.forgot-page) .forgot-page__mail-visual {
      display: none;
    }
  }

  @media (max-width: 959.98px) {
    body:has(.forgot-page) .forgot-page .login-page__card,
    body.nedate-ui-standard:has(.forgot-page) .forgot-page .login-page__card,
    body:has(.forgot-page) .forgot-page .login-page__card > .card-body,
    body.nedate-ui-standard:has(.forgot-page) .forgot-page .login-page__card > .card-body {
      min-height: auto;
    }
  }
