/* ==== Estilo para el ícono de usuario ==== */
#user-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.6), 0 0 20px rgba(0, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#user-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 25px rgba(0, 255, 255, 0.5);
}

/* ==== Wrapper del ícono (posicionamiento del menú) ==== */
#user-icon-wrapper {
  position: relative;
  margin-left: 15px;
  display: flex;
  align-items: center;
}

/* ==== Estilo del submenú ==== */
#user-menu {
  display: none;
  position: absolute;
  top: 50px;
  right: -80px;
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  z-index: 1000;
  min-width: 170px;
}

/* ==== Estilo para los elementos dentro del menú ==== */
#user-menu label,
#user-menu button {
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  background: transparent;
  border: none;
  padding: 8px 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

#user-menu label:hover,
#user-menu button:hover {
  background-color: rgba(0, 255, 255, 0.1);
  border-radius: 6px;
}

.custom-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.modal-content_advise {
  background: #111;
  color: #fff;
  border: 2px solid #00ffff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.modal-content_advise button {
  margin-top: 15px;
  padding: 8px 20px;
  background: #00ffff;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 10px;
}

@media screen and (min-width: 834px) and (max-width: 1360px) {
  #user-menu{
    top: 60px;
  }
}