/* PAYATE — IBAN Generator & Format. Scoped under #ibc. */
@font-face{font-family:"PoppinsFB";src:local("Segoe UI Semibold"),local("Segoe UI"),local("Roboto Medium"),local("Roboto"),local("Helvetica Neue"),local("Arial");size-adjust:107%;ascent-override:98%;descent-override:32.7%;line-gap-override:0%}
body{margin:0;background:#f4f7fb;color:#14233c;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
#ibc{max-width:900px;margin:0 auto;padding:10px 16px 40px}
#ibc *{box-sizing:border-box}
#ibc h1,#ibc h2{font-family:Poppins,"PoppinsFB",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}

#ibc .ibc-banner{display:flex;align-items:center;gap:16px;padding:18px 20px;margin:26px 0 18px;background:#fff;border:1px solid #e6ecf5;border-radius:14px;box-shadow:0 1px 2px rgba(15,27,45,.05)}
#ibc .ibc-banner-icon{width:52px;height:52px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#2a72e6,#1a59c1);color:#fff;box-shadow:0 6px 16px rgba(29,100,216,.32)}
#ibc .ibc-banner-icon svg{width:26px;height:26px;display:block}
#ibc .ibc-banner-title{margin:0 0 5px;font-weight:700;font-size:22px;line-height:1.22;color:#0f1b2d}
#ibc .ibc-banner-desc{margin:0;font-weight:500;font-size:14.5px;line-height:1.5;color:#4a5b73}

#ibc .ibc-card,#ibc .ibc-dir{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:22px;margin:0 0 16px;box-shadow:0 1px 2px rgba(15,27,45,.05)}
#ibc .ibc-lbl{display:block;font-weight:600;font-size:12.5px;color:#5a6b83;margin:0 0 7px;text-transform:uppercase;letter-spacing:.04em}
#ibc .ibc-row{display:flex;gap:10px;flex-wrap:wrap}
#ibc .ibc-row select{flex:1 1 260px;min-width:0;padding:13px 15px;border:1.5px solid #d7deea;border-radius:11px;font-size:15px;background:#fbfcfe;color:#14233c}
#ibc .ibc-btn{flex:0 0 auto;background:#1d64d8;color:#fff;border:0;border-radius:11px;padding:13px 24px;font:600 15px/1 Poppins,sans-serif;cursor:pointer}
#ibc .ibc-btn:hover{background:#1550b4}
#ibc .ibc-outrow{display:flex;gap:10px;align-items:stretch}
#ibc .ibc-out{flex:1 1 auto;min-width:0;font:700 18px/1.4 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.08em;color:#0f1b2d;background:#eef4ff;border:1px solid #d6e4ff;border-radius:11px;padding:13px 15px;display:flex;align-items:center;word-break:break-all}
#ibc .ibc-copy{flex:0 0 auto;background:#f1f6fc;border:1px solid #d6e4ff;color:#1d64d8;border-radius:10px;padding:0 18px;font-weight:600;font-size:14px;cursor:pointer}
#ibc .ibc-copy:hover{background:#e4eeff}
#ibc .ibc-seg{display:flex;flex-wrap:wrap;gap:6px;font:700 15px/1 ui-monospace,Menlo,Consolas,monospace;margin:16px 0 14px}
#ibc .ibc-sg{padding:10px 12px;border-radius:8px;color:#fff;letter-spacing:.05em;word-break:break-all}
#ibc .ibc-sg-c{background:linear-gradient(135deg,#2a72e6,#1a59c1)}
#ibc .ibc-sg-k{background:linear-gradient(135deg,#1fc27a,#12a263)}
#ibc .ibc-sg-b{background:linear-gradient(135deg,#8b6cff,#6d47f0)}
#ibc .ibc-kv{width:100%;border-collapse:collapse}
#ibc .ibc-kv th,#ibc .ibc-kv td{text-align:left;padding:11px 12px;border-bottom:1px solid #eef2f8;font-size:14px;vertical-align:top}
#ibc .ibc-kv th{width:150px;font-weight:600;color:#5a6b83;white-space:nowrap}
#ibc .ibc-kv tr:last-child th,#ibc .ibc-kv tr:last-child td{border-bottom:0}
#ibc .ibc-mut{color:#7486a0;font-size:12.5px}
#ibc .ibc-bban{font-family:ui-monospace,Menlo,Consolas,monospace;word-break:break-all}

#ibc .ibc-dirhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
#ibc .ibc-dirhead h2{margin:0;font-size:18px;color:#0f1b2d}
#ibc .ibc-stat{margin:0;display:flex;flex-wrap:wrap;gap:8px}
#ibc .ibc-stat span{font-size:12.5px;color:#4a5b73;background:#f1f6fc;border:1px solid #e3edf9;border-radius:999px;padding:4px 11px}
#ibc .ibc-stat strong{color:#1d64d8}
#ibc .ibc-filter{margin:0 0 14px}
#ibc .ibc-filter input{width:100%;padding:11px 14px;border:1.5px solid #d7deea;border-radius:10px;font:400 14px system-ui,sans-serif;color:#14233c;background:#fbfcfe;outline:none}
#ibc .ibc-filter input:focus{border-color:#1d64d8;background:#fff;box-shadow:0 0 0 3px rgba(29,100,216,.12)}
#ibc .ibc-block{margin:0 0 12px;border:1px solid #e6ecf5;border-radius:12px;overflow:hidden;background:#fbfcfe}
#ibc .ibc-block:last-of-type{margin-bottom:0}
#ibc .ibc-head{display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;list-style:none;font-size:14px;font-weight:700;color:#0f1b2d;text-transform:uppercase;letter-spacing:.05em;user-select:none}
#ibc .ibc-head::-webkit-details-marker{display:none}
#ibc .ibc-head:hover{background:#f3f7fd}
#ibc .ibc-chev{display:inline-flex;color:#1d64d8;transition:transform .18s ease}
#ibc .ibc-block[open] .ibc-chev{transform:rotate(90deg)}
#ibc .ibc-contname{flex:1}
#ibc .ibc-contn{font-size:11px;font-weight:700;color:#1d64d8;background:#eef4ff;border:1px solid #d6e4ff;border-radius:999px;padding:2px 9px}
#ibc .ibc-tablewrap{overflow-x:auto;border-top:1px solid #eef2f8}
#ibc .ibc-table{width:100%;border-collapse:collapse;font-size:14px}
#ibc .ibc-table th,#ibc .ibc-table td{text-align:left;padding:11px 14px;border-bottom:1px solid #eef2f8}
#ibc .ibc-table thead th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#7486a0;font-weight:700;background:#f7f9fc}
#ibc .ibc-table tbody tr:last-child td{border-bottom:0}
#ibc .ibc-table tbody tr:hover{background:#f6f9fe}
#ibc .ibc-cname{font-weight:600;color:#14233c}
#ibc .ibc-iso{display:inline-block;font-size:11px;font-weight:700;color:#5a6b83;background:#eef2f8;border-radius:5px;padding:2px 7px}
#ibc .ibc-use{color:#1d64d8;text-decoration:none;font-weight:600}
#ibc .ibc-use:hover{text-decoration:underline}
#ibc .ibc-no{color:#9aa8bd;font-size:13px}
#ibc .ibc-empty{color:#7486a0;font-size:14px;padding:16px 4px;margin:0}

#ibc .ibc-faq{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:20px 22px;margin:0 0 16px;box-shadow:0 1px 2px rgba(15,27,45,.05)}
#ibc .ibc-faq h2{margin:0 0 10px;font-size:19px;color:#0f1b2d}
#ibc .ibc-faq details{border-top:1px solid #eef2f8;padding:2px 0}
#ibc .ibc-faq details:first-of-type{border-top:0}
#ibc .ibc-faq summary{cursor:pointer;list-style:none;padding:13px 26px 13px 2px;position:relative;font-weight:600;font-size:14.5px;color:#14233c}
#ibc .ibc-faq summary::-webkit-details-marker{display:none}
#ibc .ibc-faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:18px;color:#7486a0}
#ibc .ibc-faq details[open] summary::after{content:"\2212"}
#ibc .ibc-faq details p{margin:0 2px 13px;font-size:13.5px;line-height:1.7;color:#4a5b73}
#ibc .ibc-faq details p a{color:#1550b4}
#ibc .ibc-faq code{background:#eef2f8;border-radius:5px;padding:1px 6px;font-size:12.5px;font-family:ui-monospace,Menlo,Consolas,monospace}

.pyt-rel{max-width:900px;margin:16px auto;padding:20px 22px;background:#fff;border:1px solid #e6ecf5;border-radius:14px;box-shadow:0 1px 2px rgba(15,27,45,.05);font-family:Poppins,"PoppinsFB",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#14233c}
.pyt-rel h2{margin:0 0 12px;font-size:18px;color:#0f1b2d}
.pyt-rel .prg{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.pyt-rel a{display:block;text-decoration:none;border:1px solid #e6ecf5;border-radius:10px;padding:12px 14px;background:#fbfcfe;transition:border-color .15s,background .15s}
.pyt-rel a:hover{border-color:#1d64d8;background:#f2f7ff}
.pyt-rel .prt{display:block;font-weight:600;font-size:14px;color:#14233c;margin-bottom:2px}
.pyt-rel .prd{display:block;font-size:12px;line-height:1.4;color:#5a6782}

@media (max-width:640px){#ibc .ibc-banner{padding:16px}#ibc .ibc-banner-title{font-size:19px}#ibc .ibc-btn{flex:1 1 100%}#ibc .ibc-kv th{width:120px}}

/* dark mode */
html[data-theme="dark"] body{background:#0f1620;color:#dbe4f0}
html[data-theme="dark"] #ibc .ibc-banner,html[data-theme="dark"] #ibc .ibc-card,html[data-theme="dark"] #ibc .ibc-dir,html[data-theme="dark"] #ibc .ibc-faq,html[data-theme="dark"] .pyt-rel{background:#172231;border-color:#26344a;box-shadow:none}
html[data-theme="dark"] #ibc .ibc-block{background:#141e2b;border-color:#26344a}
html[data-theme="dark"] #ibc .ibc-banner-title,html[data-theme="dark"] #ibc .ibc-dirhead h2,html[data-theme="dark"] #ibc .ibc-faq h2,html[data-theme="dark"] .pyt-rel h2,html[data-theme="dark"] .pyt-rel .prt,html[data-theme="dark"] #ibc .ibc-head,html[data-theme="dark"] #ibc .ibc-cname{color:#f1f6fc}
html[data-theme="dark"] #ibc .ibc-banner-desc,html[data-theme="dark"] #ibc .ibc-faq details p,html[data-theme="dark"] .pyt-rel .prd,html[data-theme="dark"] #ibc .ibc-mut{color:#93a4bd}
html[data-theme="dark"] #ibc .ibc-head:hover{background:#1b2838}
html[data-theme="dark"] #ibc .ibc-chev{color:#8fb3ff}
html[data-theme="dark"] #ibc .ibc-contn{background:#1d2b40;border-color:#2b3b52;color:#8fb3ff}
html[data-theme="dark"] #ibc .ibc-row select,html[data-theme="dark"] #ibc .ibc-filter input{background:#0f1620;border-color:#33445e;color:#eaf1fb}
html[data-theme="dark"] #ibc .ibc-out{background:#13233c;border-color:#1d3a63;color:#eaf1fb}
html[data-theme="dark"] #ibc .ibc-copy{background:#1d2b40;border-color:#2b3b52;color:#8fb3ff}
html[data-theme="dark"] #ibc .ibc-stat span{background:#1d2b40;border-color:#2b3b52;color:#a9bcd6}
html[data-theme="dark"] #ibc .ibc-iso{background:#1d2b40;color:#a9bcd6}
html[data-theme="dark"] #ibc .ibc-table th,html[data-theme="dark"] #ibc .ibc-table td,html[data-theme="dark"] #ibc .ibc-kv th,html[data-theme="dark"] #ibc .ibc-kv td,html[data-theme="dark"] #ibc .ibc-tablewrap,html[data-theme="dark"] #ibc .ibc-faq details{border-color:#26344a}
html[data-theme="dark"] #ibc .ibc-table thead th{background:#1d2b40;color:#a9bcd6}
html[data-theme="dark"] #ibc .ibc-table tbody tr:hover{background:#1d2b40}
html[data-theme="dark"] #ibc .ibc-kv th{color:#93a4bd}
html[data-theme="dark"] #ibc .ibc-faq summary{color:#dbe4f0}
html[data-theme="dark"] #ibc .ibc-faq code{background:#0f1620;color:#dbe4f0}
html[data-theme="dark"] .pyt-rel a{background:#1e2b3d;border-color:#2b3b52}
html[data-theme="dark"] .pyt-rel a:hover{background:#243449;border-color:#3a4c68}
