/* Dropdown de notificações */
.notif-dropdown {
  position: absolute;
  top: 36px;
  right: 0;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  background: var(--bg-dropdown, white); /* vai mudar no darkmode */
  color: var(--text-dropdown, black);
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: 8px;
}

/* Botão de fechar dropdown */
.notif-dropdown button {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Lista de notificações */
.notif-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notif-dropdown li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.notif-dropdown li:last-child {
  border-bottom: none;
}

.notif-dropdown li:hover {
  background: var(--hover-dropdown, #f5f5f5);
}

/* Mostrar/ocultar dropdown */
.notif-dropdown.hidden {
  display: none;
}

.notif-dropdown:not(.hidden) {
  display: flex;
  flex-direction: column;
}

/* Toast fixo até fechar */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: #4caf50;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 0.4rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 250px;
}

.toast button {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-left: 1rem;
  font-size: 1.2rem;
  line-height: 1;
}

/* Animação do sino */
#btn-notificaciones {
  transition: transform 0.2s ease;
}
