/* Four15 Workflow Authentication — scoped modal styling */
.f15wa-overlay[hidden]{display:none!important}
.f15wa-overlay{position:fixed;inset:0;background:rgba(12,19,32,.62);z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}
.f15wa-dialog{position:relative;box-sizing:border-box;width:min(100%,440px);max-height:calc(100dvh - 40px);overflow:auto;background:#fff;color:#202124;border-radius:18px;padding:38px 36px 34px;box-shadow:0 24px 75px rgba(6,20,47,.24);font-family:inherit}
.f15wa-dialog h2{font-family:inherit;font-size:30px;font-weight:650;letter-spacing:-.7px;line-height:1.15;margin:0 40px 10px 0;color:#171c27;text-transform:none}
.f15wa-dialog p:not(.f15wa-error){font-family:inherit;font-size:15px;line-height:1.5;color:#647083;margin:0 0 23px}
.f15wa-dialog .f15wa-close{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:8px;background:#f2f5f9;color:#3f4b5b;font:inherit;font-size:24px;line-height:1;cursor:pointer;padding:0}
.f15wa-dialog .f15wa-close:hover{background:#e8eef8}
.f15wa-dialog label{display:block;font-family:inherit;font-size:14px;font-weight:600;line-height:1.35;color:#242d3a;margin:16px 0 7px}
.f15wa-dialog input{display:block;box-sizing:border-box;width:100%;height:48px;min-height:48px;padding:11px 14px;margin:0;border:1px solid #cfd6e1;border-radius:9px;background:#fff;color:#202a38;font-family:inherit;font-size:16px;line-height:1.4;box-shadow:none}
.f15wa-dialog input:focus{border-color:#0665ff;outline:2px solid rgba(6,101,255,.17);outline-offset:0}
.f15wa-dialog .f15wa-submit{display:block;box-sizing:border-box;width:100%;min-height:50px;margin:24px 0 0;padding:13px 20px;border:0;border-radius:9px;background:#0665ff;color:#fff!important;font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;text-align:center;cursor:pointer;transition:background .15s ease}
.f15wa-dialog .f15wa-submit:hover{background:#0053d6}
.f15wa-dialog .f15wa-submit:disabled{opacity:.65;cursor:wait}
.f15wa-dialog .f15wa-error{box-sizing:border-box;background:#fff1f0;color:#a22420;padding:11px 12px;border-radius:8px;font-size:13px;margin:16px 0 0}
.f15wa-modal-open{overflow:hidden}
.f15wa-userbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px;background:#f2f6ff;border:1px solid #dce6ff;border-radius:12px;color:#15233b;font-size:16px}
.f15wa-userbar .f15wa-welcome{font-weight:400}
.f15wa-userbar .f15wa-logout-link{color:#075af7;text-decoration:none;font-weight:600}
.f15wa-userbar .f15wa-logout-link:hover,.f15wa-footer-logout:hover{text-decoration:underline}
.f15wa-footer-logout{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:480px){.f15wa-overlay{padding:16px}.f15wa-dialog{padding:32px 22px 28px;border-radius:16px}.f15wa-dialog h2{font-size:27px}}

/* v0.1.5: isolate modal from theme, Elementor, and global button/input styles */
body .f15wa-overlay .f15wa-dialog,
body .f15wa-overlay .f15wa-dialog * {box-sizing:border-box;}
body .f15wa-overlay .f15wa-dialog h2#f15wa-title {
  font-family:inherit!important;font-size:32px!important;font-weight:650!important;line-height:1.16!important;
  letter-spacing:-.6px!important;text-transform:none!important;color:#161b24!important;
  margin:0 35px 9px 0!important;padding:0!important;
}
body .f15wa-overlay .f15wa-dialog > p:not(.f15wa-error) {
  font-family:inherit!important;font-size:14px!important;line-height:1.5!important;font-weight:400!important;
  color:#677385!important;margin:0 0 22px!important;padding:0!important;
}
body .f15wa-overlay .f15wa-dialog form#f15wa-form {margin:0!important;padding:0!important;}
body .f15wa-overlay .f15wa-dialog form#f15wa-form label {
  display:block!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;
  line-height:1.4!important;color:#263244!important;letter-spacing:0!important;
  margin:0 0 9px!important;padding:0!important;
}
body .f15wa-overlay .f15wa-dialog form#f15wa-form label:not(:first-child) {margin-top:19px!important;}
body .f15wa-overlay .f15wa-dialog form#f15wa-form input#f15wa-username,
body .f15wa-overlay .f15wa-dialog form#f15wa-form input#f15wa-password {
  display:block!important;width:100%!important;height:48px!important;min-height:48px!important;
  margin:0!important;padding:11px 14px!important;border:1px solid #d8e0eb!important;border-radius:9px!important;
  background:#ffffff!important;background-image:none!important;color:#1d2737!important;
  font-family:inherit!important;font-size:15px!important;font-weight:400!important;
  line-height:24px!important;letter-spacing:0!important;opacity:1!important;
  box-shadow:0 1px 2px rgba(15,32,60,.035)!important;outline:0!important;
  -webkit-appearance:none;appearance:none;transition:border-color .15s,box-shadow .15s;
}
body .f15wa-overlay .f15wa-dialog form#f15wa-form input::placeholder {
  color:#8895a6!important;opacity:1!important;font-size:14px!important;font-weight:400!important;
}
body .f15wa-overlay .f15wa-dialog form#f15wa-form input:focus {
  border-color:#0066FF!important;outline:none!important;box-shadow:0 0 0 3px rgba(0,102,255,.13)!important;
}
body .f15wa-overlay .f15wa-dialog form#f15wa-form button.f15wa-submit,
body .f15wa-overlay .f15wa-dialog form#f15wa-form button.f15wa-submit:hover,
body .f15wa-overlay .f15wa-dialog form#f15wa-form button.f15wa-submit:focus {
  display:block!important;width:100%!important;min-height:50px!important;margin:25px 0 0!important;
  padding:13px 18px!important;border:1px solid #0066FF!important;border-radius:9px!important;
  background:#0066FF!important;color:#ffffff!important;
  font-family:inherit!important;font-size:16px!important;font-weight:600!important;line-height:1.4!important;
  text-align:center!important;text-decoration:none!important;text-transform:none!important;letter-spacing:0!important;
  box-shadow:none!important;opacity:1!important;cursor:pointer;
}
body .f15wa-overlay .f15wa-dialog form#f15wa-form button.f15wa-submit:hover,
body .f15wa-overlay .f15wa-dialog form#f15wa-form button.f15wa-submit:focus-visible {
  background:#0052CC!important;border-color:#0052CC!important;color:#ffffff!important;
  box-shadow:0 4px 12px rgba(0,102,255,.18)!important;
}
body .f15wa-overlay .f15wa-dialog form#f15wa-form button.f15wa-submit:disabled {opacity:.65!important;cursor:wait!important;}
body .f15wa-overlay .f15wa-dialog button.f15wa-close {
  display:grid!important;place-items:center!important;width:34px!important;height:34px!important;
  padding:0!important;margin:0!important;background:#f2f5f9!important;border:0!important;border-radius:8px!important;
  color:#344255!important;font-family:inherit!important;font-size:23px!important;font-weight:400!important;
  line-height:1!important;box-shadow:none!important;transition:background .15s,color .15s;
}
body .f15wa-overlay .f15wa-dialog button.f15wa-close:hover,
body .f15wa-overlay .f15wa-dialog button.f15wa-close:focus-visible {
  background:#0066FF!important;color:#ffffff!important;border-color:#0066FF!important;box-shadow:none!important;
}
@media(max-width:480px){body .f15wa-overlay .f15wa-dialog h2#f15wa-title{font-size:28px!important;}}

/* v0.1.7: subtle, consistent logout controls, isolated from Elementor link defaults. */
body .f15wa-userbar {font-family:inherit!important;font-size:14px!important;line-height:1.5!important;}
body .f15wa-userbar .f15wa-welcome {font-family:inherit!important;font-size:14px!important;line-height:1.5!important;color:#15233b!important;}
body .f15wa-userbar a.f15wa-logout-link,
body a.f15wa-footer-logout {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;
 padding:7px 14px!important;min-height:34px!important;width:auto!important;
 background:transparent!important;border:1px solid #bfd0ea!important;border-radius:7px!important;
 color:#0066FF!important;font-family:inherit!important;font-size:14px!important;font-weight:500!important;line-height:1.3!important;
 text-decoration:none!important;text-transform:none!important;letter-spacing:0!important;
 box-shadow:none!important;transition:background-color .15s ease,border-color .15s ease,color .15s ease!important;
}
body .f15wa-userbar a.f15wa-logout-link:hover,
body .f15wa-userbar a.f15wa-logout-link:focus-visible,
body a.f15wa-footer-logout:hover,
body a.f15wa-footer-logout:focus-visible {
 background:#0066FF!important;border-color:#0066FF!important;color:#fff!important;
 text-decoration:none!important;box-shadow:none!important;
}
body .f15wa-userbar a.f15wa-logout-link:focus-visible,
body a.f15wa-footer-logout:focus-visible {outline:2px solid #0066FF!important;outline-offset:3px!important;}
