/* 유레카장 상담 신청 팝업 — 랜딩 외 페이지(블로그·프로세스) 공용 */
#ej-consult-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}
#ej-consult-modal.hidden{display:none}
body.ejm-open{overflow:hidden}

.ejm-backdrop{position:absolute;inset:0;background:rgba(5,10,20,.62);backdrop-filter:blur(3px);animation:ejmFade .18s ease}
.ejm-panel{position:relative;z-index:1;width:100%;max-width:480px;max-height:92vh;overflow-y:auto;
  background:#fff;border-radius:22px;padding:32px 30px 26px;
  box-shadow:0 24px 70px rgba(5,10,20,.34);animation:ejmUp .22s cubic-bezier(.22,1,.36,1);
  font-family:'Pretendard','Apple SD Gothic Neo','Noto Sans KR',-apple-system,BlinkMacSystemFont,sans-serif;
  color:#091426;-webkit-font-smoothing:antialiased}
@keyframes ejmFade{from{opacity:0}to{opacity:1}}
@keyframes ejmUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ejm-backdrop,.ejm-panel{animation:none}}

.ejm-x{position:absolute;top:14px;right:14px;width:38px;height:38px;border:0;border-radius:50%;
  background:#f1f3f7;color:#4a5568;font-size:15px;cursor:pointer;line-height:1}
.ejm-x:hover{background:#e5e8ee;color:#091426}

.ejm-panel h2{font-size:22px;font-weight:800;letter-spacing:-.5px;line-height:1.3;padding-right:34px;word-break:keep-all}
.ejm-sub{margin-top:10px;font-size:14.5px;line-height:1.65;color:#5a6478;word-break:keep-all}

#ejm-form{margin-top:22px;display:flex;flex-direction:column;gap:14px}
.ejm-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.ejm-intent>span{display:block;font-size:13.5px;font-weight:700;color:#2e3b50;margin-bottom:8px}
.ejm-intent>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ejm-intent-btn{height:46px;border:1.5px solid #dfe4ec;border-radius:12px;background:#fff;
  font-family:inherit;font-size:14.5px;font-weight:700;color:#5a6478;cursor:pointer;transition:all .15s}
.ejm-intent-btn:hover{border-color:#0d1a35}
.ejm-intent-btn.active{background:#0d1a35;border-color:#0d1a35;color:#fff}

.ejm-row{display:flex;flex-direction:column;gap:6px}
.ejm-row label{font-size:13.5px;font-weight:700;color:#2e3b50}
.ejm-row label span{color:#b42318;font-size:11.5px;margin-left:4px;font-weight:700}
.ejm-row label small{color:#8791a3;font-size:11.5px;margin-left:4px;font-weight:600}
.ejm-row input,.ejm-row textarea{border:1.5px solid #dfe4ec;border-radius:12px;padding:13px 14px;
  font-family:inherit;font-size:16px;color:#091426;background:#fbfcfe;outline:none;width:100%}
.ejm-row textarea{resize:vertical;line-height:1.6;min-height:78px}
.ejm-row input:focus,.ejm-row textarea:focus{border-color:#0d1a35;background:#fff}

.ejm-privacy{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.55;color:#5a6478;cursor:pointer;word-break:keep-all}
.ejm-privacy input{width:19px;height:19px;margin-top:1px;accent-color:#0d1a35;flex-shrink:0}

.ejm-result{display:none;font-size:14px;line-height:1.6;border-radius:11px;padding:12px 14px;word-break:keep-all}
.ejm-result.error{display:block;background:#fdecea;color:#b42318}
.ejm-result.success{display:block;background:#e7f6ec;color:#0a7a3d}

.ejm-submit{height:54px;border:0;border-radius:13px;background:#0d1a35;color:#fff;
  font-family:inherit;font-size:16.5px;font-weight:800;cursor:pointer;transition:background .15s}
.ejm-submit:hover:not(:disabled){background:#080f1e}
.ejm-submit:disabled{opacity:.62;cursor:default}
.ejm-note{text-align:center;font-size:12.5px;color:#8791a3}

@media(max-width:520px){
  #ej-consult-modal{padding:0;align-items:flex-end}
  .ejm-panel{max-width:100%;max-height:94vh;border-radius:22px 22px 0 0;padding:28px 20px 22px}
  .ejm-panel h2{font-size:20px}
}
