.lang-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  color: #0f172a;
  font-family: inherit;
}

.lang-modal.is-open {
  display: flex;
}

.lang-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.lang-modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  width: min(92vw, 340px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lang-modal__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.lang-modal__desc {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}

.lang-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lang-modal__btn {
  appearance: none;
  border: 1px solid #d0d7e5;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.lang-modal__btn:hover,
.lang-modal__btn:focus-visible {
  background: #1f3fb8;
  border-color: #1f3fb8;
  color: #ffffff;
  outline: none;
}

body.lang-modal-open {
  overflow: hidden;
}
