/* Movinera site preferences modal — shared across / and /lp/ */
.mv-prefs-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 5vh, 64px) 24px;
  overflow-y: auto;
}

.mv-prefs-modal[hidden] {
  display: none !important;
}

.mv-prefs-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(14, 42, 71, 0.55);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.mv-prefs-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(14, 42, 71, 0.18);
}

.mv-prefs-modal__close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6eaef;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  color: #4c6480;
}

.mv-prefs-modal__close:hover {
  border-color: #12a5aa;
}

.mv-prefs-modal__close svg {
  display: block;
}

.mv-prefs-modal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-inline-end: 44px;
  color: #0e2a47;
}

.mv-prefs-modal__lead {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4c6480;
}

.mv-prefs-modal__field {
  margin-top: 24px;
}

.mv-prefs-modal__field + .mv-prefs-modal__field {
  margin-top: 18px;
}

.mv-prefs-modal__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #7a8fa6;
}

.mv-prefs-modal__select,
.mv-prefs-modal__currency {
  margin-top: 8px;
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #dde4ec;
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: #0e2a47;
  box-sizing: border-box;
}

.mv-prefs-modal__select {
  cursor: pointer;
}

.mv-prefs-modal__currency {
  display: flex;
  align-items: center;
  border-color: #e6eaef;
  background: #f7f9fb;
  color: #4c6480;
}

.mv-prefs-modal__note {
  margin: 8px 0 0;
  font-size: 13px;
  color: #8296ac;
}

.mv-prefs-modal__save {
  margin-top: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: #0e2a47;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.mv-prefs-modal__save:hover {
  background: #12a5aa;
}

@media (max-width: 767px) {
  .mv-prefs-modal {
    align-items: stretch;
    padding: 0;
  }

  .mv-prefs-modal__card {
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    padding: 24px 20px 32px;
  }
}
