.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);display:none;align-items:center;justify-content:center;z-index:9999;}
.modal-overlay.show{display: flex;}
.modal-box{background: #fff;

 width: 90%;

 max-width: 420px;

 border-radius: 16px;

 box-shadow: 0 10px 40px rgba(0,0,0,0.15);

 overflow: hidden;

 animation: modalFadeIn 0.3s ease;}
.modal-header{background: #103488;

 color: #fff;

 padding: 20px 24px;

 position: relative;}
.modal-header h3{margin: 0;

 font-size: 20px;

 font-weight: 600;}
.modal-header p{margin: 8px 0 0;

 font-size: 14px;

 opacity: 0.9;}
.modal-close{position: absolute;

 top: 16px;

 right: 20px;

 font-size: 24px;

 color: #fff;

 background: transparent;

 border: none;

 cursor: pointer;

 opacity: 0.8;

 transition: opacity 0.2s;}
.modal-close:hover{opacity: 1;}
.modal-body{padding: 24px;}
.modal-footer{padding: 0 24px 24px;

 display: flex;

 gap: 12px;

 justify-content: flex-end;}
.modal-btn{padding: 12px 28px;

 border-radius: 8px;

 font-size: 16px;

 font-weight: 500;

 cursor: pointer;

 transition: all 0.2s;

 border: none;}
.modal-btn.cancel{background: #f0f0f0;

 color: #333;}
.modal-btn.cancel:hover{background: #e0e0e0;}
.modal-btn.submit{background: #103488;

 color: #fff;}
.modal-btn.submit:hover{background: #103488;}


/* ===== 下载方案 PDF 弹窗美化：对齐联系我们深色表单风格（ID 作用域，优先级最高） ===== */
#downloadModal .modal-box{background:#0d2436;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:16px;max-width:480px;width:92%;box-shadow:0 24px 64px rgba(0,0,0,.45);overflow:hidden;animation:modalFadeIn .25s ease;}
#downloadModal .modal-header{background:transparent;color:#fff;padding:22px 24px 0;position:relative;}
#downloadModal .modal-header h3{margin:0 0 6px;font-size:20px;font-weight:600;color:#fff;}
#downloadModal .modal-header p{margin:0;padding-bottom:14px;font-size:13px;color:rgba(255,255,255,.6);}
#downloadModal .modal-close{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;font-size:18px;line-height:30px;color:rgba(255,255,255,.7);background:rgba(255,255,255,.08);border:none;cursor:pointer;transition:.2s;}
#downloadModal .modal-close:hover{background:rgba(255,255,255,.16);color:#fff;}
#downloadModal .modal-body{padding:6px 24px 2px;}
#downloadModal .form-group{margin-bottom:13px;}
#downloadModal .form-group label{display:block;color:rgba(255,255,255,.85);font-size:13px;margin-bottom:6px;}
#downloadModal .form-group .required{color:#3d5cb8;}
#downloadModal .form-group input{display:block;width:100%;box-sizing:border-box;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#fff;font-size:14px;padding:10px 12px;outline:none;transition:.2s;font-family:inherit;}
#downloadModal .form-group input:focus{border-color:#3d5cb8;background:rgba(255,255,255,.1);}
#downloadModal .form-group ::placeholder{color:rgba(255,255,255,.42);opacity:1;}
#downloadModal .error-text{display:none;color:#f87171;font-size:12px;margin-top:5px;}
#downloadModal .modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:10px 24px 24px;}
#downloadModal .modal-btn{border-radius:8px;padding:11px 24px;font-size:14px;cursor:pointer;transition:.2s;}
#downloadModal .modal-btn.cancel{background:transparent;color:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.22);}
#downloadModal .modal-btn.cancel:hover{background:rgba(255,255,255,.08);}
#downloadModal .modal-btn.submit{background:#e8edf7;color:#12222e;font-weight:600;border:none;}
#downloadModal .modal-btn.submit:hover{filter:brightness(1.06);}
#downloadModal .modal-btn.submit:disabled{opacity:.6;cursor:not-allowed;}


/* ==== align-2026-11: rapiddirect 风格 —— 点缀色切换为 logo 蓝（扁平纯色按钮） ==== */
:root{--gold:#103488 !important;--gold-light:#3d5cb8 !important;--gold-dark:#0b2766 !important;--shadow-gold:0 6px 16px rgba(16,52,136,.16) !important;}
.btn-gold{background:#103488 !important;box-shadow:0 6px 16px rgba(16,52,136,.16) !important;}
.btn-gold:hover{background:#0b2766 !important;box-shadow:0 10px 24px rgba(16,52,136,.20) !important;}
.btn-ghost:hover,.btn-outline:hover{background:#103488 !important;border-color:#103488 !important;}
