/* LOGIN IMAGEN FONDO */
#back {
  position: absolute;
  width: 100%;
  height: 100vh;
  background: rgb(2, 0, 36);
  background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(121, 9, 18, 1) 35%, rgba(196, 33, 14, 1) 100%);
  /* background-image: url(../img/plantilla/fondoUnit.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat; */
}


#botones-cruce {
  margin-bottom: 10px;
}

.perfil {
  margin-top: 15px;
}

.btnEliminarArea,
.btnEliminar {
  margin-left: 10px !important;
}

#ancho-manual,
#alto-manual {
  margin-bottom: 15px;
}


#reportrangeCambiaEnvio,
#reportrangeConsultaPw,
#reportrangeConsultaCot,
#reportrangeCancelarVenta,
#reportrangeDevolucion {
  display: none;
}

.check-busqueda {
  margin: 10px 5px;
  /* font-size: 15px;
  font-weight: normal; */
}

/* ============================
ESTILOS DE CHECKBOX 
===============================*/
.checkbox-rect input[type="checkbox"] {
  display: none;
}

.checkbox-rect input[type="checkbox"]+label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font: 14px/20px "Open Sans", Arial, sans-serif;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.checkbox-rect input[type="checkbox"]:hover+label:hover {
  color: rgb(228, 132, 23);
}

.checkbox-rect input[type="checkbox"]:hover+label:before {
  background: #ff9100;
  box-shadow: inset 0px 0px 0px 2px #f7f2f2;
}

.checkbox-rect input[type="checkbox"]+label:last-child {
  margin-bottom: 0;
}

.checkbox-rect input[type="checkbox"]+label:before {
  content: "";
  display: block;
  width: 1.4em;
  height: 1.4em;
  border: 1px solid #343a3f;
  border-radius: 0.2em;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transition: all 0.2s, background 0.2s ease-in-out;
  transition: all 0.2s, background 0.2s ease-in-out;
  background: #f3f3f3;
}

.checkbox-rect input[type="checkbox"]:checked+label:before {
  width: 1.3em;
  height: 1.3em;
  border-radius: 0.2em;
  border: 2px solid #fff;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background: #50565a;
  box-shadow: 0 0 0 1px #000;
}

.btnEditarDetalle,
.btnEditarEstadoPaqueteria,
.btnEditarEstadoInterno,
.btnEditarPaqueteria {
  margin-right: 10px;
}

/*----------------------------------------------------------------
ESTILOS DE BOTON SUBIR IMAGEN 
-----------------------------------------------------------------*/
/* Botón tertiary */
.btn-tertiary,
.btn-tertiary-editar {
  color: #555;
  padding: 0;
  line-height: 40px;
  width: 300px;
  margin: auto;
  display: block;
  border: 2px solid #555;
}

.btn-tertiary:hover,
.btn-tertiary:focus,
.btn-tertiary-editar:hover,
.btn-tertiary-editar:focus {
  color: #777;
  /* lightened color */
  border-color: #777;
  /* lightened color */
}

/* Estilo para el input file */
.input-file,
.input-file-editar {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

/* Estilo para la etiqueta del input file */
.input-file+.js-labelFile,
.input-file-editar+.js-labelFile-editar {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px;
  cursor: pointer;
}

/* Icono del input file */
.input-file+.js-labelFile .icon:before,
.input-file-editar+.js-labelFile-editar .icon:before {
  content: "\f093";
}

/* Estilo para el input file cuando tiene un archivo seleccionado */
.input-file+.js-labelFile.has-file .icon:before,
.input-file-editar+.js-labelFile-editar.has-file-editar .icon:before {
  content: "\f00c";
  color: #5aac7b;
}

.img-preview-container {
  display: inline-block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  padding: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.preview-img {
  width: 150px;
  height: 150px;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

.preview-img:hover {
  transform: scale(1.05);
}

.btn-remove-img {
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

.btn-remove-img:hover {
  opacity: 1;
  background-color: #dc3545;
}


.img-preview-container {
  display: inline-block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  padding: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.preview-img {
  width: 150px;
  height: 150px;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

.preview-img:hover {
  transform: scale(1.05);
}

.btn-remove-img {
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

.btn-remove-img:hover {
  opacity: 1;
  background-color: #dc3545;
}

/* Mejora el aspecto de las etiquetas seleccionadas */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #007bff;
  /* Azul Bootstrap */
  color: #000000;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 4px 4px 4px 0;
  /* espacio entre etiquetas */
  font-size: 0.85rem;
}

/* Espacio interior del select */
.select2-container--default .select2-selection--multiple {
  padding: 5px;
  min-height: 42px;
}

/* Ajuste de los íconos de cerrar (la "x") */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #000000;
  margin-right: 6px;
}

.truncate-text {
  display: -webkit-box;
  -webkit-line-clamp: 10;
  /* Mostrar solo 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
  /* o ajusta según el diseño */
  white-space: normal;
}