/*
* Estilos fidelización tonal 
*/

.tabla-registro-ventas .cabecera {
  font-weight: bold;
  padding: 10px 0;
  border-bottom: 2px solid #000;
}

.tabla-registro-ventas .medicamento {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
}

.file-select {
  position: relative;
  display: inline-block;
}

.file-select::before {
  background-color: #f7af3e;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  content: 'Seleccionar';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 3px;
  cursor: pointer;
}

.file-select input[type="file"] {
  opacity: 0;
  width: 130px;
  height: 32px;
  display: inline-block;
  cursor: pointer;
}

.btnborrarcomprobante {
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
}

.div-guardar-ft-ventas {
  margin-top: 15px;
  text-align: right;
}

.error-login-registro-venta {
  padding: 20px;
  background: #f1f1f1;
  color: red;
  font-weight: bold;
}

.text-center {
  text-align: center;
}

.fw-bold {
  font-weight: bold;
}

.puntos-ganados-modal {
  font-size: 25px;
  color: #4CAF50;
  font-weight: bold;
}

.cuadropuntostonal {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  /*box-shadow: 2px 2px 10px rgba(0,0,0,0.5);*/
}

.menucuadropuntos {
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  color: #444;
}

.menucuadropuntos .col {
  padding: 0;
}

.itemseleccionft {
  padding: 10px 5px;
  text-align: center;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.itemseleccionft:hover {
  background-color: #f1f1f1;
}

.itemseleccionft.activo {
  border-bottom: 3px solid #ffaa00;
  font-weight: bold;
  color: #000;
}

.contenidocuadropuntos {
  padding: 10px 0;
  font-size: 14px;
}

.columnaitemcuadropuntos {
  align-self: center;
}

.itemcuadropuntos {
  padding: 10px 5px;
  border-bottom: 1px solid #eee;
}

.itemcuadropuntos .fechacuadropuntos {
  color: #999;
}

.itemcuadropuntos .puntoscuadropuntos {
  font-weight: bold;
  color: #008000;
}

/*
loader
*/
.loading {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(0, 0, 0, .3);
  border-radius: 50%;
  border-top-color: #ffaa00;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

.mensajevacioft {
  padding: 20px;
  text-align: center;
  font-style: italic;
  color: #777;
}

.inputcomprobanteia {
  width: 200px !important;
}

/* Custom Modal Styles */
.itd-custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: none;
  font-family: sans-serif;
}

.itd-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.itd-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.itd-modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.itd-modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.itd-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  color: #000;
  opacity: 0.5;
}

.itd-modal-close:hover {
  opacity: 1;
}

.itd-modal-body {
  padding: 20px;
  overflow-y: auto;
  text-align: center;
}

.itd-modal-body .div-analizando img {
  max-width: 100px;
  margin-bottom: 15px;
}

/* Progress Bar Styles */
.itd-progress-bar-container {
  position: relative;
  width: 100%;
  background-color: #f0f0f0;
  border-radius: 5px;
  height: 30px;
  overflow: hidden;
  font-family: sans-serif;
}

.itd-progress-fill {
  background-color: #C2185B;
  height: 100%;
  transition: width 0.5s ease;
}

.itd-progress-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}