/* #main{
  height: 100% !important;
} */

/* #measurement{
  width: 100% !important;
  height: 100% !important;
} */

/* #measurement #mxcanvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 460px !important;
} */

.confirmation-modal{
  display: none; /* Oculto por defecto */
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Evita que el modal tenga scroll */
  background-color: rgba(0, 0, 0, 0.8); /* Fondo semi-transparente */
}
.confirmation-modal-content {
    margin: 10% auto; /* Centra el modal */
    padding: 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 500px; /* Fijar un ancho máximo para pantallas más grandes */
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: white;
    background-clip: padding-box;
    border-radius: 6px;
    outline: 0;
    max-height: 280px;
  }

.confirmation-modal-header{
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.confirmation-modal-header .close{
  height: 30px;
}

.modal-header-title{
  height: 100%;
  display: flex;
  align-items: center;
}

.modal-header-title img {
  height: 100%;
}
.modal-header-title p {
    margin-bottom: 0;
    margin-left: 20px;
    text-transform: uppercase;
}
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .confirmation-modal-body{
    display: flex;
    align-items: center;
    width: 90%;
    margin: 20px auto;
  }

  .confirmation-modal-body img {
    height: 100px;
    width: auto;
    margin-right: 20px;
    max-width: 30%;
    height: auto; /* Mantiene la proporción */
  }

  .confirmation-body-text{
    text-align: left;
  }

  .confirmation-btn-ok{
    /*background: linear-gradient(48deg, #006fd6 10.89%, #00c9bd 90.73999999999999%);*/
    background: #006fd6;
    align-self: flex-end;
    width: 60px;
    height: 40px;
    border: none;
    border-radius: 6px;
    color: white;
  }

  .confirmation-body-title{
    line-height: 22px;
  }
  .confirmation-body-description{
    margin-top: 10px;
    line-height: 17px;
  }


  /* Para pantallas pequeñas */
@media (max-width: 768px) {
  .confirmation-modal-content {
    width: 90%; /* Usa casi todo el ancho disponible en móviles */
    padding: 15px; /* Reduce el padding */
    max-height: 350px;
  }

  .confirmation-modal-body {
    flex-direction: column; /* Coloca los elementos en columna en lugar de fila */
    text-align: center; /* Centra el texto */
  }

  .confirmation-modal-body img {
    margin: 0 auto 20px auto; /* Centra la imagen */
    height: 80px; /* Reduce el tamaño de la imagen */
    max-width: 100%;
  }

  .confirmation-btn-ok {
    width: 100%; /* Botón de confirmación más grande */
    height: 50px;
    margin-top: 20px; /* Añade un poco de espacio superior */
  }

}

/* Para pantallas mas pequeñas (teléfonos antiguos o muy pequeños) */
@media (max-width: 480px) {
  .confirmation-modal-content {
    width: 95%;
    max-height: 380px;
  }

  .confirmation-btn-ok {
    height: 40px; /* Botón más pequeño */
  }
}


@media (max-width: 479px){
  /* #mxcanvas{
    height: 490px !important;
    width: 250px !important;
  } */
}