/* Scoped signup styles, independent of the site's legacy form rules. */
#joinForm { padding: 24px 12px; }
#joinForm .modal-dialog { width: min(1040px, 100%); max-width: 1040px !important; margin: 0 auto !important; min-height: calc(100% - 48px); }
#joinForm .join-card { display: grid; grid-template-columns: 40% 60%; border: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 80px #050e2866; color: #18233e; background: #fff; }
#joinForm .join-close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dfe3ec; border-radius: 50%; background: #fff; color: #18233e; font: 30px/1 Arial,sans-serif; cursor: pointer; }
#joinForm .join-close:hover { background: #f1f3f8; }
#joinForm .join-story { background: #101d3e; color: #fff; padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; }
#joinForm .join-eyebrow { display: block; font: 700 10px/1.6 Arial,sans-serif; letter-spacing: .15em; color: #68748a; }
#joinForm .form-poster { display: block; width: 100%; height: auto; align-self: center; border-radius: 10px; margin-bottom: 14px; }
#joinForm .join-story h2 { font-size: 30px; line-height: 1.12; color: #fff; margin: 0 0 16px; }
#joinForm .join-story p { font: 400 14px/1.7 Arial,sans-serif; color: #d9dfec; margin: 0; }
#joinForm .join-main { padding: 28px 36px 24px; min-width: 0; }
#joinForm .join-header { padding-right: 24px; }
#joinForm .join-header h2 { font-size: 32px; line-height: 1.12; margin: 7px 0 10px; }
#joinForm .join-header p { font: 400 14px/1.55 Arial,sans-serif; color: #637086; margin-bottom: 12px; }
#joinForm .join-appeal { margin: 12px 0 14px; padding: 13px 15px; border-left: 4px solid #f5c441; border-radius: 0 9px 9px 0; background: #f3f5f9; color: #18233e; font: 400 13px/1.45 Arial,sans-serif; }
#joinForm .join-appeal strong, #joinForm .join-appeal span, #joinForm .join-appeal b { display: block; }
#joinForm .join-appeal strong { margin-bottom: 3px; }
#joinForm .join-appeal b { margin-top: 5px; color: #8a6505; }
#joinForm .join-form { display: block; padding: 0; font: 400 14px/1.5 Arial,sans-serif; }
#joinForm .form-elements { display: block; margin: 0; }
#joinForm .join-required { font-size: 12px; color: #697489; margin: 0 0 10px; }
#joinForm .join-field { margin-bottom: 10px; min-width: 0; }
#joinForm .join-field label { display: block; font-weight: 700; font-size: 13px; margin: 0 0 6px; }
#joinForm .join-field input { display: block; box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid #ced5e1; border-radius: 9px; color: #18233e; background: #fbfcfe; font: 400 16px/1.4 Arial,sans-serif; box-shadow: none; }
#joinForm .join-field input:focus { outline: 3px solid #e4b52e55; outline-offset: 1px; border-color: #9e7921; background: #fff; }
#joinForm .join-field input:user-invalid { border-color: #b13936; }
#joinForm .join-location { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
#joinForm .join-location .join-field { margin-bottom: 6px; }
#joinForm small, #joinForm .join-hint { display: block; color: #68748a; font-size: 12px; line-height: 1.55; margin-top: 5px; }
#joinForm .join-hint { margin-bottom: 12px; }
#joinForm .join-choice { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; cursor: pointer; }
#joinForm .join-choice input { flex: 0 0 19px; width: 19px; height: 19px; margin: 2px 0 0; accent-color: #162750; position: static; }
#joinForm .join-choice small { margin-top: 2px; }
#joinForm .join-consent { border-top: 1px solid #e6e9ef; padding-top: 14px; font-size: 12px; line-height: 1.6; }
#joinForm .honeypot-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#joinForm .join-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; border-radius: 10px; min-height: 50px; padding: 13px 18px; background: #f5c441; color: #142141; font: 700 15px/1.5 Arial,sans-serif; cursor: pointer; }
#joinForm .join-submit:hover { background: #ffda69; }
#joinForm button:disabled { opacity: .55; cursor: wait; }
#joinForm :is(button, a, input[type=checkbox]):focus-visible { outline: 3px solid #ac7a00; outline-offset: 3px; }
#joinForm .join-state { padding: 45px 0 20px; text-align: center; }
#joinForm .join-state h3 { font-size: 27px; margin: 20px 0 14px; }
#joinForm .join-state p { color: #637086; }
#joinForm .join-success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; background: #e8f4eb; border-radius: 50%; font-size: 32px; color: #2a7645; }
#joinForm .join-loader { display: inline-block; width: 44px; height: 44px; border: 4px solid #e7eaf0; border-top-color: #b98b19; border-radius: 50%; animation: join-spin 1s linear infinite; }
#joinForm .warn_message { background: #fff1ef; border: 1px solid #ecc5bf; color: #8a3028; padding: 14px; border-radius: 9px; margin: 0 0 18px; }
#joinForm .join-result-link { display: block; padding: 13px; background: #f5c441; border-radius: 9px; color: #142141; font-weight: 700; text-decoration: none; }
#joinForm .join-done { margin-top: 14px; background: transparent; color: #334763; text-decoration: underline; }
@keyframes join-spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) {
  #joinForm { padding: 12px 8px; }
  #joinForm .modal-dialog { min-height: calc(100% - 24px); }
  #joinForm .join-card { grid-template-columns: 1fr; border-radius: 16px; }
  #joinForm .join-story { display: none; }
  #joinForm .join-main { padding: 32px 22px 24px; }
  #joinForm .join-header { padding-right: 28px; }
  #joinForm .join-header h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { #joinForm .join-loader { animation: none; } }

#joinForm .join-poster-link { display: block; width: 100%; color: #f7c844; text-decoration: none; font: 400 12px/1.5 Arial,sans-serif; cursor: zoom-in; }
#joinForm .join-poster-link > span { display: flex; justify-content: space-between; gap: 8px; }
#joinForm .join-poster-link:hover { color: #fff; }
#joinForm .join-poster-mobile { display: none; }
@media (max-width: 700px) {
  #joinForm .join-poster-mobile { display: inline-block; color: #64501d; font: 400 13px/1.5 Arial,sans-serif; margin-bottom: 16px; text-decoration: underline; }
}
