.navbar-flotante {
  position: fixed;
  top: 0;
  left: 50px;
  right: 50px;
  z-index: 1000;
  background: #0ccaf1;
  color: white;
  padding: 10px 20px;
  border-radius: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.navbar-logo-fecha {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

/* Aseguramos que texto-completo sea blanco y visible en todos lados */
.texto-completo {
  color: white;
  display: inline; /* visible */
  white-space: nowrap; /* que no se rompa en varias líneas */
}

.navbar-logo {
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-logo img {
  display: block;
  width: 30px;
  height: 30px;
}

#fecha-hora {
  font-size: 0.75rem;
  color: white;
  margin-top: 2px;
}

.navbar-links {
  display: flex;
  flex-direction: row;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navbar-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-right: 6px;
}

.navbar-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: rgb(160, 6, 6);
}

/* Media query único para móviles */
@media (max-width: 768px) {
  .navbar-flotante {
    flex-direction: column;
    align-items: flex-start;
    left: 10px;
    right: 10px;
    padding: 10px;
  }

@media (max-width: 768px) {
  .texto-completo {
    display: inline !important;
    color: white !important;
    white-space: nowrap; /* para que no se parta en varias líneas */
  }
}


  .navbar-logo-fecha {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-links {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }
}
