/* Styles inspired by CheapSSLWeb: orange CTA, dark headings, airy white card */
#ebook-popup-overlay{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(17,24,39,0.65);display:flex;align-items:center;justify-content:center;z-index:99999;}
#ebook-popup-overlay.ebook-hidden{display:none;}
#ebook-popup-card{background:#ffffff;width:880px;max-width:94%;border-radius:8px;display:flex;overflow:hidden;box-shadow:0 20px 60px rgba(2,6,23,0.6);font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; position: relative;}
.ebook-left{padding:36px 40px;flex:1 1 52%;}
.eyebrow{display:inline-block;font-weight:700;letter-spacing:0.6px;margin-bottom:8px; color: #00b373;}
.lead-p{color:#475569;margin-bottom:18px;}
.field{margin-bottom:12px;}
.field input{width:100%;padding:12px 14px;border:1px solid #e6eef6;border-radius:6px;}
.ebook-right{width:40%;min-width:220px;background:linear-gradient(90deg,#fff 0%, #fffaf6 100%);display:flex;align-items:center;justify-content:center;padding:20px;}
.ebook-title{color: #2e3d80;}
#ebook-popup-close{ position: absolute; right: 0; top: 0; background: #00b373; border: none; color: #fff; padding: 10px; cursor: pointer; line-height: 1; }
.ebook-msg{margin-top:6px;}
.ebook-error{color:#d92d20;font-size:13px;margin-top:4px;}
@media(max-width:720px){#ebook-popup-card{flex-direction:column;} .ebook-right{width:100%;padding:24px;} .ebook-left{padding:24px;}}
input.form-control:focus, input.form-control:focus-visible { box-shadow: none; border-color: var(--color-blue); }