/* ═══ FX·CFD 중개신청 ─ Figma 1Zd6qSv9DebJX4pq8troe8 ═══ */
/* 신청폼  → page-fx-cfd-form.php   ( .page-fxcfd-apply / .fx-* )  Figma 172:73 */
/* 목록    → page-fx-cfd-apply.php  ( .page-fxcfd      / .fxl-* ) Figma 418:1402 */

/* ───────── 공통 HERO (h=800) ───────── */
.page-fxcfd-apply,.page-fxcfd{position:relative;width:100%;background:#F8F9FB;color:#1A1A1A;overflow:hidden}
.page-fxcfd{--side-pad:440px}
.fx-hero{position:relative;height:400px;overflow:hidden;margin-top:97px}
.fx-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat}
.fx-hero-overlay{position:absolute;inset:0;background:rgba(255,255,255,.03);backdrop-filter:blur(3.5px);-webkit-backdrop-filter:blur(3.5px)}
.fx-hero-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:0 20px;z-index:2}
.fx-hero-title{font-size:44px;font-weight:800;line-height:54px;letter-spacing:1px;text-transform:uppercase;color:#FAFAFA;margin:0}
.fx-hero-sub{font-size:22px;font-weight:400;line-height:1.3;color:#FAFAFA;margin:0}

/* ═══════════════════════════════════════════ */
/*  신청 폼 페이지 (page-fx-cfd-form.php)        */
/* ═══════════════════════════════════════════ */

.fx-form-section{position:relative;min-height:1100px;padding:120px 0 80px}
.fx-form-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.08}
.fx-form-card{position:relative;width:850px;height:970px;margin:0 auto;background:#fff;box-shadow:0 4px 30px rgba(0,0,0,.1);border-radius:32px;z-index:2}

.fx-field{position:absolute;left:83px;width:684px}
.fx-field label{font-size:18px;font-weight:500;color:#1A1A1A;line-height:1.3;display:block;margin-bottom:18px}
.fx-req{color:#C00000}
.fx-field input,.fx-field select{width:100%;height:48px;border:0.93px solid rgba(26,26,26,.4);border-radius:8px;padding:0 19px;font-size:17px;font-family:'Pretendard JP',sans-serif;background:transparent;color:#1A1A1A;outline:none}
.fx-field textarea{width:100%;height:114px;border:0.93px solid rgba(26,26,26,.4);border-radius:8px;padding:13px 19px;font-size:17px;font-family:'Pretendard JP',sans-serif;background:transparent;color:#1A1A1A;outline:none;resize:none}
.fx-field textarea::placeholder,.fx-field input::placeholder{color:#B2B2B2;font-weight:500}

.fx-select-wrap{position:relative}
.fx-select-wrap select{appearance:none;-webkit-appearance:none;cursor:pointer;color:#1A1A1A;font-weight:500}
.fx-select-wrap select:invalid{color:#B2B2B2}
.fx-select-arrow{position:absolute;right:18px;top:50%;transform:translateY(-50%);color:#A6A6A6;font-size:11px;pointer-events:none}

.fx-field-row{position:absolute;left:83px;display:flex;gap:22px}
.fx-field-half{width:331px}
.fx-field-half label{font-size:18px;font-weight:500;color:#1A1A1A;line-height:1.3;display:block;margin-bottom:18px}
.fx-field-half input{width:100%;height:48px;border:0.93px solid rgba(26,26,26,.4);border-radius:8px;padding:0 19px;font-size:17px;font-family:'Pretendard JP',sans-serif;background:transparent;outline:none}

.fx-submit-btn{position:absolute;left:315px;width:220px;height:64px;background:#C00000;border:none;border-radius:13px;cursor:pointer;font-size:21px;font-weight:700;color:#fff;font-family:'Pretendard JP',sans-serif;transition:transform .15s, box-shadow .15s}
.fx-submit-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(192,0,0,.3)}


/* ═══════════════════════════════════════════ */
/*  목록 페이지 (page-fx-cfd-apply.php)          */
/* ═══════════════════════════════════════════ */

/* PROCESS — 5 circles */
.fxl-process{position:relative;padding:200px 0 84px;background:#F8F9FB}
.fxl-process::before{content:"";position:absolute;left:0;right:0;top:200px;height:84px;background-image:url('assets/images/pages/fxstep-line.png');background-position:center;background-repeat:no-repeat;background-size:1360px 3px;pointer-events:none;z-index:0}
.fxl-process-inner{position:relative;z-index:1;display:flex;justify-content:center;align-items:flex-start;gap:110px;max-width:1920px;margin:0 auto;padding:0 var(--side-pad)}
.fxl-step{display:flex;flex-direction:column;align-items:center;width:160px;text-align:center}
.fxl-circle{width:84px;height:84px;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;z-index:1}
.fxl-circle img{display:block;width:40px;height:40px;object-fit:contain;margin:0}
.fxl-process-inner > .fxl-step:nth-child(1) .fxl-circle img,
.fxl-process-inner > .fxl-step:nth-child(2) .fxl-circle img{transform:translateX(3px)}
.fxl-process-inner > .fxl-step:nth-child(5) .fxl-circle img{width:46px;height:46px}
.fxl-step-no{margin-top:24px;font-size:14px;font-weight:400;line-height:18px;color:rgba(26,26,26,.4)}
.fxl-step-title{margin-top:6px;font-size:20px;font-weight:700;line-height:26px;color:#438CAF}
.fxl-step-desc{margin-top:14px;font-size:13.5px;font-weight:400;line-height:20px;color:#1A1A1A;letter-spacing:-.3px;word-break:keep-all;line-break:strict}

/* 4 STAT CARDS */
.fxl-stats{padding:40px 0 70px;background:#F8F9FB}
.fxl-stats-inner{display:flex;justify-content:center;gap:36px;max-width:1920px;margin:0 auto;padding:0 var(--side-pad)}
.fxl-stat-card{position:relative;width:218px;height:180px;background:#FFFFFF;box-shadow:0 0 16px rgba(0,0,0,.10);border-radius:18px}
.fxl-stat-label{position:absolute;left:32px;top:36px;margin:0;line-height:1;white-space:nowrap}
.fxl-stat-label span{display:inline-block;font-size:17px;font-weight:500;line-height:1;color:#1A1A1A;padding-bottom:9px;border-bottom:2px solid #1A1A1A}
.fxl-stat-num{position:absolute;left:32px;top:92px;margin:0;font-size:64px;font-weight:700;line-height:1;color:#0047AB;white-space:nowrap;display:flex;align-items:baseline;gap:5px}
.fxl-stat-num span{font-size:24px;font-weight:500;color:#0047AB}

/* SUB TEXT */
.fxl-subtext{padding:0 var(--side-pad) 56px;text-align:center;background:#F8F9FB}
.fxl-subtext p{max-width:760px;margin:0 auto;font-size:20px;font-weight:600;line-height:30px;color:#1A1A1A}

/* CTA BANNER */
.fxl-cta{padding:0 var(--side-pad) 64px;background:#F8F9FB}
.fxl-cta-card{position:relative;width:100%;max-width:1040px;height:190px;margin:0 auto;background-color:#00064B;background-image:url('assets/images/pages/fxcta-bg.png');background-size:cover;background-position:center;background-repeat:no-repeat;border-radius:18px;display:flex;align-items:center;justify-content:space-between;padding:0 56px 0 60px;overflow:hidden}
.fxl-cta-text h3{margin:0;font-size:24px;font-weight:700;line-height:30px;color:#FFFFFF}
.fxl-cta-text p{margin:10px 0 0;font-size:16px;font-weight:400;line-height:26px;color:#FFFFFF}
.fxl-cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;width:218px;height:64px;background:#FAFAFA;border-radius:9px;color:#00064B;font-size:22px;font-weight:700;text-decoration:none;cursor:pointer;transition:transform .15s, box-shadow .15s;flex-shrink:0}
.fxl-cta-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.fxl-cta-arrow{display:inline-block;width:11px;height:11px;border-right:2.5px solid #00064B;border-bottom:2.5px solid #00064B;transform:rotate(-45deg);margin-left:3px}

/* APPLICATION LIST */
.fxl-list{padding:0 var(--side-pad);background:#F8F9FB;height:600px;box-sizing:border-box}
.fxl-list-inner{position:relative;width:100%;max-width:1040px;margin:0 auto}
.fxl-list-top{height:2px;background:#000B83}
.fxl-list-bottom{height:3px;background:#000B83}
.fxl-row{display:grid;grid-template-columns:50px 70px 1fr 70px 90px 90px;align-items:center;column-gap:36px;height:48px;border-bottom:0.5px solid rgba(26,26,26,.7)}
.fxl-row:last-of-type{border-bottom:none}
.fxl-row-no{font-size:14px;font-weight:400;color:rgba(26,26,26,.7);text-align:center}
.fxl-row-cat{font-size:15px;font-weight:600;color:#0047AB;text-align:center}
.fxl-row-title{font-size:17px;font-weight:600;color:#1A1A1A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fxl-row-author{font-size:15px;font-weight:600;color:rgba(26,26,26,.5);text-align:center}
.fxl-row-date{font-size:13px;font-weight:400;color:#1A1A1A;text-align:right}
.fxl-row-badge{justify-self:center;display:inline-flex;align-items:center;justify-content:center;width:72px;height:28px;border-radius:4.5px;font-size:14px;font-weight:700;line-height:1}

/* PAGINATION */
.fxl-pagination{display:flex;justify-content:center;align-items:center;gap:11px;margin-top:24px;padding-bottom:0}
.fxl-pg-btn,.fxl-pg-num{background:transparent;border:none;cursor:pointer;font-size:15px;color:#1A1A1A;padding:6px 10px;font-family:inherit;line-height:1}
.fxl-pg-num{min-width:28px;height:28px;border-radius:50%}
.fxl-pg-num.fxl-pg-active{background:#00064B;color:#FFFFFF}
.fxl-pg-dots{font-size:15px;color:#1A1A1A;padding:0 3px;line-height:28px}

/* NOTICE */
.fxl-notice{padding:0 0 80px;background:#F8F9FB}
.fxl-notice-inner{width:100%;max-width:1040px;margin:0 auto;padding:0 var(--side-pad);box-sizing:content-box}
.fxl-notice-title{margin:0;font-size:20px;font-weight:600;line-height:1;color:#1A1A1A}
.fxl-notice-list{margin:20px 0 0;padding-left:20px;list-style:disc;color:#1A1A1A;max-width:760px}
.fxl-notice-list li{font-size:16px;font-weight:400;line-height:32px;color:#1A1A1A;padding-left:4px}
.fxl-notice-list li::marker{color:#1A1A1A;font-size:14px}
.fxl-notice-body{margin:20px 0 0;max-width:580px;font-size:16px;font-weight:400;line-height:32px;color:#1A1A1A}

/* RESPONSIVE — 목록 페이지 */

/* 신청 접수 성공 배너 */
.fx-success-banner{background:#E7FAEF;color:#027A48;border:1px solid #A6E5BD;border-radius:10px;padding:18px 24px;margin:30px var(--side-pad,440px);text-align:center;font-size:16px;line-height:1.5}
.fx-success-banner p{margin:0}
.fx-success-banner strong{color:#016B3A;margin-right:6px}

/* row as anchor */
a.fxl-row{text-decoration:none;color:inherit;cursor:pointer}
a.fxl-row:hover{background:rgba(0,11,131,.025)}

/* pagination as anchors — identical look to original buttons */
a.fxl-pg-btn,a.fxl-pg-num{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#1A1A1A}
a.fxl-pg-num.fxl-pg-active{background:#00064B;color:#FFFFFF}
a.fxl-pg-btn:hover,a.fxl-pg-num:hover{color:#000B83}

/* Step 3 icon center correction */
.fxl-process-inner > .fxl-step:nth-child(3) .fxl-circle img{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) !important;width:40px;height:40px}
