/* ============================================================================
   PAYATE — BIN Lookup (2026). Self-contained; shared header/footer not styled.
   ============================================================================ */
#binl {
  --brand:#1d64d8; --brand-d:#1a59c1;
  --ink:#14233c; --ink-2:#4a5b73; --muted:#5a6782;
  --line:#e3e9f2; --field-line:#d5dfec; --card:#fff;
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  color:var(--ink);
}
body{
  background:radial-gradient(1100px 480px at 50% -8%, #eaf1fd 0%, rgba(234,241,253,0) 60%), #f4f6fb;
  color:var(--ink);
}
#binl *, #binl *::before, #binl *::after{ box-sizing:border-box; }
#binl .container{ width:100%; max-width:820px; margin:0 auto; padding:0 15px; }

/* ---- Intro banner (same style as the other tools) ---- */
#binl .tool-banner{
  display:flex; align-items:center; gap:16px; padding:16px; margin:28px 0 6px;
  background:var(--card); border-radius:8px; box-shadow:0 .125rem .25rem rgba(0,0,0,.075);
}
#binl .tool-banner-icon{
  width:48px; height:48px; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%; background:linear-gradient(135deg,#2a72e6 0%,#1a59c1 100%); color:#fff;
  box-shadow:0 6px 14px -6px rgba(29,100,216,.7);
}
#binl .tool-banner-icon svg{ width:24px; height:24px; display:block; }
#binl .tool-banner-text{ line-height:1; }
#binl .tool-banner-title{ margin:0 0 4px; font-weight:700; font-size:20px; line-height:1.2; color:#4d629eba; }
#binl .tool-banner-desc{ margin:0; font-weight:600; font-size:16px; line-height:1.35; color:#4d629ee6; }

/* ---- Lookup card ---- */
#binl .panel{
  background:var(--card); border:1px solid #e6ecf5; border-radius:14px; padding:20px 18px; margin:18px 0 6px;
  box-shadow:0 1px 2px rgba(15,27,45,.05), 0 18px 40px -30px rgba(15,27,45,.5);
}
#binl .lookup-row{ display:flex; gap:10px; flex-wrap:wrap; }
#binl .control{
  flex:1 1 220px; min-width:0; height:46px; padding:0 14px;
  border:1px solid var(--field-line); border-radius:10px; background:#fff;
  font-family:inherit; font-size:17px; letter-spacing:.06em; color:#17243a;
  transition:border-color .15s, box-shadow .15s;
}
#binl .control:focus{ outline:0; border-color:var(--brand); box-shadow:0 0 0 3px rgba(29,100,216,.15); }
#binl .control::placeholder{ color:#9aa8bd; letter-spacing:.04em; }
#binl .btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:46px; padding:0 22px; border:0; border-radius:10px;
  font-family:inherit; font-size:15px; font-weight:600; cursor:pointer;
  color:#fff; background:linear-gradient(180deg,#2a72e6 0%,var(--brand) 100%);
  box-shadow:0 8px 18px -8px rgba(29,100,216,.6);
  transition:background .15s, transform .15s;
}
#binl .btn:hover{ background:linear-gradient(180deg,#2569db 0%,var(--brand-d) 100%); transform:translateY(-1px); }
#binl .btn:disabled{ opacity:.6; cursor:default; transform:none; }
#binl .hint{ margin:10px 2px 0; font-size:12.5px; color:var(--muted); }
#binl .examples{ margin:12px 0 0; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
#binl .examples span{ font-size:12.5px; color:var(--muted); }
#binl .chip{
  border:1px solid var(--field-line); background:#fff; color:var(--brand-d);
  border-radius:999px; padding:5px 12px; font-size:12.5px; font-weight:600; cursor:pointer;
}
#binl .chip:hover{ border-color:var(--brand); background:#f2f7ff; }

/* ---- States ---- */
#binl .msg{ margin:16px 0 0; padding:14px 16px; border-radius:10px; font-size:14px; display:none; }
#binl .msg.show{ display:block; }
#binl .msg.err{ background:#fdecec; color:#a3232b; border:1px solid #f5c2c5; }
#binl .msg.load{ background:#eef4fe; color:var(--brand-d); border:1px solid #cfe0fb; }

/* ---- Result (binlist-style grid, PAYATE colours) ---- */
#binl .result{ display:none; margin:18px 0 6px; }
#binl .result.show{ display:block; }
#binl .bgrid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px 26px;
  padding:22px; background:var(--card); border:1px solid #e6ecf5; border-radius:14px;
  box-shadow:0 1px 2px rgba(15,27,45,.05), 0 18px 40px -30px rgba(15,27,45,.5);
}
#binl .cell{ min-width:0; }
#binl .cell .k{ font-size:11px; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); font-weight:600; }
#binl .cell .v{ margin-top:5px; font-size:17px; font-weight:600; color:var(--ink); word-break:break-word; }
#binl .cell .v.sm{ font-size:15px; }
/* bank spans two rows, so Card number + Country land on the last row (as on binlist) */
#binl .cell.rbank{ grid-row:span 2; }
#binl .rbank .bmeta{ margin-top:4px; font-size:14px; line-height:1.7; }
#binl .rbank .bmeta a{ color:var(--brand); text-decoration:none; font-weight:600; display:block; }
#binl .rbank .bmeta a:hover{ text-decoration:underline; }
#binl .rbank .bmeta .phone{ color:var(--ink-2); }
/* "Debit / Credit" and "Yes / No" toggles */
#binl .toggle .on{ color:var(--ink); font-weight:700; }
#binl .toggle .off{ color:#b3bdcc; font-weight:500; }
#binl .toggle .sl{ color:#c8d1de; margin:0 5px; font-weight:400; }
/* Card number sub-columns */
#binl .cnum{ display:flex; gap:26px; margin-top:5px; }
#binl .cnum .k2{ font-size:10.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:600; }
#binl .cnum .v{ margin-top:3px; }
#binl .rcountry .geo{ margin-top:4px; font-size:12.5px; color:var(--muted); font-weight:500; }
#binl .rcountry .flag{ font-size:20px; vertical-align:-.15em; margin-right:4px; }

/* ---- Scheme logo + flag ---- */
#binl .scheme-v{ display:flex; align-items:center; gap:9px; }
#binl .scheme-logo img{ width:30px; height:20px; object-fit:contain; border-radius:3px; box-shadow:0 0 0 1px rgba(15,27,45,.08); display:block; }
#binl .scheme-logo:empty{ display:none; }
#binl .flagimg{ width:22px; height:16px; object-fit:cover; border-radius:2px; vertical-align:-.15em; margin-right:6px; box-shadow:0 0 0 1px rgba(15,27,45,.12); }

/* ---- Result actions (copy / share) ---- */
#binl .ractions{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:14px; }
#binl .btn-mini{
  display:inline-flex; align-items:center; gap:7px; height:36px; padding:0 14px;
  border:1px solid var(--field-line); border-radius:9px; background:#fff; color:var(--brand-d);
  font-family:inherit; font-size:13px; font-weight:600; cursor:pointer; transition:border-color .15s, background .15s;
}
#binl .btn-mini:hover{ border-color:var(--brand); background:#f2f7ff; }
#binl .btn-mini.done{ border-color:#1f9d55; background:#eafaf0; color:#1f7a44; }
#binl .btn-mini svg{ height:1em; }
#binl .src-badge{ margin-left:auto; font-size:11.5px; color:var(--muted); font-weight:500; }

/* ---- Ad strips ---- */
#binl .ad-strip{ text-align:center; padding:16px 0; min-height:0; }

/* ---- Info + FAQ (SEO content) ---- */
#binl .info{ background:var(--card); border:1px solid #e6ecf5; border-radius:14px; padding:22px; margin:18px 0; box-shadow:0 1px 2px rgba(15,27,45,.05); }
#binl .info h2{ margin:0 0 10px; font-size:19px; color:var(--ink); }
#binl .info h3{ margin:20px 0 8px; font-size:15.5px; color:var(--ink); }
#binl .info p{ margin:0 0 10px; font-size:14px; line-height:1.7; color:var(--ink-2); }
#binl .info a{ color:var(--brand); text-decoration:none; }
#binl .info a:hover{ text-decoration:underline; }
#binl .info .steps, #binl .info .fields{ margin:0; padding-left:20px; }
#binl .info .steps li, #binl .info .fields li{ font-size:14px; line-height:1.7; color:var(--ink-2); margin-bottom:6px; }
#binl .faq details{ border-bottom:1px solid var(--line); padding:12px 0; }
#binl .faq details:last-child{ border-bottom:0; }
#binl .faq summary{ cursor:pointer; font-size:14.5px; font-weight:600; color:var(--ink); list-style:none; position:relative; padding-right:26px; }
#binl .faq summary::-webkit-details-marker{ display:none; }
#binl .faq summary::after{ content:'+'; position:absolute; right:4px; top:-2px; font-size:20px; font-weight:400; color:var(--brand); transition:transform .2s; }
#binl .faq details[open] summary::after{ content:'\2212'; }
#binl .faq details p{ margin:9px 0 0; font-size:13.5px; }

.add_right, .add_left{ display:none; }
@media (min-width:1750px){
  .add_right{ display:block; position:fixed; bottom:20%; right:20px; z-index:50; }
  .add_left { display:block; position:fixed; bottom:20%; left:20px;  z-index:50; }
}
@media (pointer:coarse){ #binl .control{ font-size:16px; } }
@media (max-width:680px){
  #binl .bgrid{ grid-template-columns:1fr 1fr; gap:18px 20px; padding:18px; }
  #binl .cell.rbank{ grid-row:auto; grid-column:1 / -1; }
}
@media (max-width:430px){
  #binl .bgrid{ grid-template-columns:1fr; }
  #binl .cell.rbank{ grid-column:auto; }
  #binl .tool-banner-title{ font-size:18px; }
  #binl .tool-banner-desc{ font-size:14.5px; }
  #binl .src-badge{ width:100%; margin:2px 0 0; text-align:left; }
}

/* Related tools (internal linking) */
#binl .binl-related{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:20px 22px;margin:16px 0;box-shadow:0 1px 2px rgba(15,27,45,.05)}
#binl .binl-related h2{margin:0 0 12px;font-size:18px;color:#14233c}
#binl .binl-rel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
#binl .binl-related a{display:block;text-decoration:none;border:1px solid #e6ecf5;border-radius:10px;padding:12px 14px;background:#fbfcfe;transition:border-color .15s,background .15s}
#binl .binl-related a:hover{border-color:#1d64d8;background:#f2f7ff}
#binl .binl-rel-t{display:block;font-weight:600;font-size:14px;color:#14233c;margin-bottom:2px}
#binl .binl-rel-d{display:block;font-size:12px;line-height:1.4;color:#5a6782}

/* 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,"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}
#binl .binl-crumb{font-size:12px;color:#5a6b83;margin:4px 2px 14px}
#binl .binl-crumb a{color:#1550b4;text-decoration:none}
#binl .binl-crumb a:hover{text-decoration:underline}
#binl .binl-crumb span{margin:0 4px;color:#9aa8bd}
