input.r-switch[type="checkbox"] {
  position: relative;
  width: 40px;
  height: 20px;
  -webkit-appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

input.r-switch:checked[type="checkbox"] {
  background: #03a9f4;
}

input.r-switch[type="checkbox"]:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  top: 0;
  left: 0;
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

input.r-switch:checked[type="checkbox"]:before {
  left: 20px;
}

.brand-link .brand-image {
  margin-left: 1.12rem;
}

.brand-link {
  font-size: 1.15rem;
}

.dt-buttons {
  display: inline-block;
}
.dropzone {
  border: 2px dashed #007bff;
  border-radius: 10px;
  padding: 40px;
  background-color: white;
  height: 300px; /* Ajustar altura */
  text-align: center;
  position: relative;
  transition: background-color 0.3s;
}
.dropzone:hover {
  background-color: #e9ecef;
}
.dropzone-message {
  font-size: 18px;
  color: #007bff;
}
.dropzone a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}
.dropzone a:hover {
  text-decoration: underline;
}
/* Estilos de contenedor con animaciones de transición */
#contDropzone,
#contProgressbar {
  position: relative; /* Esto es para controlar el z-index */
  width: 100%; /* Ajusta según el diseño */
  transition: transform 1s ease, opacity 1s ease;
}

#contProgressbar {
  visibility: hidden; /* Inicialmente oculto */
  z-index: 1; /* Aparece por encima de contDropzone */
}

/* Animación para el colapso de contDropzone */
@keyframes collapseDropzone {
  0% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    opacity: 0;
  }
}

/* Animación de subida para contProgressbar */
@keyframes slideUpProgressbar {
  0% {
    transform: translateY(50px); /* Inicialmente está abajo */
    visibility: visible;
  }
  100% {
    transform: translateY(0); /* Subir a su lugar */
  }
}
