/* empty-state.css — Shared empty / error state placeholder */

.tasks-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 64px 24px;
    text-align: center;
    min-height: 240px;
}

.tasks-empty .empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--bg-hover);
    color: var(--text-muted);
}

.tasks-empty p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.tasks-empty .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius, 6px);
    cursor: pointer;
    transition: filter 0.15s;
}

.tasks-empty .btn-primary:hover {
    filter: brightness(1.1);
}

/* Empty-space surface (AB#12573/06): the scoped space's name headlines its
   isolated empty state. */
.chaos-empty-space .chaos-empty-space-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}
