


.ventana-crear-pagina {
  position: absolute;
  top: 20px; /* debajo del botón redondo */
  left: 80px;
  width: 800px;
  height: 680px;
  padding: 12px;
  background-color: #222;
  border: 1px solid silver;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  z-index: 50000 !important;
  display: none; /* oculto por defecto */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}




/* boton para crear pagina  */

/* CONTENEDOR PRINCIPAL FLEXIBLE */
.contenedor-crear {
  display: flex;
  width: 100%;
  height: 95%;
  gap: 10px;
}

/* FORMULARIO IZQUIERDO */
.rectangulo {
  width: 25%;
  height: 100%;
  background-color: #111;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* HEADER FIJO DENTRO DE RECTANGULO */
.header-rectangulo {
  height: 40px;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Botones redondos en el header */
.btn-cerrar,
.btn-video {
  width: 30px;
  height: 30px;
  background-color: #444;
  border-radius: 50%;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Botón cerrar (imagen de fondo) */
.btn-cerrar {
  background-image: url('https://radikalradiotelevision.com/fas-fa/img/65cc8aac1b5ed_logout-cerrar.png');
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: center;
}

/* Video embebido en el botón redondo */
.btn-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none; /* evita que se pueda hacer clic en el video */
}


/* CONTENIDO SCROLLEABLE (sin barras) */
.contenido-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.contenido-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.contenido-scroll h1 {
  font-size: 16px;
  margin-bottom: 12px;
}

/* BLOQUES DE FORMULARIO */
.ingresa-nombre-de-pagina,
.categoria-de-pagina,
.presentacion,
.contacto,
.uploads,
.ubicacion,
.horario,
.whatsapp {
  margin-bottom: 15px;
}

label {
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 4px;
  display: block;
}

small {
  font-size: 11px;
  color: #aaa;
  margin-top: 2px;
  display: block;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

input,
textarea,
select {
  width: 100%;
  padding: 6px;
  border: 1px solid #555;
  background-color: #1a1a1a;
  color: white;
  border-radius: 4px;
  font-size: 13px;
}

.categoria-de-pagina select {
  max-height: 120px;           /* Altura máxima del desplegable */
  overflow-y: auto;            /* Habilita scroll si hay muchas opciones */
  scrollbar-width: none;       /* Oculta barra en Firefox */
  -ms-overflow-style: none;    /* Oculta barra en IE/Edge */
}

.categoria-de-pagina select::-webkit-scrollbar {
  display: none;               /* Oculta barra en Chrome/Safari */
}


textarea {
  resize: vertical;
  min-height: 60px;
}

.check-ok {
  color: #4caf50;
  font-size: 18px;
  display: none;
}

/* FOOTER FIJO */
.footer-rectangulo {
  height: 50px;
  background-color: #111;
  border-top: 1px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  bottom: 0;
}

.footer-rectangulo button {
  padding: 8px 20px;
  border: 1px solid #007bff;
  background-color: transparent;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  cursor: not-allowed;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.footer-rectangulo button.active {
  background-color: #007bff;
  cursor: pointer;
  opacity: 1;
}

/* VISTA PREVIA DE PÁGINA */
.vista-de-pagina {
position:relative;
  flex: 1;
  height: 100%;
  background-color: #111;
  border-radius: 8px;
  padding: 10px;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
z-index:1;
}
.vista-de-pagina::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.fondo-pagina {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* detrás de todo */
  overflow: hidden;
  border-radius: 8px;
pointer-events:none;/* importante para que no bloquee clicks */
}

.fondo-pagina img,
.fondo-pagina video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ICONOS DE VISTA */
.vista-dispositivos {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}

.vista-dispositivos img {
  width: 28px;
  height: 28px;
  cursor: pointer;
  filter: invert(100%);
}



.portada-pagina {
  position: relative;
  width: 100%;
  height: 160px;
  background-color: #333;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

/* Envuelve el video en un contenedor que estará detrás */
.portada-pagina .contenido-multimedia {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* detrás del perfil */
  overflow: hidden;
}

.portada-pagina .contenido-multimedia img,
.portada-pagina .contenido-multimedia video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* El perfil estará encima */
.perfil-pagina {
  position: absolute;
  top: 50px;
  left: 70px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  background: #000;
  z-index: 2;
}

.perfil-pagina img,
.perfil-pagina video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* NOMBRE Y PRESENTACIÓN */
.nombre-pagina {
  margin-top: 30px;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.descripcion-pagina {
  font-size: 14px;
  margin: 6px 0 12px;
  color: #ccc;
  text-align: center;
}

/* MENÚ Y BOTONES */
.menu-pagina {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.opciones-menu span {
  margin-right: 12px;
  cursor: pointer;
  color: #ddd;
  font-size: 13px;
}

.botones-menu button {
  background: transparent;
  border: 1px solid #444;
  color: #ddd;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 4px;
  margin-left: 6px;
  cursor: pointer;
}

/* DETALLES Y PUBLICACIONES */
.contenido-inferior {
  display: flex;
  gap: 10px;
  height: calc(100% - 320px);
}

.detalles-pagina {
  flex: 1;
  background: #1b1b1b;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.header-detalles,
.footer-detalles {
  padding: 6px;
  font-weight: bold;
  text-align: center;
  background: #2a2a2a;
  border-bottom: 1px solid #444;
}

.contenido-detalles {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}

.item-detalle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 4px 0;
}

.item-detalle img {
  width: 16px;
  height: 16px;
  filter: invert(100%);
  object-fit: contain;
}

.publicaciones-pagina {
  flex: 2;
  background: #1b1b1b;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.header-publicaciones {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  background: #2a2a2a;
  border-bottom: 1px solid #444;
}

.header-publicaciones button {
  background: #007bff;
  border: none;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.contenido-publicaciones {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}

/* Modo simulado de vista móvil */
.vista-de-pagina.simular-movil .menu-pagina {
  flex-direction: column;
  align-items: flex-start;
}

.vista-de-pagina.simular-movil .botones-menu {
  margin-top: 8px;
}

.vista-de-pagina.simular-movil .contenido-inferior {
  flex-direction: column;
}

.vista-de-pagina.simular-movil .detalles-pagina,
.vista-de-pagina.simular-movil .publicaciones-pagina {
  width: 100%;
  height: auto;
}

.vista-de-pagina.simular-movil .portada-pagina {
  height: 120px;
}

.vista-de-pagina.simular-movil .perfil-pagina {
  width: 50px;
  height: 50px;
}

.vista-de-pagina.simular-movil .vista-dispositivos img {
  width: 24px;
  height: 24px;
}







@media (min-width: 769px) and (max-width: 1024px){




.ventana-crear-pagina {
  position: absolute;
  top: 20px; /* debajo del botón redondo */
  left: 80px;
  width: 500px;
  height: 680px;
  padding: 12px;
  background-color: #222;
  border: 1px solid silver;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  z-index: 50000 !important;
  display: none; /* oculto por defecto */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}




/* boton para crear pagina  */

/* CONTENEDOR PRINCIPAL FLEXIBLE */
.contenedor-crear {
  display: flex;
  width: 100%;
  height: 95%;
  gap: 10px;
}

/* FORMULARIO IZQUIERDO */
.rectangulo {
  width: 25%;
  height: 100%;
  background-color: #111;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* HEADER FIJO DENTRO DE RECTANGULO */
.header-rectangulo {
  height: 40px;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Botones redondos en el header */
.btn-cerrar,
.btn-video {
  width: 30px;
  height: 30px;
  background-color: #444;
  border-radius: 50%;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Botón cerrar (imagen de fondo) */
.btn-cerrar {
  background-image: url('https://radikalradiotelevision.com/fas-fa/img/65cc8aac1b5ed_logout-cerrar.png');
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: center;
}

/* Video embebido en el botón redondo */
.btn-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none; /* evita que se pueda hacer clic en el video */
}


/* CONTENIDO SCROLLEABLE (sin barras) */
.contenido-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.contenido-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.contenido-scroll h1 {
  font-size: 16px;
  margin-bottom: 12px;
}

/* BLOQUES DE FORMULARIO */
.ingresa-nombre-de-pagina,
.categoria-de-pagina,
.presentacion,
.contacto,
.uploads,
.ubicacion,
.horario,
.whatsapp {
  margin-bottom: 15px;
}

label {
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 4px;
  display: block;
}

small {
  font-size: 11px;
  color: #aaa;
  margin-top: 2px;
  display: block;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

input,
textarea,
select {
  width: 100%;
  padding: 6px;
  border: 1px solid #555;
  background-color: #1a1a1a;
  color: white;
  border-radius: 4px;
  font-size: 13px;
}

.categoria-de-pagina select {
  max-height: 120px;           /* Altura máxima del desplegable */
  overflow-y: auto;            /* Habilita scroll si hay muchas opciones */
  scrollbar-width: none;       /* Oculta barra en Firefox */
  -ms-overflow-style: none;    /* Oculta barra en IE/Edge */
}

.categoria-de-pagina select::-webkit-scrollbar {
  display: none;               /* Oculta barra en Chrome/Safari */
}


textarea {
  resize: vertical;
  min-height: 60px;
}

.check-ok {
  color: #4caf50;
  font-size: 18px;
  display: none;
}

/* FOOTER FIJO */
.footer-rectangulo {
  height: 50px;
  background-color: #111;
  border-top: 1px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  bottom: 0;
}

.footer-rectangulo button {
  padding: 8px 20px;
  border: 1px solid #007bff;
  background-color: transparent;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  cursor: not-allowed;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.footer-rectangulo button.active {
  background-color: #007bff;
  cursor: pointer;
  opacity: 1;
}

/* VISTA PREVIA DE PÁGINA */
.vista-de-pagina {
position:relative;
  flex: 1;
  height: 100%;
  background-color: #111;
  border-radius: 8px;
  padding: 10px;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
z-index:1;
}
.vista-de-pagina::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.fondo-pagina {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* detrás de todo */
  overflow: hidden;
  border-radius: 8px;
pointer-events:none;/* importante para que no bloquee clicks */
}

.fondo-pagina img,
.fondo-pagina video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ICONOS DE VISTA */
.vista-dispositivos {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}

.vista-dispositivos img {
  width: 28px;
  height: 28px;
  cursor: pointer;
  filter: invert(100%);
}



.portada-pagina {
  position: relative;
  width: 100%;
  height: 160px;
  background-color: #333;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

/* Envuelve el video en un contenedor que estará detrás */
.portada-pagina .contenido-multimedia {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* detrás del perfil */
  overflow: hidden;
}

.portada-pagina .contenido-multimedia img,
.portada-pagina .contenido-multimedia video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* El perfil estará encima */
.perfil-pagina {
  position: absolute;
  top: 50px;
  left: 70px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  background: #000;
  z-index: 2;
}

.perfil-pagina img,
.perfil-pagina video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* NOMBRE Y PRESENTACIÓN */
.nombre-pagina {
  margin-top: 30px;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.descripcion-pagina {
  font-size: 14px;
  margin: 6px 0 12px;
  color: #ccc;
  text-align: center;
}

/* MENÚ Y BOTONES */
.menu-pagina {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.opciones-menu span {
  margin-right: 12px;
  cursor: pointer;
  color: #ddd;
  font-size: 13px;
}

.botones-menu button {
  background: transparent;
  border: 1px solid #444;
  color: #ddd;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 4px;
  margin-left: 6px;
  cursor: pointer;
}

/* DETALLES Y PUBLICACIONES */
.contenido-inferior {
  display: flex;
  gap: 10px;
  height: calc(100% - 320px);
}

.detalles-pagina {
  flex: 1;
  background: #1b1b1b;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.header-detalles,
.footer-detalles {
  padding: 6px;
  font-weight: bold;
  text-align: center;
  background: #2a2a2a;
  border-bottom: 1px solid #444;
}

.contenido-detalles {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}

.item-detalle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 4px 0;
}

.item-detalle img {
  width: 16px;
  height: 16px;
  filter: invert(100%);
  object-fit: contain;
}

.publicaciones-pagina {
  flex: 2;
  background: #1b1b1b;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.header-publicaciones {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  background: #2a2a2a;
  border-bottom: 1px solid #444;
}

.header-publicaciones button {
  background: #007bff;
  border: none;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.contenido-publicaciones {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}

/* Modo simulado de vista móvil */
.vista-de-pagina.simular-movil .menu-pagina {
  flex-direction: column;
  align-items: flex-start;
}

.vista-de-pagina.simular-movil .botones-menu {
  margin-top: 8px;
}

.vista-de-pagina.simular-movil .contenido-inferior {
  flex-direction: column;
}

.vista-de-pagina.simular-movil .detalles-pagina,
.vista-de-pagina.simular-movil .publicaciones-pagina {
  width: 100%;
  height: auto;
}

.vista-de-pagina.simular-movil .portada-pagina {
  height: 120px;
}

.vista-de-pagina.simular-movil .perfil-pagina {
  width: 50px;
  height: 50px;
}

.vista-de-pagina.simular-movil .vista-dispositivos img {
  width: 24px;
  height: 24px;
}

  

}
















@media (max-width: 768px) {
.crear-pagina {
  position: absolute;           /* Se posiciona relativo al contenedor .content */
  top: 50px;                    /* Margen superior */
  left: 7px;                   /* Margen izquierdo */
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid silver;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.crear-pagina img {
  width: 35px;
  height: 35px;
  filter: invert(100%);
}

.crear-pagina:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.ventana-crear-pagina {
  position: absolute;
  top: 140px; /* debajo del botón redondo */
  left: 20px;
  width: 90%;
  height: 680px;
  padding: 12px;
  background-color: #222;
  border: 1px solid silver;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  z-index: 50000 !important;
  display: none; /* oculto por defecto */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

  .contenedor-crear {
    flex-direction: column;
  }

  .rectangulo {
    width: 100%;
    height: 60%;
    overflow-y: auto;
  }

  .vista-de-pagina {
    width: 100%;
    height: 40%;
  }

  .header-rectangulo {
    height: 35px;
  }

  .btn-cerrar,
  .btn-video {
    width: 25px;
    height: 25px;
  }

  .footer-rectangulo {
    height: 45px;
  }

  .footer-rectangulo button {
    font-size: 13px;
    padding: 6px 16px;
  }

  .contenido-scroll h1 {
    font-size: 15px;
  }


.vista-dispositivos img {
  width: 24px;
  height: 24px;
}

.portada-pagina {
  height: 120px;
}

.perfil-pagina {
  width: 50px;
  height: 50px;
}

.menu-pagina {
  flex-direction: column;
  align-items: flex-start;
}

.botones-menu {
  margin-top: 8px;
}

.contenido-inferior {
  flex-direction: column;
}

.detalles-pagina,
.publicaciones-pagina {
  width: 100%;
  height: auto;
}



}















/* Ocultamos el input real */
#inputPortada {
    display: none; /* Esto oculta el input de tipo file */
}

/* Estilizamos el label para que sea el botón */
.btn-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #007bff; /* Color de fondo del botón */
    color: #fff; /* Color de texto */
    font-size: 10px;
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Aparece como un botón clickeable */
    transition: background-color 0.3s, transform 0.3s ease; /* Transiciones suaves para hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

.btn-upload:hover {
    background-color: #0056b3; /* Color de fondo al pasar el mouse */
    transform: scale(1.05); /* Efecto de aumento cuando el usuario pasa el mouse */
}

.btn-upload:active {
    background-color: #004085; /* Color de fondo cuando se presiona */
    transform: scale(1); /* Efecto de "hundimiento" al hacer clic */
}

/* Opcional: Agregar un ícono si quieres usar uno */
.btn-upload:before {
    content: url('https://image.flaticon.com/icons/png/512/54/54927.png'); /* Ícono de archivo (puedes cambiarlo por el que quieras) */
    margin-right: 8px; /* Espacio entre el ícono y el texto */
    width: 20px;
    height: 20px;
}




/* Ocultamos el input real */
#inputPerfil {
    display: none; /* Esto oculta el input de tipo file */
}

/* Estilizamos el label para que sea el botón */
.btn-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #28a745; /* Color de fondo del botón */
    color: #fff; /* Color de texto */
    font-size: 10px;
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Aparece como un botón clickeable */
    transition: background-color 0.3s, transform 0.3s ease; /* Transiciones suaves para hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

.btn-upload:hover {
    background-color: #218838; /* Color de fondo al pasar el mouse */
    transform: scale(1.05); /* Efecto de aumento cuando el usuario pasa el mouse */
}

.btn-upload:active {
    background-color: #1e7e34; /* Color de fondo cuando se presiona */
    transform: scale(1); /* Efecto de "hundimiento" al hacer clic */
}

/* Opcional: Agregar un ícono si quieres usar uno */
.btn-upload:before {
    content: url('https://image.flaticon.com/icons/png/512/54/54927.png'); /* Ícono de archivo (puedes cambiarlo por el que quieras) */
    margin-right: 8px; /* Espacio entre el ícono y el texto */
    width: 20px;
    height: 20px;
}



/* Ocultamos el input real */
#inputFondo {
    display: none; /* Esto oculta el input de tipo file */
}

/* Estilizamos el label para que sea el botón */
.btn-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #28a745; /* Color de fondo del botón */
    color: #fff; /* Color de texto */
    font-size: 10px;
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Aparece como un botón clickeable */
    transition: background-color 0.3s, transform 0.3s ease; /* Transiciones suaves para hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

.btn-upload:hover {
    background-color: #218838; /* Color de fondo al pasar el mouse */
    transform: scale(1.05); /* Efecto de aumento cuando el usuario pasa el mouse */
}

.btn-upload:active {
    background-color: #1e7e34; /* Color de fondo cuando se presiona */
    transform: scale(1); /* Efecto de "hundimiento" al hacer clic */
}

/* Opcional: Agregar un ícono si quieres usar uno */
.btn-upload:before {
    content: url('https://image.flaticon.com/icons/png/512/54/54927.png'); /* Ícono de archivo (puedes cambiarlo por el que quieras) */
    margin-right: 8px; /* Espacio entre el ícono y el texto */
    width: 20px;
    height: 20px;
}


/* Ocultamos el input real */
#inputFavicon {
    display: none; /* Esto oculta el input de tipo file */
}

/* Estilizamos el label para que sea el botón */
.btn-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #28a745; /* Color de fondo del botón */
    color: #fff; /* Color de texto */
    font-size: 10px;
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Aparece como un botón clickeable */
    transition: background-color 0.3s, transform 0.3s ease; /* Transiciones suaves para hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

.btn-upload:hover {
    background-color: #218838; /* Color de fondo al pasar el mouse */
    transform: scale(1.05); /* Efecto de aumento cuando el usuario pasa el mouse */
}

.btn-upload:active {
    background-color: #1e7e34; /* Color de fondo cuando se presiona */
    transform: scale(1); /* Efecto de "hundimiento" al hacer clic */
}

/* Opcional: Agregar un ícono si quieres usar uno */
.btn-upload:before {
    content: url('https://image.flaticon.com/icons/png/512/54/54927.png'); /* Ícono de archivo (puedes cambiarlo por el que quieras) */
    margin-right: 8px; /* Espacio entre el ícono y el texto */
    width: 20px;
    height: 20px;
}
