/* ============================================================
   AuctionsNearMe shared styles — single source of truth for the
   tokens and components that were previously copy-pasted into
   every page's inline <style> block.

   Load this BEFORE the page's inline <style>: identical-specificity
   rules that come later win, so page styles can still override.

   Two token dialects are defined below because the auctioneer/
   auctions family and the theme/news family grew up with different
   variable names. Both map to the same values — new code should
   prefer the --color-* names.
   ============================================================ */

:root {
    /* theme/news dialect */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-body: #475569;
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-border: #e2e8f0;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --max-w: 1200px;
    /* auctioneer/auctions dialect (aliases) */
    --bg: #f8fafc;
    --card: #fff;
    --text: #1e293b;
    --muted: #64748b;
    --primary: #2563eb;
    --border: #e2e8f0;
}

/* Keyboard focus — visible ring on every interactive control */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* --- Social icon buttons (both class families) --- */
.social-icon-link, .social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: #f1f5f9; color: #64748b; transition: all 0.2s ease;
}
.social-icon-link svg { width: 16px; height: 16px; }
.social-icon svg { width: 18px; height: 18px; }
.social-icon-link:hover, .social-icon:hover { transform: translateY(-2px); color: #fff; }
.social-icon-link.website:hover { background: #64748b; }
.social-icon-link.twitter:hover, .si-x:hover { background: #000; }
.social-icon-link.facebook:hover, .si-fb:hover { background: #1877F2; }
.social-icon-link.linkedin:hover, .si-li:hover { background: #0a66c2; }
.social-icon-link.instagram:hover, .si-ig:hover { background: #E4405F; }
.social-icon-link.youtube:hover, .si-yt:hover { background: #FF0000; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }

/* --- Pagination --- */
.pager { display: flex; justify-content: center; gap: 0.5rem; margin: 2rem 0; }
.pager a, .pager span { padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.9rem; font-weight: 500; text-decoration: none; border: 1px solid var(--color-border); background: var(--bg-card); color: var(--color-text); }
.pager a:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }
.pager .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pager .disabled { opacity: 0.5; pointer-events: none; border: none; background: transparent; }
.pager .gap { padding: 0.5rem 0.25rem; color: var(--color-text-muted); border: none; background: transparent; }

/* --- Tag pills --- */
.tag-pill { background: #f1f5f9; color: var(--color-text-body); padding: 2px 8px; border-radius: 4px; font-weight: 600; }

/* --- Deep-match highlight box --- */
.deep-match-box { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: 0.9rem; line-height: 1.5; word-break: break-word; }
.deep-match-box strong { color: #064e3b; font-weight: 700; }

/* --- Floating Auctify CTA --- */
#floatingButton { position: fixed; bottom: 20px; right: 20px; z-index: 999; background: #10b981; color: white; padding: 0.75rem 1.25rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); transition: transform 0.2s; text-decoration: none; }
#floatingButton:hover { transform: translateY(-2px); background: #059669; color: white; }

/* --- "We are family" footer --- */
.family-footer { text-align: center; padding: 1em; background-color: #f8f8f8; font-family: var(--font-sans); font-size: 0.95em; color: #555; margin-top: 2rem; }
.family-footer a { color: var(--color-primary); text-decoration: none; }
.family-footer a:hover { text-decoration: underline; }
