/* Patch 386: keep the language prompt above all global Bootstrap layers. */
.mp-language-mismatch-modal {
  z-index: 2147483001 !important;
}

body.mp-language-mismatch-open > .modal-backdrop,
body.mp-language-mismatch-open .modal-backdrop {
  z-index: 2147483000 !important;
}

.mp-language-mismatch-modal .modal-dialog {
  max-width: 620px;
}

.mp-language-mismatch-modal .modal-content {
  border: 2px solid #20242a;
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.mp-language-mismatch-modal .modal-header,
.mp-language-mismatch-modal .modal-footer {
  border-radius: 0;
}

.mp-language-mismatch-modal .modal-header {
  border-bottom: 1px solid #d8dde3;
  background: #f4f6f8;
}

.mp-language-mismatch-modal .modal-footer {
  border-top: 1px solid #d8dde3;
  gap: .65rem;
}

.mp-language-mismatch-modal .btn {
  border-radius: 0;
  font-weight: 700;
}

.mp-language-mismatch-modal .btn-danger {
  background: #B8001F;
  border-color: #B8001F;
  color: #fff;
}

.mp-language-mismatch-brand {
  margin-bottom: .25rem;
  color: #B8001F;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mp-language-mismatch-fallback-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(0, 0, 0, .58);
}

.mp-language-mismatch-modal.mp-language-mismatch-fallback-show {
  display: block;
  z-index: 2147483001;
}

@media (max-width: 575.98px) {
  .mp-language-mismatch-modal .modal-dialog {
    margin: 1rem;
  }

  .mp-language-mismatch-modal .modal-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .mp-language-mismatch-modal .modal-footer .btn {
    width: 100%;
  }
}
