/* =====================================================
   MI MASS ID — MENÚ PRINCIPAL
===================================================== */

#miMassIdPanel .mass-id-menu-button {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  border: 1px solid rgba(57, 255, 20, 0.45) !important;
  border-radius: 12px;

  background: linear-gradient(
    180deg,
    #1d1d1d 0%,
    #141414 100%
  ) !important;

  color: #f5f5f5 !important;

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;

  cursor: pointer;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

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

#miMassIdPanel .mass-id-menu-button span:first-child {
  flex: 1;
}

#miMassIdPanel .mass-id-menu-button span:last-child {
  flex-shrink: 0;
  color: #39ff14;
  font-size: 22px;
  line-height: 1;
}

#miMassIdPanel .mass-id-menu-button:hover {
  border-color: #39ff14 !important;

  background: linear-gradient(
    180deg,
    #242424 0%,
    #181818 100%
  ) !important;

  box-shadow:
    0 0 15px rgba(57, 255, 20, 0.22),
    0 5px 14px rgba(0, 0, 0, 0.34);

  transform: translateY(-2px);
}

#miMassIdPanel .mass-id-menu-button:active {
  transform: translateY(0);
}

#miMassIdPanel .mass-id-menu-button:focus-visible {
  outline: 2px solid #39ff14;
  outline-offset: 3px;
}


/* =====================================================
   BOTÓN DE CERRAR O DESACTIVAR CUENTA
===================================================== */

#miMassIdPanel .mass-id-danger-button {
  border-color: rgba(255, 75, 75, 0.7) !important;

  background: linear-gradient(
    180deg,
    #291919 0%,
    #1d1313 100%
  ) !important;
}

#miMassIdPanel .mass-id-danger-button span:first-child {
  color: #ffb0b0;
}

#miMassIdPanel .mass-id-danger-button span:last-child {
  color: #ff5b5b;
}

#miMassIdPanel .mass-id-danger-button:hover {
  border-color: #ff5b5b !important;

  background: linear-gradient(
    180deg,
    #351c1c 0%,
    #241515 100%
  ) !important;

  box-shadow:
    0 0 15px rgba(255, 75, 75, 0.25),
    0 5px 14px rgba(0, 0, 0, 0.34);
}


/* =====================================================
   AJUSTES PARA IPHONE Y PANTALLAS PEQUEÑAS
===================================================== */

@media (max-width: 600px) {
  #miMassIdPanel .mass-id-menu-button {
    min-height: 52px;
    padding: 13px 14px;
    border-radius: 11px;
    font-size: 14px;
  }

  #miMassIdPanel .mass-id-menu-button span:last-child {
    font-size: 20px;
  }
}

/* =====================================================
   MI MASS ID — INFORMACIÓN PERSONAL
===================================================== */

#miMassIdPanel .mass-id-info-item {
  width: 100%;
  min-height: 92px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;

  box-sizing: border-box;

  border: 1px solid rgba(57, 255, 20, 0.38);
  border-radius: 12px;

  background: linear-gradient(
    180deg,
    #202020 0%,
    #151515 100%
  );

  text-align: left;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#miMassIdPanel .mass-id-info-item span {
  display: block;
  width: 100%;

  color: #aaa;
  font-size: 13px;
  font-weight: 600;
}

#miMassIdPanel .mass-id-info-item strong {
  display: block;
  width: 100%;

  color: #fff;
  font-size: 17px;
  font-weight: 700;

  overflow-wrap: anywhere;
  word-break: break-word;
}

#miMassIdPanel #massIdInfoNumero,
#miMassIdPanel #massIdInfoTelefono {
  color: #39ff14;
}

#miMassIdPanel #massIdInfoCorreo {
  font-size: 15px;
}


/* =====================================================
   INFORMACIÓN PERSONAL — IPHONE
===================================================== */

@media (max-width: 600px) {
  #miMassIdPanel #massIdInformacionPersonal {
    padding: 16px !important;
  }

  #miMassIdPanel #massIdInformacionPersonal > div:first-child {
    flex-direction: column;
    align-items: flex-start !important;
  }

  #miMassIdPanel #btnVolverMenuMassId {
    width: 100%;
  }

  #miMassIdPanel .mass-id-info-item {
    min-height: 84px;
    padding: 14px;
  }

  #miMassIdPanel .mass-id-info-item strong {
    font-size: 16px;
  }

  #miMassIdPanel #massIdInfoCorreo {
    font-size: 14px;
  }
}

/* =====================================================
   MI MASS ID — SEGURIDAD
===================================================== */

#miMassIdPanel .mass-id-security-item {
  width: 100%;
  min-height: 96px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;

  box-sizing: border-box;

  border: 1px solid rgba(57, 255, 20, 0.38);
  border-radius: 12px;

  background: linear-gradient(
    180deg,
    #202020 0%,
    #151515 100%
  );

  text-align: left;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#miMassIdPanel .mass-id-security-item span {
  display: block;
  width: 100%;

  color: #aaa;
  font-size: 13px;
  font-weight: 600;
}

#miMassIdPanel .mass-id-security-item strong {
  display: block;
  width: 100%;

  color: #fff;
  font-size: 17px;
  font-weight: 700;

  overflow-wrap: anywhere;
  word-break: break-word;
}

#miMassIdPanel #massIdSeguridadCuentaEstado,
#miMassIdPanel #massIdSeguridadPasswordEstado {
  color: #39ff14;
}

#miMassIdPanel #massIdSeguridadMfaEstado {
  color: #ffbf47;
}


/* =====================================================
   SEGURIDAD — IPHONE
===================================================== */

@media (max-width: 600px) {
  #miMassIdPanel #massIdSeguridad {
    padding: 16px !important;
  }

  #miMassIdPanel #massIdSeguridad > div:first-child {
    flex-direction: column;
    align-items: flex-start !important;
  }

  #miMassIdPanel #btnVolverSeguridadMassId {
    width: 100%;
  }

  #miMassIdPanel .mass-id-security-item {
    min-height: 84px;
    padding: 14px;
  }

  #miMassIdPanel .mass-id-security-item strong {
    font-size: 16px;
  }
}
