@media (min-width: 992px) {
  .bg-manage-tr .bg-manage-menu div { display: none !important; }
  .bg-manage-tr:hover .bg-manage-menu div { display: block !important; }
}

.bg-manage-tr .bg-manage-menu { min-height: 1.5rem; font-size: 0.9rem; }

@media (max-width: 991px) {
  .bg-sidebar .accordion-item,
  .bg-sidebar .accordion-item .accordion-button {
    border-left: 0 !important; border-right: 0 !important; border-radius: 0;
  }
}

.bg-sidebar .nav-link { padding: 0.4rem 0; }
.bg-sidebar .nav-link.active { color: var(--dark); }

.bg-form-accordion .accordion-body { padding: 0.6rem 1rem; }
.bg-sidebar .accordion-body { padding: 0.6rem 1rem 0.6rem 2.25rem; }

.bg-form-accordion .accordion-button,
.bg-sidebar .accordion-link,
.bg-sidebar .accordion-button { padding: 0.8rem 1rem; box-shadow: none; }

.bg-sidebar .accordion-link.collapsed,
.bg-sidebar .accordion-button.collapsed { background-color: #fff; }

.bg-form-accordion .accordion-button:not(.collapsed) { background-color: #b8daff; color: var(--dark); }

.bg-sidebar .accordion-link:not(.collapsed),
.bg-sidebar .accordion-button:not(.collapsed) { background-color: var(--success); }

.bg-sidebar .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8f9fa'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(0);
}

.bg-sidebar .accordion-button::after { transform: rotate(-90deg); }
.bg-form-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.bg-dad-placeholder { border: 1px dashed var(--danger); border-radius: 0.25rem; }
.bg-dad-clone { background: rgba(226, 227, 229, 0.8); box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; }
