/* Keep the sign-in path reachable from the first-visit offer at mobile sizes. */
.visitor-offer-overlay {
  z-index: 5000;
  overflow-y: auto;
  padding: 12px;
  background: rgba(14, 20, 39, 0.82);
  backdrop-filter: blur(10px);
}

.visitor-offer-card {
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.visitor-offer-login {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 12px 0 18px;
  border: 1px solid #e4e6ef;
}

.visitor-offer-actions {
  margin-top: 14px;
}

@media (max-width: 520px) {
  .visitor-offer-overlay {
    place-items: start center;
  }

  .visitor-offer-card {
    width: min(510px, 100%);
    padding: 28px 18px 18px;
    border-radius: 18px;
  }

  .visitor-offer-card h2 {
    margin-top: 12px;
    font-size: 20px;
  }

  .visitor-offer-card > p {
    margin-bottom: 12px;
  }

  .visitor-offer-details {
    gap: 8px;
  }

  .visitor-offer-details > div {
    padding: 11px;
  }
}
