/*
Theme Name: WealthPilot One
Theme URI: https://wealthpilot.local
Author: WealthPilot
Description: All-in-one finance affiliate theme with one-click setup, Offers CPT, comparison templates, logo support, and built-in link cloaker.
Version: 1.0.0
*/
:root{ --brand-green:#2ECC71; }
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#f5f5f5;background:#000}
a{color:#fff;text-decoration:none}
a:hover{opacity:.85}
.container{max-width:1100px;margin:0 auto;padding:0 16px}

/* Header */
.site-header{background:#000;border-bottom:1px solid #111;position:sticky;top:0;z-index:100}
.site-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;height:72px}
.brand{display:flex;align-items:center;gap:12px}
.site-title{font-weight:800;color:#fff;white-space:nowrap}
.custom-logo,.custom-logo-link img{max-height:48px;height:auto;width:auto}

/* Nav */
.primary-nav .menu{display:flex;gap:28px;list-style:none;margin:0;padding:0}
.primary-nav .menu a{white-space:nowrap;font-weight:600}
.primary-nav .menu a:hover{color:var(--brand-green)}
@media (min-width: 900px){ .nav-toggle{display:none} }

/* Card / content */
.card{background:#0b0b0b;border:1px solid #191919;border-radius:14px;padding:28px;margin:32px auto;max-width:1100px}
.notice{font-size:.92rem;color:#bbb}

/* Tables */
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px;text-align:left;border-bottom:1px solid #1b1b1b;vertical-align:top}
.table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Anti-horizontal-scroll */
html,body{overflow-x:hidden}
img,svg,video,iframe,table{max-width:100%}
/* Buttons */
.btn{
  display:inline-block;padding:10px 16px;border-radius:10px;
  background:var(--brand-green);color:#000;font-weight:600;
  text-decoration:none;border:0;box-shadow:0 0 0 1px #1b1b1b inset
}
.btn:hover{opacity:.9}
/* Fix table scroll on mobile */
.table{table-layout:fixed}
.table th,.table td{word-wrap:break-word;white-space:normal}
.table td:last-child{width:1%}
.table .btn{white-space:nowrap}
.table-wrapper{overflow-x:visible}

