/* Scoped presentation adapter for the official Alma widget. */
body #alma-widget-modal-main-container:focus { outline: 2px solid #c9dfee !important; outline-offset: 0; }
body .alma-eligibility-modal-left-side > svg { position: static !important; margin-top: 22px; flex-shrink: 0; }
body #alma-widget-modal-main-container { border: 1px solid #c9dfee !important; border-radius: 24px !important; font-family: inherit; width: min(960px, calc(100vw - 32px)) !important; max-height: calc(100dvh - 32px); box-shadow: 0 24px 80px #123e6933; }
body:has(#alma-widget-modal-main-container) #hp-mobile-bottom-nav { visibility: hidden; pointer-events: none; }
body .alma-payment-plans-container {
  font-family: inherit !important; color: #123e69 !important; background: #f4f9fe !important;
  border: 1px solid #d3e4f2 !important; border-radius: 18px !important; padding: 18px !important;
  box-shadow: 0 5px 18px rgb(18 62 105 / 4%);
}
body .alma-payment-plans-eligibility-line { gap: 16px; }
body .alma-payment-plans-eligibility-options { gap: 8px; }
body .alma-payment-plans-eligibility-options button,
body .alma-eligibility-modal-eligibility-options button {
  font-family: inherit; font-weight: 700; color: #123e69;
  background: #fff; border: 1px solid #bfd8ed; border-radius: 12px;
  min-width: 48px; min-height: 44px;
}
body .alma-payment-plans-eligibility-options .alma-payment-plans-active-option,
body .alma-eligibility-modal-eligibility-options .alma-eligibility-modal-active-option {
  color: #fff !important; background: #087bcc !important; border-color: #087bcc !important;
}
body .alma-payment-plans-container button:focus-visible,
body [class*="alma-eligibility-modal"] button:focus-visible {
  outline: 3px solid #56a9ef; outline-offset: 3px;
}
body .alma-payment-plans-payment-info { font-family: inherit; font-size: 14px; line-height: 1.6; color: #345777; }
body .alma-payment-plans-payment-info p { margin: 8px 0 0; }
body .alma-eligibility-modal-desktop-modal { font-family: inherit; color: #123e69; gap: 28px; padding: 12px 24px 24px !important; }
body .alma-eligibility-modal-left-side { flex: 0 0 34% !important; padding: 22px !important; background: #f4f9fe; border-radius: 18px; gap: 24px !important; justify-content: flex-start !important; }
body .alma-eligibility-modal-right-side { flex: 1 !important; min-width: 0; padding: 0 !important; }
body .alma-eligibility-modal-title { font-family: inherit !important; font-size: 24px !important; line-height: 1.3 !important; text-align: left !important; color: #123e69; font-weight: 700 !important; margin: 0 0 20px !important; }
body .alma-eligibility-modal-info-message { font-family: inherit; font-size: 14px !important; line-height: 1.6; }
body .alma-eligibility-modal-info ol { padding: 0; margin: 0; display: grid; gap: 18px; }
body .alma-eligibility-modal-info li { align-items: flex-start; gap: 12px; }
body .alma-eligibility-modal-bullet { font-family: inherit; color: #087bcc !important; background: #e2effa; border-radius: 50%; width: 30px; height: 30px; min-width: 30px; font-size: 16px !important; display: grid; place-items: center; }
body .alma-eligibility-modal-eligibility-options { justify-content: flex-start !important; gap: 10px !important; padding: 0 0 16px !important; }
body .alma-eligibility-modal-eligibility-options button { width: 72px !important; height: 46px !important; }
body .alma-eligibility-modal-eligibility-options button span { font-size: 18px !important; color: inherit !important; }
body .alma-eligibility-modal-schedule-details li { padding: 8px 0; font-size: 15px; }
body .alma-eligibility-modal-schedule-details [class*="_dot_"] { background: #bddbf2 !important; }
body .alma-eligibility-modal-schedule-details [class*="_isCurrent_"] { background: #087bcc !important; }
body .alma-eligibility-modal-schedule-total { font-size: 23px !important; }
body .alma-eligibility-modal-schedule-credit { font-size: 12px !important; line-height: 1.5; gap: 12px; }
body #alma-widget-modal-main-container [data-testid="legal-mentions"] { font-size: 12px !important; line-height: 1.7 !important; }
body .alma-eligibility-modal-summary { background: #f4f9fe; border: 1px solid #d3e4f2; border-radius: 18px; }
body .alma-eligibility-modal-schedule-details { font-family: inherit; }
body .alma-eligibility-modal-close-button { background: #123e69; border-radius: 50%; min-width: 44px; min-height: 44px; }
@media (max-width: 600px) {
  body #alma-widget-modal-main-container { width: calc(100vw - 16px) !important; border-radius: 20px !important; }
  body .alma-eligibility-modal-title { font-size: 21px !important; padding-right: 36px; }
  body .alma-payment-plans-container { padding: 14px; border-radius: 14px; }
  body .alma-payment-plans-eligibility-line { gap: 10px; flex-wrap: wrap; }
  body .alma-payment-plans-payment-info { font-size: 13px; }
  body .alma-eligibility-modal-info-message { font-size: 14px; }
}
