.pill-primary {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1); 
}
.pill-primary.md-primary {
    background: var(--esic-primary, #036f5a);
    color: #fff;
}

.pill-secondary {
    background: #9e9e9e;
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--esic-primary, #036f5a) 12%, transparent);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);  
    margin-right: 8px;
}
.icon-badge i {
    font-size: 14px;
}
.icon-badge.md-primary i {
    color: var(--esic-primary, #036f5a);
}

.action-link {
    cursor: pointer;
    text-decoration: none;
}
.action-link:hover {
    text-decoration: none;
}

.collapse-action-wrapper {
    position: relative;
    margin-top: 45px
}
.collapse-action-wrapper > collapse-card {
    display: block;
}


.collapse-action-btn {
    position: absolute;
    top: -10px;  
    right: 50px;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    cursor: pointer;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    background: color-mix(in srgb, var(--esic-primary, #036f5a) 12%, transparent);
    color: var(--esic-primary, #036f5a);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.collapse-action-btn i {
    font-size: 12px;
    line-height: 1;
}
.collapse-action-btn:hover {
    background: color-mix(in srgb, var(--esic-primary, #036f5a) 18%, transparent);
}
.collapse-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--esic-primary, #036f5a) 22%, transparent);
}

.attachment-list {
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}
.attachment-item {
    padding: 3px 0 3px 10px;
    border-bottom: 1px solid #eee;
}
.attachment-item:last-child {
    border-bottom: 0;
}
.attachment-item__name {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}
.attachment-item__icon {
    margin-right: 8px;
    color: #777;
}
.attachment-item__meta {
    flex: 0 0 auto;
    min-width: 130px;
}
.attachment-item__size {
    color: #777;
    font-size: 12px;
    position: relative;
    top: 2px;
}
.attachment-item__remove-btn {
    min-width: 24px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    margin: 0 0 0 4px !important;
    padding: 0;
}

