/* YouTube Channel ID Finder - uses VAL Solution root theme variables */
/* ── Reset ───────────────────────────────────────────────── */
.cid-page, .cid-page * { box-sizing: border-box; }

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

/* ── Hero ────────────────────────────────────────────────── */
.cid-hero { text-align: center; margin-bottom: 32px; }
.cid-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,0,0,.08);
    color: #ff0000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.cid-hero h1 {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 12px;
}
.cid-hero h1 span { color: #ff0000; }
.cid-hero p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto;
}

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

/* ── Input ───────────────────────────────────────────────── */
.cid-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.cid-input-row 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);
    background: var(--panel-soft);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.cid-input-row input:focus {
    border-color: #ff0000;
    background: var(--panel);
    box-shadow: 0 0 0 3px rgba(255,0,0,.12);
}
.cid-find-btn {
    height: 52px;
    border: 0;
    border-radius: 12px;
    padding: 0 24px;
    background: #ff0000;
    color: var(--panel);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, transform .1s;
}
.cid-find-btn:hover { background: #cc0000; }
.cid-find-btn:active { transform: scale(.97); }
.cid-find-btn.loading { opacity: .7; pointer-events: none; }

/* ── Hint ────────────────────────────────────────────────── */
.cid-hint {
    font-size: 12.5px;
    color: var(--text-muted);
}
.cid-hint code {
    background: var(--panel-hover);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-soft);
}

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

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

.cid-result-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.cid-result-item {
    background: var(--panel-soft);
    border: 1px solid var(--header-border);
    border-radius: 12px;
    padding: 14px 16px;
}
.cid-result-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.cid-result-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-strong);
    word-break: break-all;
}
.cid-result-value.is-id {
    color: #ff0000;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: .02em;
}

.cid-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;
}
.cid-copy-btn:hover  { background: var(--text-soft); }
.cid-copy-btn.copied { background: #16a34a; }

/* ── Features ────────────────────────────────────────────── */
.cid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.cid-feature {
    background: var(--panel-soft);
    border: 1px solid var(--header-border);
    border-radius: 14px;
    padding: 16px;
}
.cid-feature h3 { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--text-strong); }
.cid-feature p  { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* ── SEO ─────────────────────────────────────────────────── */
.cid-seo {
    margin-top: 48px;
    color: var(--text-soft);
    line-height: 1.75;
    font-size: 15px;
}
.cid-seo h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-strong);
    margin: 28px 0 10px;
}
.cid-seo h2:first-child { margin-top: 0; }
.cid-seo p { margin-bottom: 10px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 560px) {
    .cid-input-row { flex-direction: column; }
    .cid-features  { grid-template-columns: 1fr; }
}