﻿/* Workflow checklist container */
.xaf-workflow-checklist {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

/* One checklist row */
.xaf-workflow-checklist-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 3px 4px;
    border-radius: 4px;
}

/* Hover effect similar to DevExpress list controls */
.xaf-workflow-checklist-row:hover {
    background: var(--dxbl-list-hover-bg, rgba(0,0,0,0.04));
}

/* Text next to checkbox */
.xaf-workflow-checklist-text {
    font-size: var(--dxbl-font-size, 0.875rem);
    line-height: 1.35;
}

/* Small alignment fix for DevExpress checkbox */
.xaf-workflow-checklist .dxbl-checkbox {
    margin-top: 2px;
}

/* Optional scroll if many affirmations */
.xaf-workflow-checklist {
    max-height: 240px;
    overflow-y: auto;
}

/* Reset default margins for text and lists */
.xaf-workflow-checklist-text p {
    margin: 0;
}

.xaf-workflow-checklist-text ul {
    margin: 4px 0 0 16px;
    padding: 0;
}

.xaf-workflow-checklist-text li {
    margin: 2px 0;
}
