/* Public page of proxy node addresses (resources/views/public/ips.blade.php). Local fonts only. */
@font-face { font-family: "IRANSans"; font-weight: 400; font-display: swap; src: url("../vendor/fonts/IRANSansWeb.woff2") format("woff2"); }
@font-face { font-family: "IRANSans"; font-weight: 500; font-display: swap; src: url("../vendor/fonts/IRANSansWeb_Medium.woff2") format("woff2"); }
@font-face { font-family: "IRANSans"; font-weight: 700; font-display: swap; src: url("../vendor/fonts/IRANSansWeb_Bold.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("../vendor/fonts/figtree-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("../vendor/fonts/figtree-latin-700.woff2") format("woff2"); }

:root { --bg: #f6f8fb; --card: #fff; --ink: #101828; --muted: #475467; --line: #e4e7ec; --brand: #2563eb; --code: #0f172a; --code-ink: #e2e8f0; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1220; --card: #111a2e; --ink: #e5e7eb; --muted: #9aa4b2; --line: #1f2a44; --brand: #60a5fa; --code: #050a16; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.8 "Figtree", "IRANSans", Tahoma, sans-serif; }
[dir="rtl"] body, html[dir="rtl"] body { font-family: "IRANSans", "Figtree", Tahoma, sans-serif; }
a { color: var(--brand); }
.ips { max-width: 980px; margin: 0 auto; padding: 24px 16px 48px; }
.ips-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ips-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.ips-brand .brand-mark { width: 40px; height: 40px; flex: none; }
.ips-lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; text-decoration: none; color: var(--ink); background: var(--card); }
h1 { font-size: 26px; line-height: 1.4; margin: 6px 0 8px; }
h2 { font-size: 18px; margin: 0 0 10px; }
h3 { font-size: 15px; margin: 18px 0 6px; }
.ips-lead { color: var(--muted); max-width: 760px; margin: 0 0 6px; }
.ips-meta, .ips-note { color: var(--muted); font-size: 13.5px; }
.ips-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 16px 0; }
.ips-card-main { border-color: var(--brand); }
.ips-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
pre { direction: ltr; text-align: left; background: var(--code); color: var(--code-ink); border-radius: 10px; padding: 12px 14px; overflow-x: auto; font: 13px/1.65 ui-monospace, Menlo, Consolas, monospace; margin: 6px 0 10px; white-space: pre; }
.ips-cmd { font-size: 14px; }
code, .ips-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
ul { padding-inline-start: 20px; }
li { margin: 4px 0; }
.ips-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.ips-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; text-decoration: none; color: var(--ink); background: var(--card); font-size: 13.5px; }
.ips-toc a:hover { border-color: var(--brand); color: var(--brand); }
.ips-code { border-radius: 10px; overflow: hidden; background: var(--code); margin: 6px 0 10px; min-width: 0; }
.ips-code pre { margin: 0; border-radius: 0; max-height: 420px; overflow: auto; }
.ips-code-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 4px 6px; padding-inline-start: 12px; background: #16213a; color: #9fb2c9; font-size: 13px; font-weight: 700; }
.ips-code-bar a { color: #9cc3ff; }
.ips-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: #233456; color: #dbe7f5; text-align: center; font-size: 12px; }
.ips-copy { flex: none; min-height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid #2f4469; background: transparent; color: #dbe7f5; font: inherit; font-size: 13px; cursor: pointer; }
.ips-copy:hover { border-color: #60a5fa; background: #1d2c4a; }
.ips-copy:focus-visible, .ips-code pre:focus-visible, details > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ips-tool, .ips-faq { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; margin: 10px 0; }
.ips-tool > summary, .ips-faq > summary { cursor: pointer; padding: 10px 0; font-weight: 700; }
.ips-tool[open], .ips-faq[open] { padding-bottom: 12px; }
.ips-faq p { margin: 0; color: var(--muted); }
.ips-foot { color: var(--muted); font-size: 13px; text-align: center; margin-top: 24px; }
@media (max-width: 680px) {
  .ips-grid { grid-template-columns: 1fr; }
  h1 { font-size: 22px; }
  .ips-card { padding: 14px; }
}
