/******************************************************
  1) Enlace de usuario (nombre + ícono)
  - Sin zoom
  - Cambio de color en hover
  - Muestra tooltip "Profile"
******************************************************/
.nk-drop-item:hover > .dropdown {
    display: block;
}

.notification-count {
    position: absolute;
    top: -5px;      /* Ajusta para subir/bajar */
    right: -5px;    /* Ajusta para mover a izquierda/derecha */
    background-color: #dc3545; 
    color: #fff;
    border-radius: 50%;
    font-size: 10px; 
    min-width: 14px; 
    height: 14px;
    line-height: 14px;
    text-align: center;
    display: inline-block;
    z-index: 9999;
}

.single-icon, 
.icon-animated {
    overflow: visible !important; 
    position: relative; 
}

.profile-tooltip {
    position: relative; /* Necesario para ubicar el tooltip */
    text-decoration: none !important;
    color: inherit;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    content: 'Profile';
  }
  
  .profile-tooltip:hover {
    color: #b8860b;
    text-decoration: none !important;
    content: 'Profile';
  }
  
  /* Margen entre nombre y el ícono */
  .profile-tooltip .account-name {
    margin-right: 8px;
  }
  
  /* Tooltip con "Profile" */
  .profile-tooltip:hover::after {
    content: 'Profile';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #b8860b;
    padding: 2px 5px;
    border: 1px solid #b8860b;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 9999; /* Súbelo si el tooltip está quedando detrás de algo */
  }
  
.user-link {
    color: inherit;
    display: inline-flex;        /* Coloca el texto y el ícono en la misma línea */
    align-items: center;
    text-decoration: none !important; /* Elimina el subrayado */
    transition: color 0.3s ease;
    position: relative;          /* Necesario para posicionar el tooltip */
  }
  
  .user-link .account-name {
    margin-right: 8px;  /* Separa el nombre del ícono */
  }
  
  /* Al hacer hover, cambia de color */
  .user-link:hover,
  .user-link:focus,
  .user-link:active {
    color: #b8860b;
    text-decoration: none !important;
  }
  
  /* Tooltip "Profile" al pasar el mouse */
  .user-link:hover::after {
    content: 'Profile';
    position: absolute;
    bottom: -25px;      /* Ajusta según tu diseño */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #b8860b;
    padding: 2px 5px;
    border: 1px solid #b8860b;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
  }
  
  /******************************************************
    2) Íconos animados (campana, etc.) – con zoom y cambio de color en hover
  ******************************************************/
  .icon-animated {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .icon-animated:hover {
    transform: scale(1.2);
    color: #b8860b;
  }
  
  /******************************************************
    3) Logout Link – se pone rojo y muestra tooltip "Exit"
  ******************************************************/
  .logout-link {
    position: relative; /* Para posicionar el tooltip */
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .logout-link:hover {
    transform: scale(1.2);
    color: red !important;
  }
  
  .logout-link:hover::after {
    content: 'Exit';
    position: absolute;
    bottom: -25px; /* Ajusta según tu diseño */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: red;
    padding: 2px 5px;
    border: 1px solid red;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
  }
  