.bg {
  animation: slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, #f3d7e8 60%, rgb(116, 247, 181) 10%);
  bottom: 0;
  left: -50%;
  opacity: .5;
  position: fixed;
  right: -50%;
  top: 0;
  z-index: -1;
}

.bg2 {
  animation-direction: alternate-reverse;
  animation-duration: 4s;
}

.bg3 {
  animation-duration: 5s;
}

select {
  -webkit-appearance: none;
}

.fecha {
  -webkit-appearance: none;
}

@keyframes slide {
  0% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(25%);
  }
}


body,
html {
  background-position: center left;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
  /* Ajusta la imagen para que quepa dentro del contenedor sin perder proporciones */
  margin: 0;
  height: 100%;
}

#navigation {
  background-color: white;
  border-radius: 0 0 10px 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 750px) {
  .list-group.col-md-2.row.g-3 {
    margin-left: 0;
    margin-right: 5px;
  }
}

.col-md-10.row.g-4 {
  margin-left: 1px;
}

.text-center {
  background-color: rgba(255, 255, 255);
  padding: 5px;
  margin-left: 25px;
  margin-right: 25px;
  margin-bottom: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

@import url(https://fonts.googleapis.com/css?family=Cabin+Condensed);

svg{font-weight:bold;max-width:600px;height:100%;}

.titulo {
	text-align: center;
	color: #1c1c1c;
}

h2 {
	font-family: 'Cabin Condensed', sans-serif;
}

#listaClientes {
  list-style-type: none;
  max-width: 400px;
  height: auto;
  z-index: 999;
  top: -20px;
  left: -57px;
  right: 0;
  position: absolute;
}

#listaBusqueda {
  background-color: white;
  font-weight: bold;
  border-radius: 4px;
  border-top: 2px solid #8b929e;
  border-left: 2px solid #8b929e;
  border-right: 2px solid #8b929e;
  border-bottom: 1px solid #8b929e;
  padding: 6px;
  width: 100%;
  float: left;
  cursor: pointer;
  position: relative;
  left: 25px;
  top: 65px
}

.custom-form {
  background-color: azure;
}

.input-group {
  margin-bottom: 15px;
}

.input-group-text {
  background: #96ebc1;
  border: none;
  padding: 10px;
  color: #495057;
}

.input-group span {
  background-color: #96ebc1;
}

.btn-secondary {
  background-color: #C1C1C1;
}

.list-group ul {
  background-color: azure;
}

.table th {
  text-align: center;
  background-color: #dae6f0;
}

#historia {
  padding: 5px;
  /* Añade un espacio interno */
  margin-left: 1px;
  /* Ajusta el margen derecho */
  margin-top: 28px;
}

#labelHistorico{
  padding-top: 5px;
  padding-bottom: 5px;
  color: #575757;
  box-shadow: 1px 0px 5px #935e7e;  
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 1px solid #f3d7e8;
}

#historico {
  padding-right: 0;
  box-shadow: 1px 0px 5px #ab68ada6;
}

.historico_li {
  cursor: pointer;
  background-color: #f3d7e8;
}

li a:is(:link, :active, :visited) {
  color: black;
  text-decoration: none;

}

a:is(:link, :active, :visited).active {
  color: white;
  background-color: #DE8523;
  opacity: .9;
  border-radius: 50px;
}

.imagen img.imagen-alternativa {
  display: none;
}

.imagen.activo .imagen-normal {
  display: none;
}

.imagen.activo .imagen-alternativa {
  display: block;
}

.navbar-brand i {
  font-size: 30px;
}

.form-control,
.form-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 0;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  box-shadow: none;
  border-color: #80bdff;
}

.historial {
  font-weight: bold;
  color: #495057;
}

.list-group-item {
  border: none;
}

.btn {
  background-color: #D8D8D8;
  border: none;
  padding: 10px 20px;
  margin-top: 15px;
  cursor: pointer;
}

.btn[name="eliminarMatiz"],
.btn[name="eliminarDiagnostico"],
.btn[name="eliminarColor"],
.btn[name="eliminarDecoloracion"],
.btn[name="eliminarTratamientos"] {
  background-color: #EC0101;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 15px;
  cursor: pointer;
}

.btn:hover {
  background-color: #C1C1C1;
}

.btn[name="eliminarMatiz"]:hover,
.btn[name="eliminarDiagnostico"]:hover,
.btn[name="eliminarColor"]:hover,
.btn[name="eliminarDecoloracion"]:hover,
.btn[name="eliminarTratamientos"]:hover {
  background-color: #D10000;
}

.historial-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 10px 0;
}

.historial-header {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 15px;
}

.historial-header i {
  margin-right: 10px;
  font-size: 1.5em;
}

.historial-list {
  list-style: none;
  padding: 0;
}

.historial-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eaeaea;
}

.historial-list li:last-child {
  border-bottom: none;
}

.container.mt-3 {
  padding-bottom: 50px;
}

.inputGroup {
  font-family: 'Segoe UI', sans-serif;
  margin: 1em 0 1em 0;
  position: relative;
}

.inputGroup input,
.inputGroup select,
.inputGroup textarea {
  font-size: 100%;
  padding: 0.8em;
  outline: none;
  border: 2px solid rgb(150 235 193);
  border-radius: 10px;
  width: 100%;
}

.inputGroup label {
  font-size: 100%;
  position: absolute;
  left: 0;
  padding: 0.8em;
  margin-left: 0.5em;
  pointer-events: none;
  transition: all 0.3s ease;
  color: rgb(150 235 193);
}

.inputGroup :is(input:focus, input:valid, select:focus, select:valid, textarea:focus, textarea:valid)~label {
  transform: translateY(-50%) scale(.9);
  margin: 0em;
  margin-left: 1.3em;
  padding: 0.4em;
  background-color: #fff;
}

/* Estilo de foco aplicado siempre al label de la fecha */
#fecha+label {
  transform: translateY(-50%) scale(.9);
  margin: 0em;
  margin-left: 1.3em;
  padding: 0.4em;
  background-color: #fff;
}

select,
input {
  color: #676767;
  /* Cambia este valor al color que prefieras */
  background-color: #fff;
}

.inputGroup :is(input:focus, input:valid, select:focus, select:valid) {
  border-color: rgb(150 235 193);
}

/*<------------------------------------->*/


.inputGroupDisable {
  font-family: 'Segoe UI', sans-serif;
  margin: 1em 0 1em 0;
  position: relative;
}

.inputGroupDisable input,
.inputGroupDisable select,
.inputGroupDisable textarea {
  font-size: 100%;
  padding: 0.8em;
  outline: none;
  border: 2px solid rgb(119, 119, 119);
  border-radius: 10px;
  width: 100%;
}

.inputGroupDisable label {
  font-size: 100%;
  position: absolute;
  left: 0;
  padding: 0.8em;
  margin-left: 0.5em;
  pointer-events: none;
  transition: all 0.3s ease;
  color: rgb(119, 119, 119);
}

.inputGroupDisable :is(input:focus, input:valid, select:focus, select:valid, textarea:focus, textarea:valid)~label {
  transform: translateY(-50%) scale(.9);
  margin: 0em;
  margin-left: 1.3em;
  padding: 0.4em;
  background-color: #fff;
}

.inputGroupDisable :is(input:focus, input:valid, select:focus, select:valid) {
  border-color: rgb(119, 119, 119);
}




