/* Card + alerts (keep existing look) */
.blsa-subs-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
}

.blsa-subs-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.blsa-subs-row.blsa-subs-row-onecol {
    flex-direction: column;
    gap: 16px;
}

.blsa-subs-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 16px 0;
}

.blsa-subs-delivery {
    width: 100%;
}

.blsa-subs-col {
    flex: 1 1 0;
    min-width: 300px;
}

.blsa-subs-alert.success {
    background: #f0fdf4;
    color: #065f46;
    padding: 10px;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    margin-bottom: 12px;
}

.blsa-subs-alert.error {
    background: #fef2f2;
    color: #991b1b;
    padding: 10px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin-bottom: 12px;
}

.blsa-subs-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.blsa-subs-toolbar .spacer {
    flex: 1;
}

/* Hierarchy styles (dashboard) */
#blsa-subs-hierarchy ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#blsa-subs-hierarchy li {
    margin: 6px 0;
}

.subs-navrow {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
}

.subs-navrow:hover {
    background: #fafafa;
}

.subs-navrow:focus-within {
    outline: 2px solid rgba(13, 110, 253, 0.25);
    outline-offset: 2px;
}

.subs-name {
    font-weight: 600;
}

.subs-count {
    color: #666;
    font-size: 12px;
    margin-left: 4px;
}

.subs-expand {
    background: transparent;
    border: 0;
    width: auto;
    height: auto;
    padding: 0;
    font-weight: 700;
    line-height: 1;
}

.subs-children {
    margin: 6px 0 0 18px;
}

label.subs-deliv {
    display: block;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

label.subs-deliv:hover {
    background: #fafafa;
}

.subs-branch-toggleall {
    margin-left: auto;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}

.subs-branch-toggleall:hover {
    background: #f3f4f6;
}

.blsa-subs-highlight {
    background: #fff3bf;
    color: #92400e;
    padding: 0 2px;
    border-radius: 3px;
}

.blsa-subs-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blsa-subs-status {
    margin-top: 10px;
    font-size: 13px;
    min-height: 18px;
}