/* Playbook download popup: email -> OTP -> PDF (see inc/playbook-download.php) */
.wl-dl { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(26,26,46,.72); font-family: Inter, -apple-system, "Segoe UI", Arial, sans-serif; }
.wl-dl[hidden] { display: none !important; }
.wl-dl__box { position: relative; width: 100%; max-width: 480px; background: #fff; color: #1a1a2e; border-radius: 22px; padding: 40px 32px 32px; box-shadow: 0 30px 80px rgba(0,0,0,.25); animation: wl-dl-in .22s ease-out; }
@keyframes wl-dl-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.wl-dl__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: #f4f3ff; color: #1a1a2e; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: none; }
.wl-dl__close:hover { background: #e9e6ff; }
.wl-dl__step { display: flex; flex-direction: column; gap: 16px; }
.wl-dl__step[hidden] { display: none; }
.wl-dl__kicker { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 700; color: #6c4ee8; letter-spacing: .02em; }
.wl-dl__title { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; color: #1a1a2e; text-transform: none; }
.wl-dl__title em { font-style: normal; color: #7b5cf0; }
.wl-dl__text { margin: 0; font-size: 15px; line-height: 1.55; color: #3d3b52; }
.wl-dl__text strong { color: #1a1a2e; }
.wl-dl__form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.wl-dl__label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #1a1a2e; text-transform: none; letter-spacing: 0; margin: 0; }
.wl-dl input.wl-dl__input { box-sizing: border-box; width: 100%; margin: 0; font-family: inherit; font-size: 16px; padding: 14px 16px; border: 1.5px solid #d5d0f2; border-radius: 12px; color: #1a1a2e; background: #fff; box-shadow: none; }
.wl-dl input.wl-dl__input:focus { outline: none; border-color: #6c4ee8; box-shadow: 0 0 0 3px rgba(108,78,232,.15); }
.wl-dl input.wl-dl__input--code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 28px; letter-spacing: .45em; text-align: center; padding: 14px 8px 14px 20px; }
.wl-dl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-dl__btn { cursor: pointer; margin: 0; background: #6c4ee8; color: #fff; border: 0; padding: 16px 24px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: 16px; min-height: 48px; text-transform: none; letter-spacing: 0; box-shadow: none; transition: background .15s; }
.wl-dl__btn:hover { background: #5a3fd1; color: #fff; }
.wl-dl__btn[disabled] { opacity: .6; cursor: wait; }
.wl-dl__btn--dark { background: #1a1a2e; align-self: flex-start; text-decoration: none; display: inline-block; padding: 14px 22px; font-size: 15px; }
.wl-dl__btn--dark:hover { background: #2d2d4a; }
.wl-dl__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.wl-dl__link { background: none; border: 0; padding: 0; margin: 0; font-family: inherit; font-size: 14px; font-weight: 600; color: #6c4ee8; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
.wl-dl__link[disabled] { color: #9a97b3; cursor: default; }
.wl-dl__error { margin: 0; font-size: 14px; color: #c62839; background: #fdecee; border-radius: 10px; padding: 10px 12px; }
.wl-dl__error[hidden] { display: none; }
.wl-dl__fine { margin: 0; font-size: 12px; line-height: 1.5; color: #6e6b85; }
.wl-dl__icon { width: 52px; height: 52px; border-radius: 999px; background: #f4f3ff; display: flex; align-items: center; justify-content: center; }
@media (max-width: 480px) { .wl-dl__box { padding: 36px 22px 24px; border-radius: 18px; } .wl-dl input.wl-dl__input--code { font-size: 24px; letter-spacing: .35em; } }

/* Fluent Forms form adopted into the popup */
.wl-dl__status { margin: 0; font-size: 14px; color: #3d3b52; }
.wl-dl__status[hidden] { display: none; }
.wl-dl .wl-dl__ff .fluentform { margin: 0; }
.wl-dl .wl-dl__ff .ff-el-group { margin-bottom: 12px; }
.wl-dl .wl-dl__ff .ff-el-input--label label { font-size: 14px; font-weight: 600; color: #1a1a2e; margin-bottom: 6px; }
.wl-dl .wl-dl__ff .ff-el-form-control { box-sizing: border-box; width: 100%; font-family: inherit; font-size: 16px; padding: 14px 16px; border: 1.5px solid #d5d0f2; border-radius: 12px; color: #1a1a2e; background: #fff; box-shadow: none; }
.wl-dl .wl-dl__ff .ff-el-form-control:focus { outline: none; border-color: #6c4ee8; box-shadow: 0 0 0 3px rgba(108,78,232,.15); }
.wl-dl .wl-dl__ff .ff-btn-submit { width: 100%; cursor: pointer; background: #6c4ee8 !important; color: #fff !important; border: 0; padding: 16px 24px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: 16px; min-height: 48px; text-transform: none; letter-spacing: 0; box-shadow: none; }
.wl-dl .wl-dl__ff .ff-btn-submit:hover { background: #5a3fd1 !important; }
.wl-dl .wl-dl__ff .ff-el-is-error .ff-el-form-control { border-color: #c62839; }
.wl-dl .wl-dl__ff .error, .wl-dl .wl-dl__ff .text-danger { color: #c62839; font-size: 13px; margin-top: 6px; }
.wl-dl .wl-dl__ff .ff-message-success { display: none; }
