/*Este archivo contiene los estilos de pop up del boton configurar de las cookies*/
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #222;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(92, 92, 92, 0.467);
  z-index: 9999;
  color: rgb(0, 0, 0);
  display: none;
}

.popup #toastreplice-body {
  overflow-y: scroll;
  max-height: 24vh;
  text-align: justify;
  padding: 7px;
  border: 1px solid rgba(202, 202, 202, 0.134);
  font-size: 13px !important;
  background-color: #fff;
}

.popup h4 {
  text-align: center;
  color: #fff;
}

.buttons-popup {
  text-align: center;
  align-items: center;
}

.cookies-information {
  overflow-y: scroll;
  max-height: 22vh;
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: #fff;
}

.cookie-group {
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
}

.cookie-group-title {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 20px !important;
}

#close-popup {
  border: 1px solid #fff;
  background: none;
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px;
  margin-right: 10px;
}
#close-popup:hover {
  background: #6f7071;
}

#apply-changes {
  border: 1px solid #fff;
  background: none;
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px;
  margin-right: 10px;
  background-color: #fff;
  color: #007bff;
}
#apply-changes:hover {
  background: #403f3f5f;
  color: white;
}

.cookie-group h6 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(23, 23, 23, 0.508);
  font-size: 15px !important;
  height: 30px;
  color: black;
  margin-top: 30px !important;
  padding-bottom: 40px;
}

.cookie-group h6 .senalinfo {
  font-size: 15px !important;
  float: right;
  color: #ffb100;
}

.icon-box {
  padding-bottom: 1.5px;
}

/*Comportamiento de la lista*/
ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 5px;
}

.cookie-info {
  display: none;
}

.cookie-info.show {
  display: block;
  text-align: justify;
  background-color: #0000001e;
}
.cookie-info p {
  margin: 5px;
}
.cookie-info.show {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Comportamiento de estilo de checkboxs*/

.cookie-info input {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 20px;
  border-radius: 20px;
  background-color: #ccc;
  position: relative;
  transition: background-color 0.3s ease;
  margin-left: 90%;
  margin-bottom: 10px;
  margin-top: 0px;
}
@media (max-width: 768px) {
  .cookie-info input {
    margin-left: 70%;
  }
}

.cookie-info input::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #fff;
  transition: transform  
 0.3s ease;
}

.cookie-info input:checked {
  background-color: #4CAF50; /* Color de fondo cuando está activado */
}

.cookie-info input:checked::before {
  transform: translateX(22px); /* Mueve el círculo hacia la derecha */
}
