/* ============================================================
   DEMO — Componentes de Playground / Demonstração
   ============================================================
   Caixa de busca, botão de ação, indicadores de status.
   ============================================================ */

/* ========== SEARCH BOX ========== */

.demo-search-box {
    display: flex;
    gap: var(--space-3);
    align-items: stretch;
}

.demo-search-input {
    flex: 1;
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--arctic-mist);
    border-radius: var(--radius-lg);
    background: var(--cloud);
    color: var(--graphite-depth);
    outline: none;
    transition: border-color 0.15s ease;
}

.demo-search-input::placeholder {
    color: var(--soft-steel);
}

.demo-search-input:focus {
    border-color: var(--teal-intense);
}

/* ========== ACTION BUTTON ========== */

.demo-btn {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    padding: var(--space-3) var(--space-6);
    background: var(--teal-intense);
    color: var(--cloud);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.demo-btn:hover {
    opacity: 0.9;
    box-shadow: var(--shadow-md);
}

/* ========== STATUS PILL ========== */

.demo-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1.5);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.demo-status::before {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--radius-full);
}

.demo-status-online {
    background: var(--success-light);
    color: var(--success);
}

.demo-status-online::before {
    background: var(--success);
}

.demo-status-offline {
    background: var(--warning-light);
    color: var(--warning);
}

.demo-status-offline::before {
    background: var(--warning);
}
