/**
 * Modern Template Custom Styles
 * Extends Tailwind CSS with custom components
 */

/* Mega Menu — explicit CSS (no reliance on Tailwind group-hover) */
.mega-menu-bar {
    display: none;
}
@media (min-width: 768px) {
    .mega-menu-bar {
        display: block;
    }
}
.mega-menu-dropdown {
    display: none;
    pointer-events: none;
}
.mega-menu-item:hover > .mega-menu-dropdown {
    display: block;
    pointer-events: auto;
}

/* Utility: Line Clamp for text truncation */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #6b7280;
    outline-offset: 2px;
}

/* Image lazy loading placeholder */
img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Print styles */
@media print {
    header, footer, aside, .no-print {
        display: none !important;
    }

    body {
        background: white !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gray-50 {
        background-color: white;
    }

    .border-gray-200, .border-gray-300 {
        border-color: #000;
    }
}

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

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here when needed */
}

/* HTMX Loading Indicator */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request.htmx-indicator {
    display: inline-block;
}

/* HTMX Transitions */
.htmx-swapping {
    opacity: 0;
    transition: opacity 200ms ease-out;
}

.htmx-settling {
    opacity: 1;
    transition: opacity 200ms ease-in;
}

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Business Features UX */
.bf-page {
    --bf-bg: #f5f7fb;
    --bf-surface: #ffffff;
    --bf-border: #d9e0eb;
    --bf-text: #1f2a37;
    --bf-muted: #617186;
    --bf-accent: #006d77;
    --bf-accent-soft: #e6f5f6;
    --bf-radius: 14px;
    color: var(--bf-text);
}
.bf-page h1 {
    border-bottom: 0;
    margin-bottom: 16px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.bf-page h2 {
    border-bottom: 0;
    margin: 0 0 14px 0;
    font-size: 22px;
    font-weight: 700;
}
.bf-page h3 {
    border-bottom: 0;
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
}
.bf-hero {
    background: linear-gradient(125deg, #0f4c5c 0%, #1f6f8b 55%, #2c7da0 100%);
    color: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 18px;
}
.bf-hero a { color: #d9f7ff; }
.bf-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 14px;
}
.bf-meta {
    color: var(--bf-muted);
    font-size: 13px;
    margin: 0 0 6px 0;
}
.bf-card {
    background: var(--bf-surface);
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius);
    box-shadow: 0 6px 18px rgba(18, 38, 63, 0.06);
    margin-bottom: 16px;
}
.bf-card-body { padding: 16px; }
.bf-pill {
    display: inline-block;
    background: var(--bf-accent-soft);
    color: var(--bf-accent);
    border: 1px solid #bfe6e9;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    margin: 0 6px 8px 0;
}
.bf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bf-actions .btn {
    border-radius: 10px;
    font-weight: 600;
}
.bf-action-grid .btn {
    margin: 0 8px 8px 0;
    border-radius: 10px;
}
.bf-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bf-list li {
    border-bottom: 1px solid #eef2f8;
    padding: 12px 0;
}
.bf-list li:last-child { border-bottom: 0; }
.bf-list-title {
    font-size: 18px;
    margin: 0 0 4px 0;
    font-weight: 700;
}
.bf-search-bar {
    background: #fff;
    border: 1px solid var(--bf-border);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 14px;
}
.bf-tabs.nav-tabs {
    border-bottom: 0;
    margin-bottom: 12px;
}
.bf-tabs.nav-tabs > li > a {
    border: 1px solid var(--bf-border);
    border-radius: 999px;
    margin-right: 8px;
    color: #29445a;
    font-weight: 600;
    background: #fff;
}
.bf-tabs.nav-tabs > li.active > a,
.bf-tabs.nav-tabs > li.active > a:focus,
.bf-tabs.nav-tabs > li.active > a:hover {
    color: #fff;
    background: #1f6f8b;
    border-color: #1f6f8b;
}
.bf-empty {
    background: #fff9e8;
    border: 1px solid #f3deab;
    border-radius: 12px;
    padding: 14px;
    color: #6b5520;
}

/* Modernization Phase 1: Frontend design tokens */
:root {
    --finder-font-heading: 'Plus Jakarta Sans', 'DM Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --finder-font-body: 'DM Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --finder-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

    --finder-text: #111827;
    --finder-text-strong: #0b1324;
    --finder-muted: #6b7280;
    --finder-muted-2: #8b98ab;
    --finder-border: #e5e7eb;
    --finder-border-strong: #d1d5db;
    --finder-surface: #ffffff;
    --finder-surface-muted: #f8fafc;
    --finder-bg: #f9fafb;
    --finder-accent: #d32323;
    --finder-accent-hover: #b91c1c;
    --finder-accent-soft: #fef2f2;
    --finder-link: #111827;
    --finder-link-hover: #d32323;
    --finder-success: #15803d;
    --finder-warning: #b45309;
    --finder-danger: #b91c1c;
    --finder-info: #1d4ed8;

    --finder-h1: clamp(1.5rem, 2.2vw, 2rem);
    --finder-h2: clamp(1.25rem, 1.6vw, 1.5rem);
    --finder-h3: clamp(1.05rem, 1.2vw, 1.25rem);
    --finder-h4: clamp(0.95rem, 1.05vw, 1.05rem);

    --finder-space-1: 4px;
    --finder-space-2: 8px;
    --finder-space-3: 12px;
    --finder-space-4: 16px;
    --finder-space-5: 20px;
    --finder-space-6: 24px;
    --finder-space-8: 32px;
    --finder-space-10: 40px;
    --finder-space-12: 48px;

    --finder-radius-sm: 8px;
    --finder-radius-md: 12px;
    --finder-radius-lg: 16px;
    --finder-radius-xl: 22px;

    --finder-shadow-sm: 0 1px 2px rgba(2, 8, 23, 0.08);
    --finder-shadow-md: 0 8px 24px rgba(2, 8, 23, 0.08);
    --finder-shadow-lg: 0 18px 40px rgba(2, 8, 23, 0.12);

    --finder-container-max: 1200px;
    --finder-transition-fast: 160ms ease;
    --finder-transition-base: 220ms ease;

    --finder-icon-tone-1: #2d2e2f;
    --finder-icon-tone-2: #6e7072;
}

body {
    font-family: var(--finder-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--finder-text);
    background: var(--finder-bg);
}

h1, h2, h3 {
    font-family: var(--finder-font-heading);
    letter-spacing: -0.02em;
    line-height: 1.16;
    margin-top: 0;
}

h1 { font-size: var(--finder-h1); }
h2 { font-size: var(--finder-h2); }
h3 { font-size: var(--finder-h3); }
h4 { font-size: var(--finder-h4); font-family: var(--finder-font-heading); }

a:not([class*="text-"]) {
    color: var(--finder-link);
}
a:not([class*="text-"]):hover {
    color: var(--finder-link-hover);
}
a {
    transition: color var(--finder-transition-fast);
}

.container {
    width: 100%;
    max-width: var(--finder-container-max);
}

.logo-text,
.stat-number,
.stats-number,
.metric-value {
    font-family: var(--finder-font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.finder-card {
    background: var(--finder-surface);
    border: 1px solid var(--finder-border);
    border-radius: 14px;
    box-shadow: var(--finder-shadow-md);
}

.finder-card--soft {
    background: var(--finder-surface-muted);
    border: 1px solid var(--finder-border);
}

.finder-section-title {
    font-family: var(--finder-font-heading);
    font-size: clamp(1.25rem, 1.8vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Listing cards need tighter heading scale than global section heroes. */
.finder-listing .finder-section-title {
    font-size: clamp(1.2rem, 1.45vw, 1.6rem);
    line-height: 1.2;
}

.finder-kicker {
    display: inline-block;
    font-family: var(--finder-font-heading);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--finder-muted);
}

.finder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--finder-space-2);
    padding: 10px 14px;
    border-radius: var(--finder-radius-sm);
    border: 1px solid transparent;
    font-size: 0.925rem;
    font-weight: 600;
    line-height: 1;
    transition: all var(--finder-transition-fast);
    text-decoration: none;
    cursor: pointer;
}
.finder-btn:disabled {
    opacity: 0.6;
    pointer-events: none;
}
.finder-btn-primary {
    background: var(--finder-accent);
    color: #fff;
    border-color: var(--finder-accent);
}
.finder-btn-primary:hover {
    background: var(--finder-accent-hover);
    border-color: var(--finder-accent-hover);
    color: #fff;
}
.finder-btn-outline {
    background: #fff;
    color: var(--finder-accent);
    border-color: var(--finder-accent);
}
.finder-btn-outline:hover {
    background: var(--finder-accent-soft);
    color: var(--finder-accent-hover);
}
.finder-btn-muted {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: var(--finder-text);
}
.finder-btn-muted:hover {
    background: #e5e7eb;
}

.finder-input,
main input[type="text"],
main input[type="email"],
main input[type="url"],
main input[type="tel"],
main input[type="number"],
main input[type="search"],
main input[type="password"],
main select,
main textarea {
    width: 100%;
    border: 1px solid var(--finder-border-strong);
    background: #fff;
    color: var(--finder-text);
    border-radius: 10px;
    padding: 10px 12px;
    transition: border-color var(--finder-transition-fast), box-shadow var(--finder-transition-fast);
}

.finder-input:focus,
main input:focus,
main select:focus,
main textarea:focus {
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.15);
    outline: none;
}

.finder-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}
.finder-badge-neutral { background: #f3f4f6; color: #374151; }
.finder-badge-accent { background: var(--finder-accent-soft); color: var(--finder-accent-hover); }
.finder-badge-success { background: #ecfdf5; color: #166534; }
.finder-badge-warning { background: #fffbeb; color: #92400e; }

.finder-grid-auto {
    display: grid;
    gap: var(--finder-space-4);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Normalize common legacy blocks across the app */
main .panel {
    background: var(--finder-surface);
    border: 1px solid var(--finder-border);
    border-radius: var(--finder-radius-md);
    box-shadow: var(--finder-shadow-sm);
    margin-bottom: var(--finder-space-5);
    overflow: hidden;
}
main .panel-heading {
    padding: 12px 16px;
    border-bottom: 1px solid var(--finder-border);
    background: #fff;
}
main .panel-title {
    margin: 0;
    font-family: var(--finder-font-heading);
    font-size: 1rem;
    color: var(--finder-text-strong);
    font-weight: 700;
}
main .panel-body {
    padding: 16px;
}
main .list-group {
    list-style: none;
    margin: 0;
    padding: 0;
}
main .list-group-item {
    border-top: 1px solid #eef2f7;
    padding: 12px 16px;
}
main .list-group-item:first-child {
    border-top: 0;
}

main .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--finder-transition-fast);
}
main .btn-primary {
    background: var(--finder-accent);
    color: #fff;
    border-color: var(--finder-accent);
}
main .btn-primary:hover {
    background: var(--finder-accent-hover);
    border-color: var(--finder-accent-hover);
    color: #fff;
}
main .btn-default {
    background: #f8fafc;
    border-color: var(--finder-border-strong);
    color: var(--finder-text);
}
main .btn-default:hover {
    background: #f1f5f9;
}
main .btn-info {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}
main .btn-danger {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

main table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--finder-border);
    background: #fff;
    border-radius: var(--finder-radius-sm);
    overflow: hidden;
}
main th,
main td {
    border-bottom: 1px solid #eef2f7;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
main th {
    font-family: var(--finder-font-heading);
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    color: #334155;
    background: #f8fafc;
}

main .pagination,
main .paging,
main .page_navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
}
main .pagination a,
main .paging a,
main .page_navigation a,
main .pagination span,
main .paging span,
main .page_navigation span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--finder-border-strong);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    background: #fff;
    color: #334155;
    text-decoration: none;
}
main .pagination .active,
main .paging .active,
main .page_navigation .active {
    background: var(--finder-accent);
    border-color: var(--finder-accent);
    color: #fff;
}

[data-page-shell="default"] main {
    padding-top: var(--finder-space-6);
}

/* Duotone icon treatment for modern UI (Font Awesome solid/regular) */
.finder-site i.fas,
.finder-site i.fa-solid,
.finder-site i.far,
.finder-site i.fa-regular {
    color: var(--finder-icon-tone-1);
    filter: drop-shadow(0 0 0 var(--finder-icon-tone-2));
    transition: color var(--finder-transition-fast), filter var(--finder-transition-fast);
}
/* Let icons inside Tailwind-colored parents inherit their color */
[class*="text-"] > i.fas,
[class*="text-"] > i.fa-solid,
[class*="text-"] > i.far,
[class*="text-"] > i.fa-regular,
[class*="text-white"] i.fas,
[class*="text-white"] i.fa-solid {
    color: inherit;
    filter: none;
}

.finder-site a:not([class*="text-"]):hover i.fas,
.finder-site a:not([class*="text-"]):hover i.fa-solid,
.finder-site button:not([class*="text-"]):hover i.fas,
.finder-site button:not([class*="text-"]):hover i.fa-solid {
    color: #111827;
    filter: drop-shadow(0 0 0 #85878a);
}

[x-cloak] {
    display: none !important;
}

/* S4-01: shared page patterns (keep home header/hero untouched) */
.finder-page-shell {
    padding-top: var(--finder-space-8);
    padding-bottom: var(--finder-space-10);
}

.finder-page-header {
    margin-bottom: var(--finder-space-6);
}

.finder-page-title {
    font-family: var(--finder-font-heading);
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--finder-text-strong);
    margin: 0;
}

.finder-page-subtitle {
    margin-top: var(--finder-space-2);
    color: var(--finder-muted);
    font-size: 1rem;
}

.finder-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--finder-space-3);
    margin-bottom: var(--finder-space-4);
    flex-wrap: wrap;
}

.finder-view-toggle {
    display: inline-flex;
    border: 1px solid var(--finder-border-strong);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.finder-view-toggle a {
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    border-right: 1px solid var(--finder-border);
}

.finder-view-toggle a:last-child {
    border-right: 0;
}

.finder-view-toggle a.is-active {
    background: #fef2f2;
    color: var(--finder-accent);
}

.finder-grid-tiles {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: var(--finder-space-4);
}

@media (min-width: 640px) {
    .finder-grid-tiles.cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .finder-grid-tiles.cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.finder-tile {
    background: #fff;
    border: 1px solid var(--finder-border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--finder-shadow-sm);
    transition: transform var(--finder-transition-fast), box-shadow var(--finder-transition-fast), border-color var(--finder-transition-fast);
    text-decoration: none;
    color: inherit;
}

.finder-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--finder-shadow-md);
    border-color: #cbd5e1;
    text-decoration: none;
}

.finder-tile-title {
    margin: 0 0 4px 0;
    font-size: 1.02rem;
    line-height: 1.3;
    font-weight: 700;
    color: #0f172a;
}

.finder-tile-meta {
    font-size: 0.86rem;
    color: #64748b;
}

.finder-chip-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--finder-space-4);
}

.finder-filter-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--finder-border);
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.finder-filter-chip.is-accent {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.finder-filter-chip.is-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.finder-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    padding: 36px 18px;
    text-align: center;
}

/* Listing page component styles moved from inline template CSS */
.finder-listing {
    color: #102a43;
}

.finder-hero {
    background: radial-gradient(1200px 320px at 10% -20%, #fee2e2 0%, rgba(254,226,226,0) 45%),
                radial-gradient(900px 280px at 90% 0%, #e0f2fe 0%, rgba(224,242,254,0) 45%),
                linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.finder-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

.finder-grid-label {
    font-size: 0.75rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 800;
    color: #64748b;
}

.finder-stat {
    border: 1px solid var(--finder-border);
    border-radius: 14px;
    background: #fff;
    padding: 0.9rem;
}

.finder-feature {
    border: 1px solid var(--finder-border);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    transition: all var(--finder-transition-base);
    display: block;
    color: inherit;
    text-decoration: none;
}

.finder-feature:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(2,12,27,.08);
    text-decoration: none;
}

.finder-logo {
    width: 92px;
    height: 92px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid var(--finder-border);
    background: #fff;
}

.finder-panel {
    border: 1px solid var(--finder-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--finder-shadow-sm);
    padding: 20px;
}

.finder-panel--muted {
    background: #f8fafc;
}

.finder-marketing-hero {
    border: 1px solid var(--finder-border);
    border-radius: 18px;
    background: linear-gradient(130deg, #fff1f1 0%, #ffffff 55%, #f1f5ff 100%);
    padding: 24px;
}

.finder-plan-card {
    border: 1px solid var(--finder-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--finder-shadow-sm);
    padding: 24px;
}

.finder-plan-card.is-featured {
    border-width: 2px;
    border-color: var(--finder-accent);
    box-shadow: var(--finder-shadow-md);
}

.finder-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.finder-badge--accent {
    background: var(--finder-accent);
    color: #fff;
}

.finder-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.finder-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #334155;
    font-size: 0.93rem;
}

.finder-icon-round {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fee2e2;
    color: #b91c1c;
}

.finder-stack {
    display: grid;
    gap: 12px;
}

.finder-row-card {
    border: 1px solid var(--finder-border);
    border-radius: 12px;
    background: #fff;
    padding: 12px;
}

.finder-row-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.finder-row-meta {
    margin-top: 4px;
    color: #64748b;
    font-size: 0.84rem;
}

.finder-social-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.finder-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--finder-border);
    border-radius: 12px;
    background: #fff;
    padding: 9px 12px;
    text-decoration: none;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--finder-transition-base);
}

.finder-social-link:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
}

.finder-social-link .fa {
    font-size: 1.08rem;
}

.finder-listing .barcode,
.finder-listing svg {
    max-width: 132px;
    height: auto;
}

.finder-footer {
    margin-top: 64px;
    background: #0f172a;
    color: #cbd5e1;
}

.finder-footer h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.finder-footer a {
    color: #cbd5e1;
}

.finder-footer a:hover {
    color: #fff;
}
