@import url("https://fonts.googleapis.com/css2?family=Inter:opsz@14..32&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500;600&display=swap");

.inter {
  color: white;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.barlow_semi_condensed {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-style: normal;
}

.font_regular {
  font-weight: 400;
}

.hidden {
  display: none !important;
}

.text_bluegrey {
  color: #7582a6;
}

.ez_exitgame {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  z-index: 10;
  top: 5px;
  right: 12px;

  font-size: 12px;
  border-radius: 10px;
  background-color: #0b101d;
  user-select: none;

  @media (min-width: 1024px) {
    display: none;
  }
}

.backlayer_main_container {
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  z-index: 2; /* Sit on top */
  display: none; /* Hidden by default, set to 'flex' to show */
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.funbonus_modal_backlayer {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;
  background-color: black;

  /*
  To show the modal
  you have to add the class open to the div
  with class funbonus_modal_backlayer
  */

  &.open {
    display: flex;
  }
}

.funbonus_modal_container {
  display: none; /* Hidden by default, set to 'flex' to show */
  flex-direction: column;
  overflow: hidden;
  background-color: white;
  border-radius: 6px;
  width: 100%;
  max-width: 350px;
  color: #243561;

  @media (min-width: 1024px) {
    /* border: 2px solid #d3d7e0; */
    max-width: 664px;
  }
}

.funbonus_modal_header {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;

  padding: 16px;
  width: 100%;

  background-color: white;
  border-bottom: 1px solid #d3d7e0;
}

.funbonus_modal_header_closeIcon {
  user-select: none;
  cursor: pointer;
  margin-left: auto;
}

.funbonus_modal_header_title {
  font-size: 18px;
  font-weight: 600;
}

.funbonus_modal_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px 28px;
  gap: 24px;
}

.funbonus_content_title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.choice_card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  box-shadow: -1px 2px 6px 3px rgba(82, 99, 143, 0.2);
  overflow: hidden;
  user-select: none;
  background-color: white;
  color: #243561;
  font-weight: 600;
  border: 2px solid #d3d7e0;
  cursor: pointer;
}

.choice_image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 100%;
}

.card_content_container {
  display: flex;
  width: 100%;
  gap: 16px;
  align-items: center;
  white-space: nowrap;
}

.saldo_reale_image {
  background-image: url("https://images.eurobet.it/images/authoring/gaming/game-launcher/frontend/bonus-reale-new.jpg");
}

.saldo_funbonus_image {
  background-image: url("https://images.eurobet.it/images/authoring/gaming/game-launcher/frontend/funbonus-new.jpg");
}

.card_content_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 100%;
  font-weight: 600;
}

.card_amount_row {
  display: flex;
  justify-content: space-between;
}

.card_content_title {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0px;
}

.card_content_text {
  display: flex;
  flex-direction: column;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0px;

  @media (min-width: 1024px) {
    font-size: 16px;
    margin-top: 6px;
  }
}

.fb_progress_component {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.fb_progress_bar_container {
  display: flex;
  gap: 13px;
  align-items: center;
}

.fb_progress_bar_backlayer {
  display: flex;
  height: 12px;
  background-color: #d9d9d9;
  border-radius: 10px;
  width: 100%;
  overflow: hidden;
}

.fb_progress_bar {
  background-color: #007aff;
  border-radius: 10px;
  width: 0%;
}

.funbonus_progress_amount {
  flex-shrink: 0;
}

/*####### DELETE BONUS MODALS ##########*/

#delete_funbonus_icon {
  cursor: pointer;
  &:hover {
    color: #007aff;
  }
}

.fb_deletebonus_content {
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0 0;
  gap: 24px;
}

.fb_delete_modal_text {
  font-size: 20px;
  text-align: center;
  padding: 0 24px;
  @media (min-width: 1024px) {
    font-size: 24px;
  }
}

.fb_deletebonus_footer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  padding: 24px;
  gap: 8px;
  width: 100%;

  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-top: 1px solid #d3d7e0;

  @media (min-width: 1024px) {
    gap: 16px;
    /* border: unset; */
  }
}

.fb_delete_main_cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  flex-basis: 50%;

  background-color: #198662;
  border-radius: 4px;
  padding: 8px 0;
  color: white;

  text-align: center;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;

  @media (min-width: 1024px) {
    flex-basis: auto;
    font-size: 20px;
    padding: 10px 16px;
  }
}

.fb_delete_secondary_cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  flex-basis: 50%;

  background-color: white;
  border-radius: 4px;
  padding: 7px 8px;
  color: #198662;

  text-align: center;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;

  border: 1px solid #198662;

  @media (min-width: 1024px) {
    flex-basis: auto;
    font-size: 20px;
    padding: 9px 16px;
  }
}

/* @@@@@@@@@@ OUTCOME MODAL @@@@@@@@@@ */

.fb_outcome_content {
  display: none;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  gap: 24px;

  @media (min-width: 1024px) {
    padding-top: 32px;
    /* border: unset; */
  }
}

.fb_outcome_circle_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.fb_outcome_footer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  padding: 24px;
  gap: 8px;
  margin-top: 48px;
  width: 100%;

  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-top: 1px solid #d3d7e0;

  @media (min-width: 1024px) {
    gap: 16px;
    margin-top: 8px;
    padding: 62px;
    border: unset;
  }
}
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

/*######################################*/

/*####### GENERIC MODAL ##########*/

.semi-transparent {
  background-color: #0c193ddd;
}

.funbonus_modal_content.generic {
  padding-bottom: 16px;

  @media (min-width: 1024px) {
    padding: 32px 48px;
    gap: 40px;
  }
}

.funbonus_modal_content_text {
  font-size: 16px;
  font-style: Regular;

  @media (min-width: 1024px) {
    font-size: 24px;
  }
}

.funbonus_modal_footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 24px 24px;
  gap: 14px;
  width: 100%;

  @media (min-width: 1024px) {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
    padding: 24px 48px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-top: 1px solid #d3d7e0;
  }
}

.modal_main_cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #198662;
  border-radius: 4px;
  padding: 9px 0;

  text-align: center;
  font-weight: 400;
  font-size: 18px;
  color: white;
  cursor: pointer;

  @media (min-width: 1024px) {
    padding: 10px 16px;
    width: auto;
  }
}

.modal_secondary_cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 4px;
  padding: 4px 0;

  color: #198662;
  background-color: white;
  border: 1px solid #198662;

  text-align: center;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;

  @media (min-width: 1024px) {
    padding: 10px 16px;
    width: auto;
  }
}
/* ########################### */
