/* Base styles for the modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--layer-top);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease-out,
    visibility 0.2s ease-out;
}
/* Modifier for showing the modal */
.modal-overlay.is-opened {
  opacity: 1;
  visibility: visible;
}
.modal-overlay.is-login {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: transparent;
  background-image: url(/img/weav-login-bg-mango.png);
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  z-index: var(--layer-0);
  transition: none;
  visibility: visible;
}

.modal-overlay__content {
  display: flex;
  flex-direction: column;
  padding: var(--size-6);
  max-width: 100%;
  max-height: 100%;
}
