@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* MODAL */

#blocked-country-modal {
  --transitionDuration: 0.5s;
  display: flex !important;
  padding-block-start: 60rem;
  position: fixed;
  height: 100%;
  height: 100dvh;
  width: 100%;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 221;
  background: hsl(from #000 h s l / 0%);
  pointer-events: none;
  transition: background var(--transitionDuration) ease,
    visibility 0.0001s linear;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  padding-inline: 0;
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
    sans-serif;
}

@media (orientation: landscape) {
  #blocked-country-modal {
    padding-block: 20rem;
  }
}

@media (min-height: 820px) and (orientation: landscape) {
  #blocked-country-modal {
    padding-block: 60rem;
  }
}

#blocked-country-modal *::-webkit-scrollbar {
  display: none;
}

#blocked-country-modal * {
  scrollbar-width: none;
}

#blocked-country-modal.active {
  pointer-events: auto;
  background: hsl(from #000 h s l / 75%);
}

#blocked-country-modal:not(.active) {
  visibility: hidden;
  transition-delay: 0s, var(--transitionDuration);
}

#blocked-country-modal .wrapper {
  --modalPx: 16rem;
  --modalPy: 20rem;
  --modalRadius: 24rem;
  --modalMaxHeight: 276rem;
  display: flex;
  flex-direction: column;
  transition: translate 0.35s ease, opacity 0.35s ease;
  padding-block: var(--modalPy) calc(56rem + env(safe-area-inset-bottom, 0));
  padding-inline: var(--modalPx);
  border-top-left-radius: var(--modalRadius);
  border-top-right-radius: var(--modalRadius);
  color: #000;
  width: 100%;
  max-width: 100%;
  max-height: var(--modalMaxHeight);
  height: 100%;
  margin-block-start: auto;
  background: #fff;
}

@media (orientation: landscape) {
  #blocked-country-modal .wrapper {
    --modalPx: 24rem;
    --modalPy: 24rem;
    --modalMaxHeight: 550rem;
    max-width: 472rem;
    border-radius: 24rem;
    border-bottom-left-radius: var(--modalRadius);
    border-bottom-right-radius: var(--modalRadius);
    margin-block-start: 0;
    background: #f7f7f7;
    padding-block-end: var(--modalPy);
  }
}

#blocked-country-modal:not(.active) .wrapper {
  translate: 0 100%;
}

@media (orientation: landscape) {
  #blocked-country-modal:not(.active) .wrapper {
    translate: 0 60rem;
    opacity: 0;
  }
}

#blocked-country-modal .wrapper .content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-height: 100%;
}

#blocked-country-modal .wrapper .content .mapWrapper {
  border: 3rem solid #ecf0f5;
  background: #f7f9fb;
  align-items: center;
  justify-content: center;
  padding-block: 20rem;
  padding-inline: 16rem;
  border-radius: 16rem;
  display: none;
  margin-block-end: 32rem;
  max-height: 246rem;
  height: 25dvh;
  user-select: none;
}

@media (orientation: landscape) {
  #blocked-country-modal .wrapper .content .mapWrapper {
    display: flex;
  }
}

#blocked-country-modal .wrapper .content .mapWrapper .map {
  max-height: 100%;
}

#blocked-country-modal .wrapper .content .title {
  font-size: 20rem;
  line-height: 125%;
  font-weight: 700;
  color: #303345;
  text-align: center;
  margin-block-end: 8rem;
}

@media (orientation: landscape) {
  #blocked-country-modal .wrapper .content .title {
    margin-block-end: 16rem;
  }
}

#blocked-country-modal .wrapper .content .description {
  font-size: 14rem;
  line-height: 141%;
  color: #303345;
  font-weight: 400;
  text-align: center;
  margin-block-end: 24rem;
}

@media (orientation: landscape) {
  #blocked-country-modal .wrapper .content .description {
    margin-block-end: 32rem;
  }
}

#blocked-country-modal .wrapper .content .btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8rem;
  width: 100%;
  line-height: 1;
  max-width: 100%;
  text-align: center;
  text-decoration: none;
  background: #070707;
  color: #ffffff;
  font-weight: 500;
  gap: 8rem;
  padding: 4rem 8rem;
  font-size: 14rem;
  height: 44rem;
  min-width: 180rem;
  flex-shrink: 0;
}

#blocked-country-modal .wrapper .content .btn:not(:last-child) {
  margin-block-end: 12rem;
}

@media (orientation: landscape) {
  #blocked-country-modal .wrapper .content .btn {
    margin-block-start: auto;
  }
}

@media (hover: hover) {
  #blocked-country-modal .wrapper .content .btn:hover {
    background: hsl(from #070707 h s 15%);
  }
}

#blocked-country-modal .wrapper .content .btn:active,
#blocked-country-modal .wrapper .content .btn:focus-visible {
  background: hsl(from #070707 h s 22%);
}

#blocked-country-modal .wrapper .content .btn .icon {
  width: 22rem;
}
