/* =========================================================
   FLOATING LANGUAGE PROMPT
   Desktop: middle-left
   Mobile: bottom sheet
========================================================= */

body > .lg-language-prompt {
  position: fixed !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 24px !important;
  z-index: 999999 !important;

  display: flex !important;
  align-items: center;
  gap: 14px;

  width: min(340px, calc(100vw - 48px)) !important;
  margin: 0 !important;
  padding: 18px 48px 18px 18px !important;

  border: 1px solid rgba(37, 60, 120, 0.14) !important;
  border-radius: 18px !important;

  background: var(--lg-white, #ffffff) !important;
  color: var(--lg-text-dark, #112337) !important;

  box-shadow: 0 16px 40px rgba(17, 35, 55, 0.2) !important;

  opacity: 0;
  visibility: hidden;
  transform: translate(-18px, -50%);

  transition:
	opacity 0.25s ease,
	visibility 0.25s ease,
	transform 0.25s ease;
}

body > .lg-language-prompt.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.lg-language-prompt__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lg-blue-soft, #eef3fd);
  font-size: 23px;
}

.lg-language-prompt__content {
  flex: 1;
  min-width: 0;
}

.lg-language-prompt__content p {
  margin: 0 0 10px !important;
  color: var(--lg-blue, #253c78) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.lg-language-prompt__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 9px 16px !important;
  border-radius: 999px !important;

  background: var(--lg-pink, #d36582) !important;
  color: var(--lg-white, #ffffff) !important;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;

  text-decoration: none !important;

  transition:
	background-color 0.2s ease,
	transform 0.2s ease;
}

.lg-language-prompt__button:hover,
.lg-language-prompt__button:focus {
  transform: translateY(-1px);
  background: var(--lg-pink-dark, #c4586e) !important;
  color: var(--lg-white, #ffffff) !important;
}

.lg-language-prompt__close {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 50% !important;

  background: transparent !important;
  color: var(--lg-blue, #253c78) !important;

  font-size: 25px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.lg-language-prompt__close:hover,
.lg-language-prompt__close:focus {
  background: var(--lg-blue-soft, #eef3fd) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  body > .lg-language-prompt {
	top: auto !important;
	right: 16px !important;
	bottom: 16px !important;
	left: 16px !important;

	width: auto !important;
	padding: 16px 44px 16px 16px !important;

	transform: translateY(18px);
  }

  body > .lg-language-prompt.is-visible {
	transform: translateY(0);
  }

  .lg-language-prompt__icon {
	flex-basis: 42px;
	width: 42px;
	height: 42px;
	font-size: 21px;
  }

  .lg-language-prompt__content p {
	font-size: 14px;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  body > .lg-language-prompt,
  .lg-language-prompt__button {
	transition: none !important;
  }
}