/* Default modal styles */

.intersearch-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.intersearch-modal {
  background-color: white;
  padding: 20px;
  border-radius: 4px;
}

.intersearch-modal-header {
  display: flex;
}

.intersearch-modal-content {
}

.intersearch-modal-close {
  margin-left: auto;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: color 0.3s;
  font-size: 1.5rem;
}

.intersearch-modal-close:hover {
  color: rgba(0, 0, 0, 0.5);
}

.intersearch-modal-fade-enter-active,
.intersearch-modal-fade-leave-active {
  transition: opacity 0.5s ease;
}

.intersearch-modal-fade-enter-from,
.intersearch-modal-fade-leave-to {
  opacity: 0;
}

.intersearch-spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.intersearch-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid rgba(0, 0, 0, 0.5);
  border-top-color: #ffffff;
  animation: intersearch_spin 1s ease-in-out infinite;
}

@keyframes intersearch_spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
