/* Social Media ID Finder - uses VAL Solution root theme variables */
/* ── Reset & base ────────────────────────────────────────── */
.smid-page, .smid-page * { box-sizing: border-box; }

/* ── Page shell ──────────────────────────────────────────── */
.smid-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 20px 72px;
    font-family: var(--font-body);
    color: var(--text-strong);
}

/* ── Hero ────────────────────────────────────────────────── */
.smid-hero {
    text-align: center;
    margin-bottom: 36px;
}
.smid-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.smid-hero h1 {
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 14px;
    color: var(--text-strong);
}
.smid-hero h1 span { color: var(--accent); }
.smid-hero p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Platform pills ──────────────────────────────────────── */
.smid-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.smid-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--panel-soft);
    border: 1px solid var(--header-border);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 999px;
    transition: background .15s, border-color .15s;
}
.smid-pill svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Tool card ───────────────────────────────────────────── */
.smid-card {
    background: var(--panel);
    border: 1px solid var(--header-border);
    border-radius: 20px;
    padding: 28px 28px 24px;
    box-shadow: 0 4px 24px rgba(15,23,42,.08);
}

/* ── Input row ───────────────────────────────────────────── */
.smid-input-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.smid-input-wrap input {
    flex: 1;
    height: 52px;
    border: 1.5px solid var(--header-border);
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    color: var(--text-strong);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: var(--panel-soft);
}
.smid-input-wrap input:focus {
    border-color: var(--accent);
    background: var(--panel);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.smid-find-btn {
    height: 52px;
    border: 0;
    border-radius: 12px;
    padding: 0 26px;
    background: var(--accent);
    color: var(--panel);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, transform .1s;
}
.smid-find-btn:hover { background: var(--accent-strong); }
.smid-find-btn:active { transform: scale(.97); }
.smid-find-btn.loading { opacity: .7; pointer-events: none; }

/* ── Examples ────────────────────────────────────────────── */
.smid-examples {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 0;
}
.smid-examples code {
    background: var(--panel-hover);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-soft);
}

/* ── Status bar ──────────────────────────────────────────── */
.smid-status {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 16px;
    min-height: 20px;
}
.smid-status.error { color: #dc2626; }
.smid-status.success { color: #16a34a; }

/* ── Result box ──────────────────────────────────────────── */
.smid-result {
    margin-top: 20px;
    border-top: 1px solid var(--panel-hover);
    padding-top: 20px;
    display: none;
}
.smid-result.visible { display: block; }

.smid-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.smid-result-item {
    background: var(--panel-soft);
    border: 1px solid var(--header-border);
    border-radius: 12px;
    padding: 14px 16px;
}
.smid-result-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.smid-result-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-strong);
    word-break: break-all;
}
.smid-result-value.is-id {
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 14px;
}
.smid-result-value a {
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.smid-result-value a:hover { text-decoration: underline; }

.smid-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--text-strong);
    color: var(--panel);
    border: 0;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.smid-copy-btn:hover { background: #1e293b; }
.smid-copy-btn.copied { background: #16a34a; }

/* ── Feature strip ───────────────────────────────────────── */
.smid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}
.smid-feature {
    background: var(--panel-soft);
    border: 1px solid var(--header-border);
    border-radius: 14px;
    padding: 18px 16px;
}
.smid-feature-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.smid-feature-icon svg { width: 16px; height: 16px; color: var(--accent); }
.smid-feature h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-strong);
}
.smid-feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── SEO content ─────────────────────────────────────────── */
.smid-seo {
    margin-top: 52px;
    color: var(--text-soft);
    line-height: 1.75;
}
.smid-seo h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-strong);
    margin: 32px 0 10px;
}
.smid-seo h2:first-child { margin-top: 0; }
.smid-seo p { margin-bottom: 12px; }
.smid-seo ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.smid-seo ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}
.smid-seo ul li::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.smid-faq { margin-top: 52px; }
.smid-faq h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 20px;
}
.smid-faq-item {
    border: 1px solid var(--header-border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
.smid-faq-q {
    width: 100%;
    background: var(--panel-soft);
    border: 0;
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-strong);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.smid-faq-q span.icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--header-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .2s, transform .2s;
}
.smid-faq-item.open .smid-faq-q span.icon {
    background: var(--accent);
    color: var(--panel);
    transform: rotate(45deg);
}
.smid-faq-a {
    display: none;
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
}
.smid-faq-item.open .smid-faq-a { display: block; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .smid-input-wrap { flex-direction: column; }
    .smid-find-btn { height: 48px; }
    .smid-result-grid { grid-template-columns: 1fr; }
    .smid-features { grid-template-columns: 1fr; }
    .smid-seo ul { grid-template-columns: 1fr; }
}