.custom-nav-links-favicon {
    display: inline-block;
    width: 1em;
    height: 1em;
    object-fit: contain;
    vertical-align: -0.125em;
}

.custom-nav-links-item .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.custom-nav-links-item .dropdown-menu {
    min-width: 12rem;
}

.custom-nav-menu-row {
    transition: margin 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.custom-nav-menu-row.is-child {
    margin-left: 2rem;
    border-left: 0.3rem solid var(--bs-primary);
}

.custom-nav-menu-row [data-drag-handle] {
    cursor: grab;
}

.custom-nav-menu-row [data-drag-handle]:active {
    cursor: grabbing;
}

.custom-nav-menu-row.is-dragging {
    opacity: 0.45;
}

.custom-nav-menu-row.is-drop-target {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.2);
}

.custom-nav-menu-row.is-drop-before::before,
.custom-nav-menu-row.is-drop-after::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 0.25rem;
    border-radius: 999px;
    background: var(--bs-primary);
    z-index: 2;
}

.custom-nav-menu-row.is-drop-before::before {
    top: -0.65rem;
}

.custom-nav-menu-row.is-drop-after::after {
    bottom: -0.65rem;
}

.custom-nav-top-dropzone {
    padding: 0.75rem 1rem;
    border: 2px dashed var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    color: var(--bs-secondary-color);
    text-align: center;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.custom-nav-top-dropzone.is-drop-target {
    border-color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
}

@media (max-width: 575.98px) {
    .custom-nav-menu-row.is-child {
        margin-left: 1rem;
    }
}
