/* Custom styles goes here */
input.input-validation-error {
  border-color: #dc3545;
}

span.text-danger {
  font-size: 14px;
  margin-top: 5px;
}

input[readonly],
textarea[readonly] {
  background-color: #f0f0f0;
  color: #808080;
  border: 1px solid #ccc;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

  #lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
  }

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

/* Ícono flotante */
.cart-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  background-color: #57b7b6;
  color: white;
  padding: 20px;
  border-radius: 50%;
  z-index: 1000;
}

/* Capa del carrito */
.cart-layer {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 600px;
  max-height: 100%; /* Altura máxima de la capa */
  overflow-y: auto; /* Habilita el scroll vertical */
  background-color: white;
  border: 1px solid #ddd;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.dx-datagrid {
  font-family: 'Public Sans', sans-serif;
  font-weight: 100;
}

.dx-datagrid-rowsview .dx-data-row.dx-state-hover {
  background-color: #3ebbc8 !important;
  color: #0c5460 !important;
  cursor: pointer;
}

.cell-content {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* número de líneas visibles por defecto */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.cell-content.expanded {
  -webkit-line-clamp: unset;
  max-height: none;
}



.fly-cart-icon {
  position: absolute;
  z-index: 9999;
  font-size: 30px;
  transition: all 0.8s ease-in-out;
  pointer-events: none;
}

.chat-bubble-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  z-index: 1000;
}

.teleoperadora-img {
  width: 80px;
  height: auto;
  margin-right: 10px;
}

.chat-bubble {
  background-color: #f0f0f0;
  color: #333;
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 250px;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.2);
  font-size: 14px;
  animation: fadeIn 1s ease-in-out;
}

.etiqueta {
  width: 350px;
  border: 2px dashed #000;
  padding: 20px;
  margin: auto;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

  

/* Ocultar botón al imprimir */
@media print {
  .btn {
    display: none;
  }
}

/* Opcional: animación suave */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
