.lmw-checklist {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
}

.lmw-checklist-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    min-height: var(--lmw-cl-min-height, 0);
    box-sizing: border-box;
    text-decoration: none;
    cursor: default;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    background: var(--lmw-cl-bg, #f0f0f0);
    color: var(--lmw-cl-color, #666666);
}

.lmw-checklist-pill[href] { cursor: pointer; }

.lmw-checklist-pill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.lmw-checklist-pill__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
}

.lmw-checklist-pill__icon i {
    display: block;
    flex-shrink: 0;
}

.lmw-checklist-pill__text {
    line-height: 1.3;
    color: var(--lmw-cl-text, #444444);
}

.lmw-checklist-pill:not(.lmw-checklist-pill--no-hover):hover {
    transform: scale(1.05);
}

.lmw-checklist-pill--success {
    --lmw-cl-bg: #d4fcd5;
    --lmw-cl-color: #00c220;
}
.lmw-checklist-pill--success:hover .lmw-checklist-pill__text { color: #1e6b21; }

.lmw-checklist-pill--danger {
    --lmw-cl-bg: #ffe3e3;
    --lmw-cl-color: #ff3333;
}
.lmw-checklist-pill--danger:hover .lmw-checklist-pill__text { color: #9c1c1c; }

.lmw-checklist-pill--neutral {
    --lmw-cl-bg: #eeeeee;
    --lmw-cl-color: #666666;
}

.lmw-checklist-pill--custom .lmw-checklist-pill__text { color: var(--lmw-cl-color, #333333); }
.lmw-checklist-pill--custom .lmw-checklist-pill__icon { color: var(--lmw-cl-color, #333333); }
.lmw-checklist-pill--custom .lmw-checklist-pill__icon svg { fill: var(--lmw-cl-color, #333333); }
