/* bookNgoods Free Resources: sign-up dialog */
.fn-open{overflow:hidden}
.fn-backdrop{position:fixed;inset:0;background:rgba(30,20,8,.55);display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}
.fn-backdrop[hidden]{display:none}
.fn-dialog{position:relative;background:#fffdf8;border:1px solid #e5d3ad;border-radius:10px;max-width:480px;width:100%;max-height:92vh;overflow:auto;padding:24px 24px 20px;box-shadow:0 10px 40px rgba(0,0,0,.25)}
.fn-dialog h2{font-family:"Crimson Text",Georgia,serif;color:#5a3a12;font-size:28px;line-height:1.15;margin:0 30px 8px 0}
.fn-close{position:absolute;top:8px;right:10px;width:44px;height:44px;border:0;background:none;font-size:30px;color:#6b5a45;cursor:pointer}
.fn-lead{margin:0 0 14px;color:#4a3c2c}
.fn-row{margin:0 0 12px}
.fn-row label{display:block;font-weight:600;font-size:15px;color:#2d241a}
.fn-row input,.fn-row select{display:block;width:100%;margin-top:4px;padding:10px 12px;font:16px "Source Sans 3",system-ui,sans-serif;border:1px solid #cdb98f;border-radius:6px;background:#fff;color:#2d241a}
.fn-row input:focus,.fn-row select:focus{outline:2px solid #b08a46;outline-offset:1px}
.fn-row small{color:#6b5a45;font-size:13px}
.fn-consent{border:1px solid #e5d3ad;border-radius:6px;padding:10px 12px 4px;margin:4px 0 12px;background:#fff}
.fn-consent-h{font-size:14px;font-weight:600;color:#5a3a12;margin:0 0 8px}
.fn-check{display:block;position:relative;padding-left:32px;margin:0 0 10px;min-height:22px}
.fn-check input{position:absolute;left:0;top:1px;width:20px;height:20px;margin:0;accent-color:#5a3a12;cursor:pointer}
.fn-check label{display:block;font-size:15px;line-height:1.4;color:#2d241a;cursor:pointer}
.fn-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.fn-error{background:#fbe9e7;border:1px solid #e0a59b;color:#7a2318;border-radius:6px;padding:8px 12px;margin:0 0 12px}
.fn-submit,.fn-dialog .btn{width:100%;border:0;font-size:17px;padding:12px 14px;cursor:pointer}
.fn-submit[disabled]{opacity:.6;cursor:wait}
.fn-small{font-size:13px;color:#6b5a45;margin:12px 0 0}
.fn-small a{color:#5a3a12}
.fn-banner{background:#eef6e9;border:1px solid #9cc38a;color:#24441b;border-radius:6px;padding:10px 14px;max-width:640px;margin:14px auto 0;font-size:16px}
.fn-accept{margin:0 0 14px}
.fn-accept label{font-size:15px}
.fn-accept a{color:#5a3a12}
.fn-req{color:#8a6a35;font-size:13px}
/* Terms / Privacy shown on top of the form */
.fn-dialog.fn-wide{max-width:760px;height:92vh;overflow:hidden}
.fn-doc{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;background:#fffdf8;border-radius:10px;overflow:hidden}
.fn-doc-bar{display:flex;align-items:center;gap:12px;padding:8px 12px;border-bottom:1px solid #e5d3ad;background:#f7f1e6}
.fn-doc-bar .fn-doc-back{border:1px solid #c9a96b;background:#fffdf8;color:#5a3a12;border-radius:6px;padding:8px 12px;font:600 15px "Source Sans 3",system-ui,sans-serif;cursor:pointer;min-height:44px}
.fn-doc-title{font:600 18px "Crimson Text",Georgia,serif;color:#5a3a12;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fn-doc-frame{flex:1;width:100%;border:0;background:#f7f1e6}
.fn-doc-foot{padding:10px 12px;border-top:1px solid #e5d3ad;text-align:center;background:#f7f1e6}
