/* Presentation only: EDD Free Downloads owns the form and delivery.
   Match site-wide-styles/forms-design.css and the existing newsletter popup. */
body.fusion-body #edd-free-downloads-modal {
  box-sizing:border-box;
  width:calc(100% - 32px);
  max-width:620px;
  max-height:90vh;
  margin:auto;
  padding:0;
  color:#efeee7;
  background:#171819;
  border:1px solid #ffffff24;
  border-radius:4px;
  box-shadow:0 24px 80px #0008;
  font:400 18px/1.6 Barlow,Arial,sans-serif;
  color-scheme:dark;
}
body.fusion-body #edd-free-downloads-modal::backdrop {background:#080a0bcc;}
body.fusion-body #edd-free-downloads-modal #edd_free_download_form {padding:44px 36px 36px;}
body.fusion-body #edd-free-downloads-modal .edd-free-downloads-modal-title {
  margin:0 36px 26px 0;
  color:#efeee7;
  font:600 48px/1.05 'Barlow Semi Condensed',Barlow,Arial,sans-serif;
  letter-spacing:-.025em;
}
body.fusion-body #edd-free-downloads-modal label {display:block;color:#c6c8bd!important;font:500 16px/1.45 Barlow,Arial,sans-serif!important;margin:0 0 10px;}
body.fusion-body #edd-free-downloads-modal .edd-required-indicator {color:#ffcf02;}
body.fusion-body #edd-free-downloads-modal :is(input[type=email],input[type=text],input[type=password]) {
  box-sizing:border-box;width:100%;height:52px;padding:13px 16px;
  color:#efeee7;background:#202324;border:1px solid #ffffff2e;border-radius:2px;
  font:400 16px/1.5 Barlow,Arial,sans-serif;box-shadow:none;caret-color:#ffcf02;
  transition:border-color .15s,background-color .15s;
}
body.fusion-body #edd-free-downloads-modal input::placeholder {color:#92998f;opacity:1;}
body.fusion-body #edd-free-downloads-modal input:focus-visible {outline:2px solid #ffcf02;outline-offset:3px;background-color:#242727;box-shadow:none;}
body.fusion-body #edd-free-downloads-modal input[aria-invalid="true"] {border-color:#ff867b;}
body.fusion-body #edd-free-downloads-modal input:disabled {opacity:.55;}
body.fusion-body #edd-free-downloads-modal input:-webkit-autofill {-webkit-text-fill-color:#efeee7;box-shadow:0 0 0 1000px #202324 inset;}
body.fusion-body #edd-free-downloads-modal :is(button:not(.edd-free-downloads-modal-close),input[type=submit],a.button) {
  box-sizing:border-box;min-height:52px;width:100%;padding:14px 28px;
  background:#ffcf02;color:#171819;border:1px solid #ffcf02;border-radius:2px;
  font:600 17px/1.3 Barlow,Arial,sans-serif;text-shadow:none;box-shadow:none;
}
body.fusion-body #edd-free-downloads-modal :is(button:not(.edd-free-downloads-modal-close),input[type=submit],a.button):not(:disabled):hover {background:#efeee7;border-color:#efeee7;color:#171819;}
body.fusion-body #edd-free-downloads-modal button:focus-visible {outline:2px solid #ffcf02;outline-offset:4px;}
body.fusion-body #edd-free-downloads-modal .edd-free-downloads-modal-close {
  top:12px;right:12px;width:36px!important;height:36px!important;padding:0;
  background:transparent;color:#efeee7;border:0;border-radius:0;
  font:400 28px/36px Barlow,Arial,sans-serif;box-shadow:none;
}
body.fusion-body #edd-free-downloads-modal .edd-free-downloads-modal-close:hover {color:#ffcf02;background:transparent;}
body.fusion-body #edd-free-downloads-modal .edd-free-download-errors:not(:empty) {box-sizing:border-box;background:#382522;color:#ffd1c9;border:1px solid #d59182;border-radius:2px;padding:20px 24px;margin:0 0 28px;}
body.fusion-body #edd-free-downloads-modal .edd-free-download-errors p {color:#ffd1c9;padding:0;margin:0 0 8px;font:400 18px/1.6 Barlow,Arial,sans-serif;}
body.fusion-body #edd-free-downloads-modal .edd-free-download-errors p:last-child {margin-bottom:0;}
body.fusion-body #edd-free-downloads-modal a:not(.button) {color:#ffcf02;}
body.fusion-body #edd-free-downloads-modal:has(.edd-free-downloads-loading) {background:transparent;border-color:transparent;box-shadow:none;}
@media(max-width:520px){
  body.fusion-body #edd-free-downloads-modal #edd_free_download_form {padding:40px 20px 24px;}
  body.fusion-body #edd-free-downloads-modal .edd-free-downloads-modal-title {font-size:40px;}
}
@media(prefers-reduced-motion:reduce){body.fusion-body #edd-free-downloads-modal[open]{animation:none;}body.fusion-body #edd-free-downloads-modal input{transition:none;}}
