/* Reusable UI: buttons, tag / status pills. */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font: inherit;
    cursor: pointer;
    border: 1px solid transparent;
}

/* Sized by content. The phone stack wants full-width primary buttons, but that
 * is a layout decision belonging to the call site — baking it in here meant every
 * desktop layout had to undo it. Stretch via .btn-block or the parent's flex. */
.btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
}

.btn-block { width: 100%; }

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink-soft);
}

/* Present but not yet usable — the editor's delete button before its draft row
 * exists. Overrides .btn's cursor: pointer. */
.btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    padding: 4px 10px;
    font: inherit;
    cursor: pointer;
}

.tag,
.status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: var(--tag-bg);
    color: var(--ink-soft);
}

.status-ongoing {
    background: var(--olive);
    color: var(--accent-ink);
}

.status-completed {
    background: var(--ink-soft);
    color: var(--accent-ink);
}

.status-announced {
    background: var(--accent);
    color: var(--accent-ink);
}

.status-adult {
    background: var(--accent);
    color: var(--accent-ink);
}
