﻿/* PAYATE IP Score — scoped under #ips. */
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}
#ips{--accent:#1864d8;--accent2:#1250b4;max-width:820px;margin:0 auto;padding:18px 16px 40px}
#ips h1,#ips h2{font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}

#ips .fd-hero{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:24px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px;text-align:center}
#ips .fd-hero h1{margin:0 0 8px;font-size:26px;line-height:1.2;color:#0f1b2d;font-weight:700}
#ips .fd-hero p{margin:0 auto;font-size:14.5px;line-height:1.7;color:#4a5b73;max-width:620px}

#ips .fd-card{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:22px 20px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px}
#ips .fd-input{display:flex;gap:10px;flex-wrap:wrap}
#ips #fd-url{flex:1;min-width:200px;box-sizing:border-box;border:2px solid #d7deea;border-radius:10px;padding:14px 16px;font-size:15px;color:#14233c;background:#fbfcfe;font-family:inherit}
#ips #fd-url:focus{outline:none;border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px rgba(24,119,242,.15)}
#ips .fd-btn{font-family:Poppins,system-ui,sans-serif;font-weight:600;font-size:16px;color:#fff;background:var(--accent);border:none;border-radius:10px;padding:14px 28px;cursor:pointer;transition:background .15s}
#ips .fd-btn:hover:not(:disabled){background:var(--accent2)}
#ips .fd-btn:disabled{opacity:.6;cursor:default}

#ips .fd-bar{height:6px;border-radius:5px;background:#e6ecf5;overflow:hidden;margin-top:16px}
#ips .fd-bar span{display:block;height:100%;width:40%;background:var(--accent);border-radius:5px;animation:fdslide 1s ease-in-out infinite}
@keyframes fdslide{0%{margin-left:-40%}100%{margin-left:100%}}
@media (prefers-reduced-motion:reduce){#ips .fd-bar span{animation:none;width:100%}}

#ips .fd-status{margin:14px 0 0;font-size:13.5px;font-weight:600}
#ips .fd-status.is-info{color:#4a5b73}
#ips .fd-status.is-ok{color:#17885a}
#ips .fd-status.is-err{color:#d4573f}

#ips .fd-result{margin-top:16px;text-align:center}
#ips .fd-thumb{max-width:320px;width:100%;border-radius:12px;border:1px solid #e6ecf5;margin:0 auto 14px}
#ips .fd-dls{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
#ips .fd-dl{display:inline-flex;align-items:center;gap:9px;font-family:Poppins,system-ui,sans-serif;font-weight:600;font-size:15px;text-decoration:none;color:#fff;background:#17a06a;border-radius:11px;padding:13px 22px;transition:background .15s}
#ips .fd-dl:hover{background:#148a5b}
#ips .fd-note{margin:16px 0 0;font-size:12.5px;color:#5a6b83;text-align:center}
#ips .fd-note a{color:var(--accent);font-weight:600}

#ips .fd-info{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:18px 22px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px}
#ips .fd-info h2{margin:0 0 10px;font-size:18px;color:#0f1b2d}
#ips .fd-info ol{margin:0 0 10px;padding-left:20px}
#ips .fd-info li{font-size:13.5px;line-height:1.9;color:#4a5b73}
#ips .fd-info p{margin:0;font-size:13.5px;line-height:1.8;color:#4a5b73}

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

/* Shared More PAYATE tools related section */
.pyt-rel{max-width:820px;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,-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}

/* ===== IP Score — fraud-risk report (scamalytics-style, PAYATE theme) ===== */
#ips .ips-result{max-width:820px;margin:0 auto 16px;background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:22px 22px 26px;box-shadow:0 1px 2px rgba(15,27,45,.05)}
#ips .ips-title{font-family:Poppins,sans-serif;font-size:21px;font-weight:700;color:#1864d8;margin:2px 0 14px;word-break:break-all}

/* risk banner */
#ips .ips-banner{font-family:Poppins,sans-serif;font-weight:700;font-size:15px;color:#fff;letter-spacing:.3px;padding:11px 16px;border-radius:9px;margin-bottom:16px}
#ips .b-low{background:#17a06a}#ips .b-medium{background:#e0a106}#ips .b-high{background:#e8700a}#ips .b-veryhigh{background:#d4362a}

/* gradient risk meter */
#ips .ips-meter{margin:0 2px 20px}
#ips .ips-meter-ends,#ips .ips-meter-scale{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#5a6782}
#ips .ips-meter-ends{margin-bottom:7px;font-weight:600}
#ips .ips-meter-bar{position:relative;height:20px;border-radius:5px;background:linear-gradient(to right,#17a06a 0%,#8fc70a 28%,#e0a106 52%,#e8700a 74%,#d4362a 100%)}
#ips .ips-marker{position:absolute;top:-4px;bottom:-4px;width:4px;left:0;background:#0f1b2d;border:2px solid #fff;border-radius:3px;box-shadow:0 1px 4px rgba(15,27,45,.45);transform:translateX(-50%);transition:left .5s ease}
#ips .ips-meter-scale{margin-top:7px}
#ips .ips-meter-scale b{font-family:Poppins,sans-serif;font-weight:700;color:#0f1b2d;font-size:14px}

/* summary paragraph */
#ips .ips-desc{background:#f7f9fc;border:1px solid #eef2f8;border-radius:11px;padding:14px 16px;font-size:14px;line-height:1.75;color:#3a4a63;margin:0 0 18px}
#ips .ips-desc b{color:#14233c}

/* API box */
#ips .ips-api{border:1px solid #e6ecf5;border-radius:11px;overflow:hidden;margin-bottom:22px}
#ips .ips-api-h{background:#f0f4fa;padding:9px 14px;font-family:Poppins,sans-serif;font-weight:600;font-size:13px;color:#3a4a63;border-bottom:1px solid #e6ecf5}
#ips .ips-api pre{margin:0;padding:14px 16px;background:#0f1b2d;color:#d7e3f5;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;line-height:1.6;overflow-x:auto}

/* report sections (Operator / Location / Datacenter / Blacklists / Proxies / Residential) */
#ips .ips-sec{margin-bottom:20px}
#ips .ips-sec h3{font-family:Poppins,sans-serif;font-size:16px;font-weight:600;color:#0f1b2d;margin:0 0 4px;padding-bottom:7px;border-bottom:2px solid #e6ecf5}
#ips .ips-q{margin:8px 0 10px;font-size:12.5px;font-style:italic;color:#7a8aa3}
#ips .ips-tbl{width:100%;border-collapse:collapse;font-size:13.5px}
#ips .ips-tbl td{padding:9px 4px;border-top:1px solid #eef2f8;vertical-align:top}
#ips .ips-tbl tr:first-child td{border-top:0}
#ips .ips-tbl td.k{color:#5a6782;font-weight:600;width:46%}
#ips .ips-tbl td.v{color:#14233c;text-align:right;word-break:break-word}

/* Yes / No badges */
#ips .nb{display:inline-block;min-width:38px;text-align:center;font-family:Poppins,sans-serif;font-weight:600;font-size:12px;padding:3px 10px;border-radius:5px;color:#fff}
#ips .nb-good{background:#17a06a}#ips .nb-bad{background:#d4362a}#ips .nb-neutral{background:#8795ab}

/* ===== legacy dashboard styles (kept for safety) ===== */
#ips #ip-input{font-family:inherit}
#ips .ips-score{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:20px 22px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:14px}
#ips .ips-gauge{flex:none;width:96px;height:96px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-family:Poppins,sans-serif}
#ips .ips-gauge span{font-size:30px;font-weight:700;line-height:1}
#ips .ips-gauge small{font-size:11px;opacity:.9;margin-top:2px}
#ips .g-ok{background:#17a06a}#ips .g-mid{background:#e8900a}#ips .g-bad{background:#d4573f}
#ips .ips-ip{font-family:Poppins,sans-serif;font-weight:700;font-size:20px;color:#0f1b2d}
#ips .ips-risk{display:inline-block;margin-top:6px;font-weight:600;font-size:13px;padding:3px 12px;border-radius:999px}
#ips .r-low{background:#e7f6ee;color:#17885a}#ips .r-medium{background:#fdf1dd;color:#b4740a}#ips .r-high{background:#fdecea;color:#c0392b}
#ips .ips-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
#ips .ips-c{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:16px 18px;box-shadow:0 1px 2px rgba(15,27,45,.05)}
#ips .ips-c h3{margin:0 0 10px;font-size:15px;color:#0f1b2d;font-family:Poppins,sans-serif}
#ips .ips-c ul{list-style:none;margin:0;padding:0}
#ips .ips-c li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid #eef2f8;font-size:13px}
#ips .ips-c li:first-child{border-top:0}
#ips .ips-c .k{color:#5a6782}#ips .ips-c .v{color:#14233c;font-weight:600;text-align:right;word-break:break-word}
#ips .ok{color:#17885a;font-weight:600}#ips .bad{color:#c0392b;font-weight:600}
/* Score breakdown (ip-score style) */
#ips .ips-breakdown{margin-bottom:14px}
#ips .ips-breakdown .bd-h{font-family:Poppins,sans-serif;font-weight:600;font-size:13px;color:#5a6782;text-transform:uppercase;letter-spacing:.4px;margin:0 2px 8px}
#ips .bd-item{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #f0d9d3;border-left:3px solid #d4573f;border-radius:9px;padding:8px 14px;margin-bottom:7px;box-shadow:0 1px 2px rgba(15,27,45,.04)}
#ips .bd-item span{font-size:13.5px;color:#14233c;font-weight:500}
#ips .bd-item b{font-family:Poppins,sans-serif;color:#d4573f;font-size:13px;white-space:nowrap}
#ips .bd-ok{border-color:#9ad8b8;border-left-color:#17a06a}
#ips .bd-ok span{color:#14233c}#ips .bd-ok b{color:#17885a}

/* IP input fills the row (id is #ip-input, not #fd-url) */
#ips #ip-input,#vpd #ip-input{flex:1;min-width:200px;box-sizing:border-box;border:2px solid #d7deea;border-radius:10px;padding:14px 16px;font-size:15px;color:#14233c;background:#fbfcfe;font-family:inherit}
#ips #ip-input:focus,#vpd #ip-input:focus{outline:none;border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px rgba(24,100,216,.15)}
