/* Mobile Overlay Styles for Widget */
.roi-overlay.overlay-with-engine {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
}

.roi-overlay.overlay-with-engine .roi-search-engine__modal {
  position: relative;
  background: white;
  border-radius: 30px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
}

.roi-search-engine__modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 5px;
}

.roi-search-engine__modal-close svg {
  width: 24px;
  height: 24px;
  fill: #333;
}

.roi-search-engine__modal-close:hover svg {
  fill: #db4446;
}