/* PAYATE — Country Codes Directory. Scoped under #cco. */
@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}
#cco{max-width:900px;margin:0 auto;padding:10px 16px 40px}
#cco *{box-sizing:border-box}
#cco h1,#cco h2{font-family:Poppins,"PoppinsFB",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}

#cco .cco-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)}
#cco .cco-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,#17b26a,#0f8a50);color:#fff;box-shadow:0 6px 16px rgba(23,178,106,.3)}
#cco .cco-banner-icon svg{width:26px;height:26px;display:block}
#cco .cco-banner-title{margin:0 0 5px;font-weight:700;font-size:22px;line-height:1.22;color:#0f1b2d}
#cco .cco-banner-desc{margin:0;font-weight:500;font-size:14.5px;line-height:1.5;color:#4a5b73}

#cco .cco-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)}
#cco .cco-stat{margin:0 0 14px;display:flex;flex-wrap:wrap;gap:8px}
#cco .cco-stat span{font-size:12.5px;color:#4a5b73;background:#f1f6fc;border:1px solid #e3edf9;border-radius:999px;padding:4px 11px}
#cco .cco-stat strong{color:#17b26a}
#cco .cco-filter{margin:0 0 14px}
#cco .cco-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}
#cco .cco-filter input:focus{border-color:#17b26a;background:#fff;box-shadow:0 0 0 3px rgba(23,178,106,.12)}

#cco .cco-block{margin:0 0 12px;border:1px solid #e6ecf5;border-radius:12px;overflow:hidden;background:#fbfcfe}
#cco .cco-block:last-of-type{margin-bottom:0}
#cco .cco-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}
#cco .cco-head::-webkit-details-marker{display:none}
#cco .cco-head:hover{background:#f3f7fd}
#cco .cco-chev{display:inline-flex;color:#17b26a;transition:transform .18s ease}
#cco .cco-block[open] .cco-chev{transform:rotate(90deg)}
#cco .cco-contname{flex:1}
#cco .cco-contn{font-size:11px;font-weight:700;color:#0f8a50;background:#e7f8ef;border:1px solid #bfe8cf;border-radius:999px;padding:2px 9px}
#cco .cco-tablewrap{overflow-x:auto;border-top:1px solid #eef2f8}
#cco .cco-table{width:100%;border-collapse:collapse;font-size:14px}
#cco .cco-table th,#cco .cco-table td{text-align:left;padding:11px 14px;border-bottom:1px solid #eef2f8;vertical-align:middle}
#cco .cco-table thead th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#7486a0;font-weight:700;background:#f7f9fc}
#cco .cco-table tbody tr:last-child td{border-bottom:0}
#cco .cco-table tbody tr:hover{background:#f6f9fe}
#cco .cco-flag{font-size:19px;margin-right:9px;vertical-align:middle}
#cco .cco-cname{font-weight:600;color:#14233c}
#cco .cco-dial{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700;color:#1d64d8}
#cco .cco-iso{display:inline-block;font-size:11px;font-weight:700;color:#5a6b83;background:#eef2f8;border-radius:5px;padding:2px 7px}
#cco .cco-cur{color:#36465e}
#cco .cco-curcode{color:#7486a0;font-size:12.5px}
#cco .cco-empty{color:#7486a0;font-size:14px;padding:16px 4px;margin:0}

#cco .cco-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)}
#cco .cco-faq h2{margin:0 0 10px;font-size:19px;color:#0f1b2d}
#cco .cco-faq details{border-top:1px solid #eef2f8;padding:2px 0}
#cco .cco-faq details:first-of-type{border-top:0}
#cco .cco-faq summary{cursor:pointer;list-style:none;padding:13px 26px 13px 2px;position:relative;font-weight:600;font-size:14.5px;color:#14233c}
#cco .cco-faq summary::-webkit-details-marker{display:none}
#cco .cco-faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:18px;color:#7486a0}
#cco .cco-faq details[open] summary::after{content:"\2212"}
#cco .cco-faq details p{margin:0 2px 13px;font-size:13.5px;line-height:1.7;color:#4a5b73}
#cco .cco-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){#cco .cco-banner{padding:16px}#cco .cco-banner-title{font-size:19px}}

/* dark mode */
html[data-theme="dark"] body{background:#0f1620;color:#dbe4f0}
html[data-theme="dark"] #cco .cco-banner,html[data-theme="dark"] #cco .cco-dir,html[data-theme="dark"] #cco .cco-faq,html[data-theme="dark"] .pyt-rel{background:#172231;border-color:#26344a;box-shadow:none}
html[data-theme="dark"] #cco .cco-block{background:#141e2b;border-color:#26344a}
html[data-theme="dark"] #cco .cco-banner-title,html[data-theme="dark"] #cco .cco-faq h2,html[data-theme="dark"] .pyt-rel h2,html[data-theme="dark"] .pyt-rel .prt,html[data-theme="dark"] #cco .cco-head,html[data-theme="dark"] #cco .cco-cname{color:#f1f6fc}
html[data-theme="dark"] #cco .cco-banner-desc,html[data-theme="dark"] #cco .cco-faq details p,html[data-theme="dark"] .pyt-rel .prd,html[data-theme="dark"] #cco .cco-cur{color:#93a4bd}
html[data-theme="dark"] #cco .cco-head:hover{background:#1b2838}
html[data-theme="dark"] #cco .cco-chev{color:#4ade80}
html[data-theme="dark"] #cco .cco-contn{background:#12331f;border-color:#1f6b45;color:#4ade80}
html[data-theme="dark"] #cco .cco-table th,html[data-theme="dark"] #cco .cco-table td,html[data-theme="dark"] #cco .cco-tablewrap,html[data-theme="dark"] #cco .cco-faq details{border-color:#26344a}
html[data-theme="dark"] #cco .cco-table thead th{background:#1d2b40;color:#a9bcd6}
html[data-theme="dark"] #cco .cco-table tbody tr:hover{background:#1d2b40}
html[data-theme="dark"] #cco .cco-filter input{background:#0f1620;border-color:#33445e;color:#eaf1fb}
html[data-theme="dark"] #cco .cco-stat span{background:#1d2b40;border-color:#2b3b52;color:#a9bcd6}
html[data-theme="dark"] #cco .cco-iso{background:#1d2b40;color:#a9bcd6}
html[data-theme="dark"] #cco .cco-faq summary{color:#dbe4f0}
html[data-theme="dark"] #cco .cco-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}
