.mg-quote {
  padding: 72px 24px 80px;
  background: #fff;
  color: #0b0c0c;
  overflow: hidden;
  background-image: var(--quote-bg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.mg-quote__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.mg-quote__header {
  text-align: left;
  margin-bottom: 40px;
}

.mg-quote__title {
  margin: 0 0 16px;
  font-family: var(--font-geely);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 64px;
  line-height: 64px;
  letter-spacing: 0px;
}

.mg-quote__desc {
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0px;
  vertical-align: middle;
}

/* Tabs (mismo estilo que models-geely) */
.mg-quote__tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: 100%;
  margin-top: 18px;
  margin-bottom: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.mg-quote__tab {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;

  padding: 12px 16px 24px;
  text-align: start;

  font-family: var(--font-geely);

  color: #afb6b9;
  position: relative;

  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 1px;
  vertical-align: middle;
}

.mg-quote__tabLabel {
  display: block;
}

.mg-quote__tabText {
  display: block;
  margin-top: 11px;
  font-family: var(--font-inter);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #0b0c0c;
  opacity: 0.9;
  font-size: 16px;
  line-height: 22px;
}

.mg-quote__tab.is-active {
  color: #027bff;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.mg-quote__tab.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: #027bff;
}

.mg-quote__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  background: linear-gradient(
    180deg,
    rgba(2, 123, 255, 0.14) 0%,
    rgba(2, 123, 255, 0) 100%
  );
  pointer-events: none;
}

/* Estado bloqueado (cuando aún no puedes ir al paso 2) */
.mg-quote__tab.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* Layout */
.mg-quote__content {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 36px;
  margin-top: 22px;
  align-items: start;
}

.mg-quote__left {
  padding-top: 10px;
}

.mg-quote__productName {
  font-family: var(--font-geely);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 4px;
  vertical-align: bottom;
}

.mg-quote__carWrap {
  margin-top: 18px;
}

.mg-quote__carImg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.22));
}

.mg-quote__leftMeta {
  margin-top: 14px;
}

.mg-quote__modelName {
  font-family: var(--font-geely);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mg-quote__modelYear {
  margin-top: 6px;
  font-family: var(--font-inter);
  font-size: 13px;
  opacity: 0.9;
}

/* Paso 2: solo seleccionado */
.mg-quote__colorRow {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mg-quote__colorDot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ccc;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mg-quote__colorText {
  font-family: var(--font-inter);
  font-size: 13px;
}

/* Panels */
.mg-quote__panel {
  display: none;
}
.mg-quote__panel.is-active {
  display: block;
}

/* Cards */
.mg-quote__cards {
  display: grid;
  gap: 18px;
}

.mg-quoteCard {
  width: 100%;
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0px 4px 4px 0px #bdbdbd80;
}

.mg-quoteCard.is-selected {
  border: 3px solid #027bff;
}

.mg-quoteCard__media {
  border-radius: 10px;
  background: transparent;
  padding: 10px;
}
.mg-quoteCard__img {
  width: 100%;
  height: 136px;
  object-fit: contain;
  display: block;
}

.mg-quoteCard__title {
  font-family: var(--font-geely);
  text-transform: uppercase;
  color: #0b0c0c;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 1px;
  vertical-align: middle;
}

.mg-quoteCard__label {
  margin-top: 6px;
  font-family: var(--font-inter);
  opacity: 0.8;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  vertical-align: middle;
}

.mg-quoteCard__price {
  margin-top: 6px;
  font-family: var(--font-geely);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 1px;
  vertical-align: middle;
}

.mg-quoteCard__dot {
  margin: 0 8px;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
}

.mg-quoteCard__yearRow {
  margin-top: 8px;
}

.mg-quoteCard__yearTag {
  display: inline-block;
  font-family: var(--font-inter);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(2, 123, 255, 0.1);
  color: #027bff;
}

.mg-quoteCard__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.18);
  position: relative;
}

.mg-quoteCard.is-selected .mg-quoteCard__radio {
  border-color: #027bff;
}
.mg-quoteCard.is-selected .mg-quoteCard__radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #027bff;
}

/* Actions */
.mg-quote__actions {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}

.mg-quote__btn {
  border: 0;
  background: #0b0c0c;
  color: #fff;
  font-family: var(--font-geely);
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  text-align: center;
  vertical-align: middle;
  width: 150px;
  height: 48px;
}

.mg-quote__btn--ghost {
  background: transparent;
  color: #0b0c0c;
  border: 1px solid #0b0c0c;
  width: 171px;
}

.mg-quote__btn--tec {
  width: 177px;
}

.mg-quote__formCard {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 22px 22px 8px;
  max-width: 520px;
}

.mg-quote__formTitle {
  font-family: var(--font-geely);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 1px;
  text-align: center;
  vertical-align: middle;
}

/* Errors */
.mg-quote__error {
  font-family: var(--font-inter);
  padding: 12px;
  background: #fff3f3;
  border: 1px solid #ffd1d1;
}

/* ---- Colores Paso 1 ---- */
.mg-quote__colorsAll {
  margin-top: 18px;
}
.mg-quote__colorsLabel {
  font-family: var(--font-inter);
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}
.mg-quote__colorsDots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.mg-quote__colorDotBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--dot, #ccc);
  cursor: pointer;
  padding: 0;
  border: 1px solid #e7e6e6;
}
.mg-quote__colorDotBtn.is-active {
  border-color: #027bff;
}
.mg-quote__colorsName {
  margin-top: 16px;
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0px;
  vertical-align: middle;
}

/* Control por step */
.mg-quote[data-step="1"] [data-colors-all] {
  display: block;
}
.mg-quote[data-step="1"] [data-selected-color-row] {
  display: none;
}

.mg-quote[data-step="2"] [data-colors-all] {
  display: none;
}
.mg-quote[data-step="2"] [data-selected-color-row] {
  display: inline-flex;
}

.mg-quote[data-step="3"] [data-colors-all],
.mg-quote[data-step="3"] [data-selected-color-row] {
  display: none;
}

/* =========================
   STEP 2: COLOR ROW (Figma)
   ========================= */

/* El contenedor (año + color) en una sola línea */
.mg-quote[data-step="2"] .mg-quote__selectedRow {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Año (2025 -) */
.mg-quote[data-step="2"] .mg-quote__yearText {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #0b0c0c;
}

/* Dot: limpio, sin borde blanco ni sombra fuerte */
.mg-quote[data-step="2"] .mg-quote__colorDot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--selected-color, #027bff);
  border: 1px solid rgba(0, 0, 0, 0.15); /* borde sutil como Figma */
  box-shadow: none; /* quitamos sombra pesada */
}

/* Texto del color (Turquesa) */
.mg-quote[data-step="2"] .mg-quote__colorText {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #0b0c0c;
  opacity: 0.9;
}

/* =========================
   STEP 3: CONFIRM FULL-BLEED
   ========================= */
.mg-quote[data-step="3"] .mg-quote__tabs {
  display: none; /* como tu 2da imagen */
}

.mg-quote[data-step="3"] .mg-quote__content {
  display: block;
  margin-top: 0px;
}

.mg-quote[data-step="3"] .mg-quote__left {
  display: none;
}

/* Contenedor full-bleed */
.mg-quoteConfirm {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* HERO */
.mg-quoteConfirm__hero {
  width: 100%;
  background: #fff;
  background-image: var(--quote-step-bg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.mg-quoteConfirm__heroImg {
  width: fit-content;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
  margin: auto;
  padding-top: 20px;
}

/* BODY (gris) */
.mg-quoteConfirm__body {
  width: 100%;
  background: #e7e6e6;
  padding: 80px;
}

.mg-quoteConfirm__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.mg-quoteConfirm__title {
  margin: 0 0 40px;
  font-family: var(--font-geely);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 48px;
  line-height: 44px;
  color: #0b0c0c;
}

.mg-quoteConfirm__subtitle {
  margin: 0 0 24px;
  font-family: var(--font-inter);
  font-size: 24px;
  line-height: 24px;
  color: #0b0c0c;
  letter-spacing: 1px;
}

.mg-quoteConfirm__text {
  margin: 0 0 40px;
  font-family: var(--font-inter);
  font-size: 20px;
  line-height: 30px;
  color: #0b0c0c;
}

.mg-quoteConfirm__btns {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mg-quoteCard__years {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.mg-quoteYear {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
  user-select: none;
}

.mg-quoteYear input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: #027bff; /* azul como en tu screenshot */
}

.mg-quoteCard__years {
  cursor: default;
}
.mg-quoteYear {
  cursor: pointer;
}

.mg-quote[data-step="1"] [data-selected-model-name],
.mg-quote[data-step="1"] [data-selected-row] {
  display: none;
}

.mg-quote[data-step="2"] [data-colors-all] {
  display: none;
}
.mg-quote[data-step="2"] [data-selected-model-name],
.mg-quote[data-step="2"] [data-selected-row] {
  display: flex;
}

.mg-quote[data-step="3"] .mg-quote__header {
  display: none !important;
}

/* opcional: reduce el espacio superior en paso 3 */
.mg-quote[data-step="3"] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .mg-quote__content {
    grid-template-columns: 1fr;
  }
  .mg-quote__formCard {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .mg-quote {
    padding: 40px 16px 25px;
  }
  .mg-quote__title {
    font-size: 32px;
    line-height: 40px;
  }
  .mg-quote__desc {
    font-size: 14px;
    line-height: 24px;
  }
  .mg-quoteCard {
    grid-template-columns: 120px 1fr;
  }
  .mg-quoteCard__img {
    height: 70px;
  }
  .mg-quote__tabText {
    font-size: 16px;
    line-height: 20px;
  }
  .mg-quote__tabText {
    font-size: 14px;
    line-height: 20px;
  }
  .mg-quote__productName {
    font-size: 18px;
    line-height: 24px;
  }
  .mg-quote__tab {
    padding: 8px 12px 20px;
  }
  .mg-quote__left {
    margin: 0 32px;
  }
  .mg-quoteConfirm__heroImg {
    height: auto;
    max-height: fit-content;
    width: 100%;
  }
  .mg-quoteConfirm__title {
    font-size: 28px;
  }
  .mg-quote__colorsLabel,
  .mg-quote__colorsName {
    font-size: 16px;
    line-height: 22px;
  }
  .mg-quoteCard__title {
    font-size: 14px;
    line-height: 20px;
  }
  .mg-quoteCard__label,
  .mg-quoteCard__dot,
  .mg-quoteYear {
    font-size: 12px;
    line-height: 16px;
  }
  .mg-quoteCard__label {
    margin-top: 10px;
  }
  .mg-quoteCard__title,
  .mg-quoteCard__price,
  .mg-quote__btn {
    font-size: 14px;
    line-height: 20px;
  }
  .mg-quote__colorDotBtn {
    width: 32px;
    height: 32px;
  }
  .mg-quote__btn {
    width: 100%;
    height: 44px;
  }
  .mg-quoteConfirm__body {
    padding: 24px 16px;
  }
  .mg-quoteConfirm__title {
    font-size: 32px;
    line-height: 40px;
    margin: 0 0 16px;
  }
  .mg-quoteConfirm__subtitle {
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 16px;
  }
  .mg-quoteConfirm__text {
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 40px;
  }
  .mg-quote[data-step="3"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .mg-quote[data-step="3"] .mg-quote__content {
    margin-top: 0px;
  }
}

/* ===== MODAL Política de Datos ===== */
.mg-dataModal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.mg-dataModal.is-open {
  display: flex;
}

.mg-dataModal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.mg-dataModal__card {
  position: relative;
  width: min(860px, 100%);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  background-size: cover;
}

.mg-dataModal__head {
  position: relative;
  padding: 14px 18px 0;
}

.mg-dataModal__kicker {
  font-size: 12px;
  color: #6c757d;
  font-family: var(--font-inter);
}

.mg-dataModal__x {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  border-radius: 999px;
}

.mg-dataModal__body {
  padding: 40px;
}

.mg-dataModal__title {
  margin: 6px 0 14px;
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
  color: #0b0c0c;
  font-family: var(--font-geely);
  text-align: center;
}

.mg-dataModal__content {
  max-height: 52vh;
  overflow: auto;
  padding-right: 10px;
  font-family: var(--font-inter);
  color: #0b0c0c;
  font-size: 16px;
  line-height: 22px;
}

.mg-dataModal__content a {
  color: #027bff;
  text-decoration: underline;
}

.mg-dataModal__box-info {
  display: flex;
  border: 1px solid #f6f3f5;
  column-gap: 8px;
  align-items: self-start;
  padding: 16px;
  margin-top: 24px;
  background: #fff;
}

.mg-dataModal__box-info p {
  font-size: 14px;
  line-height: 20px;
}

.mg-dataModal__actions {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.mg-dataModal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: 0;
  background: #0b0c0c;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  width: 119px;
  border-radius: 0;
  font-family: var(--font-geely);
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 768px) {
  .mg-dataModal__body {
    padding: 16px;
  }
  .mg-dataModal__title {
    font-size: 28px;
    line-height: 32px;
  }
  .mg-dataModal__content {
    font-size: 13px;
    line-height: 20px;
  }
  .mg-dataModal__box-info p {
    max-width: 100%;
    word-break: break-word;
    font-size: 13px;
  }
  .mg-dataModal__btn {
    font-size: 14px;
    line-height: 20px;
  }
}

/* ===== UI modal ubicación (se crea por JS) ===== */
.mg-geoModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 16px;
}

.mg-geoModal.is-open {
  display: flex;
}

.mg-geoModal__card {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.mg-geoModal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.mg-geoModal__body {
  padding: 62px 40px 48px;
  text-align: center;
}

.mg-geoModal__title {
  font-size: 40px;
  font-weight: 700;
  margin: 12px 0 24px;
  line-height: 40px;
  color: #212529;
  font-family: var(--font-geely);
}

.mg-geoModal__text {
  font-size: 16px;
  color: #212529;
  line-height: 22px;
  margin: 0 0 24px;
  font-family: var(--font-inter);
}

.mg-geoModal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #111;
  color: #fff;
  height: 48px;
  padding: 0 22px;
  border-radius: 0px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  width: 133px;
  font-family: var(--font-geely);
}

/* ===== UI recomendación tiendas ===== */
.mg-nearStores {
  margin-top: 24px;
  background: #f6f3f5;
  border-radius: 0px;
  padding: 24px;
}

.mg-nearStores__title {
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 10px;
  color: #0b0c0c;
  line-height: 20px;
  font-family: var(--font-inter);
}

.mg-nearStores__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 0;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  max-width: 100%;
  color: #0b0c0c;
  border: 1px solid #0b0c0c;
  font-family: var(--font-inter);
  line-height: 20px;
}

.mg-nearStores__link {
  display: block !important;
  margin-top: 16px;
  font-size: 16px;
  color: #027bff;
  text-decoration: underline;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 22px;
  font-family: var(--font-inter);
}
.geely-cotiza-actions p {
  flex-direction: column;
  display: flex;
  align-items: end;
  margin-top: 16px;
}

.mg-storesMapModal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}
.mg-storesMapModal.is-open {
  display: block;
}
.mg-storesMapModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.mg-storesMapModal__card {
  position: relative;
  max-width: 1200px;
  width: 92vw;
  height: 86vh;
  margin: 4vh auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.mg-storesMapModal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}
.mg-storesMapModal__head {
  padding: 18px 22px;
  border-bottom: 1px solid #eee;
}
.mg-storesMapModal__title {
  text-align: left;
  color: #000000;
  font-weight: 700;
  width: 100%;
  height: 5%;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-family: var(--font-geely);
}
.mg-storesMapModal__body {
  height: calc(86vh - 120px);
  padding: 14px 18px;
}
.mg-storesMapModal__map {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.mg-storesMapModal__foot {
  padding: 16px 22px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
}
.mg-storesMapModal__btn {
  min-width: 160px;
  padding: 10px 16px;
  border: 0;
  background: #0b0c0c;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-geely);
}
.mg-no-scroll {
  overflow: hidden;
}
.gm-style .gm-style-iw-c {
  max-width: 225px !important;
}

/* ===== Loader mini para selects ===== */
.mg-selectLoader {
  position: absolute;
  right: 34px;           /* deja espacio al chevron */
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.15);
  border-top-color: rgba(2,123,255,1);
  animation: mgSpin .7s linear infinite;
  display: none;
  pointer-events: none;
}

@keyframes mgSpin { to { transform: translateY(-50%) rotate(360deg); } }

/* wrapper para posicionar el spinner (se lo ponemos por JS) */
.mg-hasLoader {
  position: relative;
}

/* estado "cargando": deshabilita interacción (opcional) */
.mg-isLoading select,
.mg-isLoading .mg-selectUiBtn,
.mg-isLoading button {
  pointer-events: none;
  opacity: .75;
}