/* Fix CSS pour les dropdowns notifications et langue seulement */
/* Ne touche pas au design du dock lui-même */

/* ================================================================
   FIX NOTIFICATIONS DROPDOWN
   ================================================================ */

.notifications-dropdown.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  display: block !important;
}

.language-dropdown.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  display: block !important;
}

/* Style de base pour les dropdowns si pas défini */
.notifications-dropdown {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: 0 !important;
  min-width: 300px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  z-index: 9999 !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.language-dropdown {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: 0 !important;
  min-width: 160px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  z-index: 9999 !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  padding: 8px 0;
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
  .notifications-dropdown {
    background: rgba(25, 25, 25, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .language-dropdown {
    background: rgba(25, 25, 25, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
}

/* Style du contenu notifications */
.notifications-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clear-all-btn {
  background: none;
  border: none;
  color: #007AFF;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
}

.clear-all-btn:hover {
  background: rgba(0, 122, 255, 0.1);
}

.notifications-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 0;
}

.no-notifications {
  padding: 40px 20px;
  text-align: center;
  color: #8E8E93;
  font-size: 14px;
}

.no-notifications::before {
  content: '🔔';
  display: block;
  font-size: 32px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* Style des options de langue */
.language-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
  font-size: 14px;
}

.language-option:hover {
  background: rgba(0, 0, 0, 0.05);
}

.language-option.active {
  background: rgba(0, 122, 255, 0.1);
  color: #007AFF;
}

@media (prefers-color-scheme: dark) {
  .notifications-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  
  .language-option:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}
