/* FRANFINANCE — finition premium, responsive, sans modifier la logique du plugin */
.ffec-portal{
 --ff-red:#b51f2b;--ff-red-dark:#7f1720;--ff-ink:#171923;--ff-muted:#747987;--ff-line:#e8e8ec;--ff-soft:#f7f7f9;
 max-width:1160px;margin:42px auto;padding:0 20px;color:var(--ff-ink);
 font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.01em
}
.ffec-portal *{box-sizing:border-box}
.ffec-login{max-width:500px;margin:54px auto;background:linear-gradient(145deg,#fff,#fcfbfb);border:1px solid #e9e5e5;border-radius:28px;padding:clamp(28px,5vw,48px);box-shadow:0 30px 80px rgba(24,22,26,.09),0 3px 12px rgba(24,22,26,.03)}
.ffec-brand{display:flex;align-items:center;gap:15px;font-size:10px;font-weight:850;letter-spacing:2.2px;color:var(--ff-ink)}
.ffec-brand b{width:50px;height:50px;display:grid;place-items:center;background:linear-gradient(145deg,#24232a,#8d1b25 72%,#c33a43);color:#fff;border-radius:16px;box-shadow:0 10px 24px rgba(145,26,36,.24);font-size:15px;letter-spacing:-.5px}
.ffec-login h2,.ffec-dashboard h2{font-size:clamp(27px,3.4vw,36px);line-height:1.16;margin:30px 0 10px;color:var(--ff-ink);letter-spacing:-1.1px;font-weight:750}
.ffec-login p,.ffec-panel>p,.ffec-dashboard header p{color:var(--ff-muted);font-size:14px;line-height:1.8}
.ffec-portal label{display:block;font-size:12px;font-weight:750;color:#343640;margin:19px 0}
.ffec-portal input{display:block;width:100%;margin-top:8px;border:1px solid #dedfe4;border-radius:13px;padding:14px 16px;min-height:50px;background:#fff;font:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s,background .2s}
.ffec-portal input:hover{border-color:#c8c9d0}
.ffec-portal input:focus{outline:0;border-color:var(--ff-red);background:#fff;box-shadow:0 0 0 4px rgba(181,31,43,.09)}
.ffec-portal button{width:100%;border:1px solid #8e1721;background:linear-gradient(120deg,#222129 0%,#74151e 55%,#b51f2b 100%);color:#fff;font:inherit;font-size:13px;font-weight:800;letter-spacing:.02em;border-radius:13px;padding:15px 19px;cursor:pointer;box-shadow:0 12px 25px rgba(125,24,33,.18);margin-top:12px;transition:transform .2s,filter .2s,box-shadow .2s}
.ffec-portal button:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 16px 30px rgba(125,24,33,.24)}
.ffec-portal button:active{transform:translateY(0)}.ffec-portal button span{float:right;font-size:20px;line-height:18px}
.ffec-login>small{display:block;text-align:center;color:var(--ff-muted);line-height:1.8;margin-top:24px;font-size:11px}
.ffec-alert{padding:15px 18px;background:#fff6f6;color:#861b24;border:1px solid #f0d0d2;border-radius:14px;margin-bottom:22px;font-size:13px}
.ffec-dashboard{display:block}
.ffec-dashboard header{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:28px;padding:8px 2px}
.ffec-dashboard header small{font-size:10px;font-weight:850;letter-spacing:2px;color:var(--ff-red)}
.ffec-dashboard header h2{margin:8px 0 7px}
.ffec-dashboard header p{margin:0}
.ffec-dashboard header a{border:1px solid #e3e3e8;border-radius:12px;padding:11px 16px;text-decoration:none;color:var(--ff-ink);font-size:12px;font-weight:800;background:#fff;white-space:nowrap;transition:.2s}
.ffec-dashboard header a:hover{border-color:var(--ff-red);color:var(--ff-red);box-shadow:0 6px 16px rgba(30,20,20,.05)}
.ffec-balance{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:clamp(30px,5vw,48px);border:1px solid rgba(255,255,255,.13);border-radius:26px;background:radial-gradient(ellipse at 90% 10%,rgba(255,255,255,.15),transparent 35%),linear-gradient(120deg,#191a22 0%,#30242a 45%,#7c1822 100%);color:#fff;box-shadow:0 22px 50px rgba(37,21,26,.18);margin:0 0 28px
}
.ffec-balance:after{content:"";position:absolute;z-index:-1;width:300px;height:300px;right:20px;top:-160px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 32px rgba(255,255,255,.025),0 0 0 68px rgba(255,255,255,.02),0 0 0 105px rgba(255,255,255,.015)}
.ffec-balance-copy{min-width:0}
.ffec-balance-kicker{display:block;font-size:10px;letter-spacing:2.2px;font-weight:850;color:#f0c8cb;margin-bottom:20px}
.ffec-balance small{display:block;color:rgba(255,255,255,.72);font-size:13px}
.ffec-balance strong{display:block;font-size:clamp(36px,5.3vw,54px);letter-spacing:-2px;line-height:1.1;margin:10px 0 12px;color:#fff;overflow-wrap:anywhere;font-weight:750}
.ffec-balance-caption{display:block;font-size:11px;line-height:1.7;color:rgba(255,255,255,.62)}
.ffec-balance-mark{width:76px;height:76px;flex:0 0 76px;border:1px solid rgba(255,255,255,.22);background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.06));border-radius:22px;display:grid;place-items:center;font-size:32px;font-weight:700;color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.12);backdrop-filter:blur(8px)}
.ffec-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}
.ffec-panel{min-width:0;background:linear-gradient(160deg,#fff,#fdfcfc);border:1px solid #e9e8ec;border-radius:22px;padding:clamp(22px,3vw,32px);box-shadow:0 10px 28px rgba(25,25,35,.045);transition:box-shadow .2s,border-color .2s}
.ffec-panel:hover{border-color:#dedce1;box-shadow:0 14px 34px rgba(25,25,35,.065)}
.ffec-panel-heading{display:flex;align-items:center;gap:14px;padding-bottom:21px;margin-bottom:8px;border-bottom:1px solid #efedf0}
.ffec-panel-heading h3{font-size:17px;line-height:1.35;margin:0;color:var(--ff-ink);letter-spacing:-.35px;font-weight:750}
.ffec-panel-heading p{font-size:12px;color:var(--ff-muted);margin:5px 0 0;line-height:1.6}
.ffec-panel-icon{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:15px;background:linear-gradient(145deg,#fff5f5,#f8e6e8);color:var(--ff-red);font-size:12px;font-weight:900;border:1px solid #f1d9db}
.ffec-info-list{margin:0}
.ffec-info-list>div{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:16px 0;border-bottom:1px solid #f0eff2}
.ffec-info-list>div:last-child{border-bottom:0}
.ffec-info-list dt{font-size:12px;line-height:1.65;color:var(--ff-muted);font-weight:600;flex:1;min-width:0}
.ffec-info-list dd{margin:0;text-align:right;font-size:13px;font-weight:750;line-height:1.65;color:var(--ff-ink);overflow-wrap:anywhere;max-width:58%}
.ffec-credit-info .ffec-info-list>div{display:block;padding:19px 0}
.ffec-credit-info .ffec-info-list dd{max-width:none;text-align:left;font-size:24px;letter-spacing:-.7px;color:var(--ff-red);margin-top:8px;font-weight:800}
.ffec-disclaimer{font-size:11px!important;color:#777b84!important;line-height:1.8!important;margin:20px 0 0!important;padding:14px 16px;border-left:2px solid #b51f2b;border-radius:0 10px 10px 0;background:#f8f7f8}
.ffec-panels{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:26px}
.ffec-panel form small{display:block;color:var(--ff-muted);font-size:11px;line-height:1.7;margin-top:13px}
.ffec-empty{padding:32px 10px;text-align:center;color:var(--ff-muted)}
.ffec-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:17px 0;border-bottom:1px solid var(--ff-line)}
.ffec-row>div{display:grid;gap:5px}.ffec-row span{font-size:13px;overflow-wrap:anywhere}.ffec-row small{color:var(--ff-muted);font-size:11px}
.ffec-row em{font-style:normal;font-size:10px;font-weight:850;letter-spacing:.02em;padding:7px 10px;border-radius:99px;background:#f1f1f4;color:var(--ff-ink);text-align:center}
.ffec-row .status-approved,.ffec-row .status-completed{background:#edf5ef;color:#28633c}.ffec-row .status-rejected{background:#fff0f1;color:var(--ff-red)}
.ffec-demo-progress{height:9px;width:100%;max-width:420px;background:#f0eff2;border:1px solid #e3e1e6;border-radius:999px;overflow:hidden;margin:10px 0 6px}
.ffec-demo-progress span{display:block;height:100%;background:linear-gradient(90deg,#27252c,#b51f2b);transition:width .25s ease}
.ffec-demo-transfer{align-items:flex-start}.ffec-demo-transfer>div{width:100%;min-width:0}
.ffec-demo-verify{max-width:420px;margin-top:12px;padding:16px;border:1px solid #edd2d4;border-radius:14px;background:#fffafa}
.ffec-demo-verify button{margin-top:0}.ffec-demo-transfer .ffec-demo-verify label{margin-top:0}
@media(max-width:760px){
 .ffec-portal{margin:22px auto;padding:0 12px}.ffec-login{padding:27px 22px;border-radius:23px}
 .ffec-profile-grid,.ffec-panels{grid-template-columns:1fr}.ffec-balance{padding:27px 22px;border-radius:21px}
 .ffec-balance-mark{width:54px;height:54px;flex-basis:54px;border-radius:16px;font-size:25px}
 .ffec-balance strong{font-size:34px;letter-spacing:-1.2px}.ffec-dashboard header{align-items:flex-start}
 .ffec-dashboard h2{font-size:26px}.ffec-info-list>div{gap:12px}.ffec-info-list dd{max-width:56%}
}
@media(max-width:420px){.ffec-dashboard header{flex-direction:column}.ffec-dashboard header a{align-self:flex-start}.ffec-balance-mark{display:none}.ffec-login h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){.ffec-portal *{transition:none!important;scroll-behavior:auto!important}}

/* FRANFINANCE — palette bleu électrique / nuit, intégration du visuel premium */
.ffec-portal{
 --ff-red:#149dff;--ff-red-dark:#006bd6;--ff-ink:#eaf4ff;--ff-muted:#a7c3e8;--ff-line:#183a63;--ff-soft:#06152b;
 color:var(--ff-ink);
}
.ffec-login{
 background:linear-gradient(145deg,#06152b 0%,#081d3b 58%,#031020 100%);
 border:1px solid rgba(37,159,255,.45);
 box-shadow:0 30px 90px rgba(0,48,120,.34),0 0 0 1px rgba(39,167,255,.08) inset;
}
.ffec-brand{color:#cce8ff}
.ffec-brand b{background:linear-gradient(145deg,#42caff,#0876f5 72%,#0049b8);box-shadow:0 10px 28px rgba(0,133,255,.3)}
.ffec-login h2,.ffec-dashboard h2{color:#f1f7ff}
.ffec-login p,.ffec-panel>p,.ffec-dashboard header p{color:#a7c3e8}
.ffec-portal label{color:#d4e8ff}
.ffec-portal input{border-color:#24466f;background:#0a1b32;color:#f2f8ff}
.ffec-portal input::placeholder{color:#8aa8d1}
.ffec-portal input:hover{border-color:#278fe9}
.ffec-portal input:focus{border-color:#20aaff;background:#0b203c;box-shadow:0 0 0 4px rgba(20,157,255,.14)}
.ffec-portal button{border-color:#168fff;background:linear-gradient(120deg,#27c4ff 0%,#078cff 54%,#0759ef 100%);box-shadow:0 12px 28px rgba(0,120,255,.26)}
.ffec-portal button:hover{box-shadow:0 16px 32px rgba(0,120,255,.34)}
.ffec-login>small{color:#9bbbe3}
.ffec-alert{background:#101f38;color:#b9dcff;border-color:#23558b}
.ffec-dashboard header small{color:#26aaff}
.ffec-dashboard header a{border-color:#24466f;color:#dceeff;background:#07182d}
.ffec-dashboard header a:hover{border-color:#159dff;color:#45baff}
.ffec-balance{background:radial-gradient(ellipse at 90% 10%,rgba(41,169,255,.22),transparent 35%),linear-gradient(120deg,#041329 0%,#082b58 48%,#006bd6 100%);box-shadow:0 22px 50px rgba(0,48,120,.25)}
.ffec-balance-kicker{color:#a9dcff}
.ffec-panel{background:linear-gradient(160deg,#081b34,#061328);border-color:#183a63;box-shadow:0 10px 28px rgba(0,15,40,.22)}
.ffec-panel:hover{border-color:#2265a5;box-shadow:0 14px 34px rgba(0,32,80,.3)}
.ffec-panel-heading{border-bottom-color:#183a63}
.ffec-panel-heading h3{color:#eaf4ff}
.ffec-panel-heading p{color:#a7c3e8}
.ffec-panel-icon{background:linear-gradient(145deg,#0a2a4b,#0b1d36);color:#36b7ff;border-color:#1a5a91}
.ffec-info-list>div{border-bottom-color:#153253}
.ffec-info-list dt{color:#a7c3e8}
.ffec-info-list dd{color:#eaf4ff}
.ffec-credit-info .ffec-info-list dd{color:#31b4ff}
.ffec-disclaimer{color:#a7c3e8!important;border-left-color:#149dff;background:#0a1b32}
.ffec-demo-progress{background:#0a1b32;border-color:#183a63}
.ffec-demo-progress span{background:linear-gradient(90deg,#25c3ff,#0875f5)}
.ffec-demo-verify{border-color:#1a5a91;background:#081b34}
.ffec-login-visual{margin:24px 0 26px;overflow:hidden;border-radius:18px;border:1px solid rgba(38,164,255,.45);background:#031020;box-shadow:0 16px 36px rgba(0,89,190,.2)}
.ffec-login-visual img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
@media(max-width:760px){.ffec-login-visual{margin:20px 0 22px;border-radius:13px}}
