/* ==========================================
   SERVME - PAGES AUTHENTICATED DESKTOP NOTIFICATIONS
   Notifications page desktop - DESKTOP uniquement
   Extrait de notifications.css (hors @media mobile)
   ========================================== */

/* ============================================
   SERVME - NOTIFICATIONS STYLES
   Styles pour le centre de notifications
   =========================================== */

/* === NOTIFICATIONS CENTER === */
.notifications-center-content {
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.notifications-center-content .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 2px solid #ebebeb;
  flex-shrink: 0;
}

.notifications-center-content .modal-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 22px;
  color: #222;
}

.notifications-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: #E61E4D;
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.notifications-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ebebeb;
  background: white;
  color: #484848;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: #f7f7f7;
  border-color: #ddd;
  color: #E61E4D;
}

/* === NOTIFICATIONS LIST === */
.notifications-list {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.notifications-group {
  margin-bottom: 24px;
}

.notifications-group-header {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  color: #717171;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
}

.notifications-group-items {
  display: flex;
  flex-direction: column;
}

.notification-item {
  display: flex;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.notification-item:hover {
  background: #f7f7f7;
}

.notification-item.unread {
  background: #f0f7ff;
  border-left: 4px solid #007bff;
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #007bff;
  border-radius: 50%;
}

.notification-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.4;
}

.notification-body {
  font-size: 14px;
  color: #717171;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-time {
  font-size: 12px;
  color: #999;
}

.notification-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.notification-mark-read,
.notification-delete {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  opacity: 0;
}

.notification-item:hover .notification-mark-read,
.notification-item:hover .notification-delete {
  opacity: 1;
}

.notification-mark-read:hover {
  background: #e7f3ff;
  color: #007bff;
}

.notification-delete:hover {
  background: #fff5f5;
  color: #dc3545;
}

.notification-mark-read i {
  font-size: 10px;
}

.notification-delete i {
  font-size: 14px;
}

/* === EMPTY STATE === */
.notifications-empty {
  text-align: center;
  padding: 80px 20px;
  color: #717171;
}

.notifications-empty i {
  font-size: 64px;
  color: #ddd;
  margin-bottom: 16px;
}

.notifications-empty h3 {
  font-size: 18px;
  font-weight: 600;
  color: #484848;
  margin: 0 0 8px 0;
}

.notifications-empty p {
  font-size: 14px;
  color: #717171;
  margin: 0;
}

/* === LOADING === */
.loading-spinner {
  text-align: center;
  padding: 60px 20px;
  color: #717171;
}

.loading-spinner i {
  font-size: 32px;
  color: #E61E4D;
  margin-bottom: 12px;
}

.loading-spinner p {
  font-size: 14px;
  margin: 0;
}

