.notification-button {
  position: relative;
  cursor: pointer;
  margin-right: 8px;
}

.notification-button svg {
  width: 24px;
  height: 24px;
  color: #333;
  transition: transform 0.3s ease-in-out;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  font-size: 10px;
  border-radius: 50%;
  padding: 2px 5px;
  font-weight: bold;
}

.notification-dropdown {
  position: absolute;
  top: 80px;
  right: 60px;
  width: 260px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  z-index: 10000;
}

.notification-dropdown.show {
  display: flex;
}

.notification-item {
  padding: 10px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.notification-item:last-child {
  border-bottom: none;
}

.profile-container {
  position: fixed;
  top: 100px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease-in-out;
  transform: translateX(120%);
  opacity: 0;
  z-index: 9999;
}

.profile-container.show {
  transform: translateX(0%);
  opacity: 1;
}

.avatar {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.avatar:hover {
  transform: scale(1.1);
}

.user-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.user-name svg {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.user-name.open svg {
  transform: rotate(180deg);
}

.menu-suspenso {
  position: absolute;
  top: 80px;
  right: 20px;
  min-width: 160px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.menu-suspenso.show {
  display: flex;
}

.menu-suspenso .menu-item {
  padding: 10px;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  transition: background 0.2s;
}

.menu-suspenso .menu-item:hover {
  background-color: #f0f0f0;
}

.user-date {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .profile-container {
    right: 10px;
    left: auto;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    flex-direction: row;
    z-index: 9999;
  }

  .menu-suspenso {
    top: 80px;
    bottom: auto;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .profile-container.not-logged {
    display: none !important;
  }
}


