/* Bank iD EUDI Wallet demo — extracted styles for Thymeleaf/Spring templates */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ---- atomics (used across templates) ---- */
.fx{display:flex}.col{flex-direction:column}.grid{display:grid}
.ac{align-items:center}.jc{justify-content:center}.jb{justify-content:space-between}
.f1{flex:1}.noshrink{flex-shrink:0}.wrap{flex-wrap:wrap}
.fw5{font-weight:500}.fw6{font-weight:600}.fw7{font-weight:700}.fw8{font-weight:800}
.fs11{font-size:11px}.fs12{font-size:12px}.fs13{font-size:13px}.fs14{font-size:14px}.fs15{font-size:15px}.fs16{font-size:16px}.fs20{font-size:20px}.fs22{font-size:22px}
.upper{text-transform:uppercase}.tc{text-align:center}.nowrap{white-space:nowrap}
.gap8{gap:8px}.gap10{gap:10px}.gap12{gap:12px}.gap16{gap:16px}.gap24{gap:24px}.gap28{gap:28px}
.m0{margin:0}.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mb8{margin-bottom:8px}.mb12{margin-bottom:12px}.mb16{margin-bottom:16px}
.posrel{position:relative}.posabs{position:absolute}.round{border-radius:50%}.ohide{overflow:hidden}.pointer{cursor:pointer}.w100{width:100%}.b0{border:0}

/* ---- base ---- */
body{background:#EDEEF1;font-family:'Inter',sans-serif;color:#262626;margin:0}
h1,h2,h3,.head{font-family:'Poppins',sans-serif}
a{color:#0F6DFA;text-decoration:none}
a:hover{color:#0a52c4;text-decoration:underline}
.stage{display:flex;justify-content:center;padding:48px 20px}
.page{width:1180px;background:#fff;border-radius:20px;box-shadow:0 30px 60px -20px rgba(0,0,0,.18);overflow:hidden;margin:0 auto}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:100px;font-size:12px;font-weight:500;background:#F0F0F0;color:#262626}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:10px;font-weight:600;font-size:14px;border:none;cursor:pointer;font-family:'Inter',sans-serif}
.btn-black{background:#000;color:#fff}
.btn-black:hover{background:#262626;color:#fff}
.btn-outline{background:#fff;color:#262626;border:1px solid #E6E6E6}
.btn-outline:hover{border-color:#999;text-decoration:none}
.card{background:#fff;border:1px solid #E6E6E6;border-radius:14px}
.section-label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#999}
details>summary{list-style:none;cursor:pointer}
details>summary::-webkit-details-marker{display:none}

/* header */
.hero{background:#0B0B0C;color:#fff;padding:26px 44px}
.hero-top{display:flex;justify-content:space-between;align-items:center}
.modeseg{display:inline-flex;background:rgba(255,255,255,.08);border-radius:100px;padding:3px}
.modeseg a{padding:8px 18px;border-radius:100px;font-size:13px;font-weight:600;color:#C9C9CC;display:inline-block}
.modeseg a.on{background:#fff;color:#000}
.modeseg a:hover{text-decoration:none}

/* stepper */
.stepper{display:flex;align-items:flex-start;justify-content:center;gap:0;margin:36px auto 8px;max-width:640px}
.step-item{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;position:relative}
.step-line{position:absolute;top:14px;left:-50%;width:100%;height:2px;background:#F0F0F0;z-index:0}
.step-line.done{background:#0F6DFA}
.step-dot{width:28px;height:28px;border-radius:50%;background:#F0F0F0;color:#999;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;z-index:1}
.step-dot.done{background:#0F6DFA;color:#fff}
.step-dot.current{background:#000;color:#fff}
.step-label{font-size:12px;font-weight:600;color:#999}
.step-label.active{color:#262626}

/* business flow */
.flowbody{padding:20px 60px 56px;max-width:900px;margin:0 auto}
.flowhead{text-align:center;margin-bottom:32px}
.consentcard{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 20px;border:1px solid #E6E6E6;border-radius:12px;margin-bottom:10px}
.checkbox-visual{width:22px;height:22px;border-radius:6px;border:2px solid #E6E6E6;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;color:#fff}
.checkbox-visual.on{background:#0F6DFA;border-color:#0F6DFA}
.qrbox{width:240px;height:240px;flex-shrink:0;border-radius:16px;border:1px solid #E6E6E6;object-fit:cover;background:#F9FAFB}
.checkring{width:72px;height:72px;border-radius:50%;background:#0F6DFA;color:#fff;display:flex;align-items:center;justify-content:center;font-size:32px;margin:0 auto 20px}
.chromewin{width:100%;max-width:640px;border-radius:10px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.35);margin:0 auto}
.chromebar{height:44px;background:#35363a;display:flex;align-items:center;padding:0 14px;gap:8px}
.chromedot{width:12px;height:12px;border-radius:50%}
.chromeurl{flex:1;height:30px;border-radius:15px;background:#282a2d;color:#e8eaed;display:flex;align-items:center;padding:0 14px;font-size:13px;margin-left:8px}

/* dev config page */
.devhead{padding:28px 44px;border-bottom:1px solid #E6E6E6;display:flex;justify-content:space-between;align-items:center}
.jump{display:flex;gap:8px;padding:14px 44px;border-bottom:1px solid #E6E6E6;background:#F9FAFB;flex-wrap:wrap}
.jump a{background:#fff;border:1px solid #E6E6E6;border-radius:100px;padding:7px 14px;font-size:13px;font-weight:600;color:#262626}
.jump a:hover{border-color:#0F6DFA;color:#0F6DFA;text-decoration:none}
.devbody{padding:32px 44px 48px}
.note{background:#F0EFFD;border-radius:12px;padding:16px 20px;font-size:14px;color:#3a3560;margin-bottom:26px}
.scopecard{border:1px solid #E6E6E6;border-radius:12px;margin-bottom:10px;overflow:hidden}
.scopehead{padding:14px 18px;display:flex;align-items:center;gap:12px;background:#fff}
.claims{padding:14px 18px 18px;background:#F9FAFB;border-top:1px solid #E6E6E6;display:flex;flex-wrap:wrap;gap:8px}
.claimrow{padding:6px 0;border-bottom:1px solid #F0F0F0;display:flex;justify-content:space-between}
.attest{border:1px solid #E6E6E6;border-radius:14px;padding:22px;margin-bottom:16px}
.attest-head{display:flex;justify-content:space-between;align-items:center}
.demorow{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #F0F0F0}
.demorow:last-child{border-bottom:none}
.toggle-visual{width:40px;height:22px;border-radius:100px;background:#E6E6E6;position:relative;flex-shrink:0;display:inline-block}
.toggle-visual.on{background:#0F6DFA}
.toggle-visual .knob{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff}
.toggle-visual.on .knob{left:20px}
