.overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
}

.modal {
  width: 480px;
  min-height: 250px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff00;
}


.content_modal {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.modal_image {
  position: relative;
  z-index: 0;
  width: 100%;
  line-height: 0;
}

.modal_image_el,
.modal_image img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content_modal_title_container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72%;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

.content_modal_title_guest_container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

.content_modal_title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.content_modal_title_guest {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.content_modal_button {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.content_modal_button_guest {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon_row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #171717;
}


.title {
  font-family: var(--neue-med-font);
  padding-top: 10px;
  padding-bottom: 0px;
  font-size: 1.4rem;
  line-height: 1.45;
  font-weight: 800;
  color: #171717;
}

.accent {
  font-family: var(--neue-bold-font);
}

.code_accent {
  font-family: var(--neue-bold-font);
}

.break {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
}

.exit_footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.subtitle {
  font-size: 1rem;
  line-height: 1;
  color: rgba(6, 6, 6, 0.78);
  text-align: center;
  max-width: 80%;
}

.actions_3_buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.actions_2_buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.exit_link {
  text-decoration: none;
  color: #5e5e5e;
  font-family: var(--neue-light-font);
  font-size: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
  margin-top: 25px;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    color: black;
  }
}

.btn_exit,
.btn_continue,
.btn_primary,
.btn_primary_full,
.exit_link {
  border-radius: 20px;
  padding: 12px 14px;
  min-width: 0;
  width: 50%;
  cursor: pointer;
  color: #242424;
  margin: auto;
  border: 0.5px solid black;

}

.btn_continue {
  font-family: var(--neue-light-font);
  transition: all 0.3s ease;
  background: #a7c6ed;
}

.btn_exit {
  font-family: var(--neue-light-font);
  background: #ffffff;
}

.btn_primary,
.btn_primary_full {
  font-family: var(--neue-bold-font);
  background: #E0C8E7;
  color: black;



}

.btn_exit:disabled,
.btn_primary:disabled,
.btn_continue:disabled,
.btn_primary_full:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.icon_slider {
  animation: slider 1.2s ease-in-out infinite;
}

@keyframes slider {
  0% {
    transform: translateX(500%);
  }

  100% {
    transform: translateX(0);
  }
}


@media only screen and (max-width: 720px) {
  .modal {
    padding: 10px 10px 20px;
    width: min(100%, 400px);
  }

  .title {
    font-size: 1rem;
    padding-top: 5px;
    margin: 0;
  }

  .subtitle {
    font-size: 0.8rem;
    max-width: 90%;
  }

  .btn_exit,
  .btn_primary,
  .btn_continue,
  .btn_primary_full, .exit_link {
    padding: 8px 7px;
    font-size: 0.7rem;
  }

  .slot_icon {
    width: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  .actions_3_buttons {
    gap: 5px;
  }

  .actions_2_buttons {
    gap: 5px;
  }
  

}