/**
 * Notifications List Styles - Glass 3D Design
 */

/* Notifications View */
.notifications-view {
  max-width: 900px;
}

/* Filter Tabs - Glass Style */
.notifications-filters,
#notificariTabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Notification Groups */
.notification-group {
  margin-bottom: var(--space-6);
}

.notification-date {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  padding-left: var(--space-2);
}

/* ═══════════════════════════════════════════════════════════════════
   NOTIFICATION ITEM - GLASS 3D
   ═══════════════════════════════════════════════════════════════════ */
.notification-item.glass-notification {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-3);
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  box-shadow: 
    2px 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Colored stripe on left */
.notification-item.glass-notification::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  opacity: 0.8;
  transition: all 0.25s ease;
}

/* Color stripes per type */
.notification-item.notif-green::before {
  background: linear-gradient(180deg, #22c55e, #16a34a);
}

.notification-item.notif-purple::before {
  background: linear-gradient(180deg, #8b5cf6, #7c3aed);
}

.notification-item.notif-orange::before {
  background: linear-gradient(180deg, #f97316, #ea580c);
}

.notification-item.notif-cyan::before {
  background: linear-gradient(180deg, #06b6d4, #0891b2);
}

.notification-item.notif-red::before {
  background: linear-gradient(180deg, #ef4444, #dc2626);
}

.notification-item.notif-yellow::before {
  background: linear-gradient(180deg, #eab308, #ca8a04);
}

/* Hover state */
.notification-item.glass-notification:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.notification-item.glass-notification:hover::before {
  opacity: 1;
  box-shadow: 0 0 12px currentColor;
}

/* Unread state - more prominent */
.notification-item.glass-notification.unread {
  background: rgba(251, 146, 60, 0.08);
  border-color: rgba(251, 146, 60, 0.2);
}

.notification-item.glass-notification.unread::before {
  opacity: 1;
  width: 5px;
}

/* Read state - muted */
.notification-item.glass-notification.read {
  opacity: 0.7;
}

.notification-item.glass-notification.read:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   NOTIFICATION ICON - 3D GLASS
   ═══════════════════════════════════════════════════════════════════ */
.notification-icon.icon-3d {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  box-shadow: 
    3px 3px 8px rgba(0, 0, 0, 0.3),
    -1px -1px 4px rgba(255, 255, 255, 0.05),
    inset 1px 1px 2px rgba(255, 255, 255, 0.1);
}

.notification-icon.icon-3d svg {
  width: 22px;
  height: 22px;
}

/* Icon colors */
.notif-icon-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.3));
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.notif-icon-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.3));
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.notif-icon-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.3));
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.notif-icon-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(8, 145, 178, 0.3));
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.notif-icon-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.3));
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.notif-icon-yellow {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(202, 138, 4, 0.3));
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Notification Content */
.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.notification-message {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

.notification-time {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   ACTION BUTTONS - GLASS
   ═══════════════════════════════════════════════════════════════════ */
.notification-actions {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.notification-item:hover .notification-actions {
  opacity: 1;
}

.btn-action.glass-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-action.glass-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-action.glass-btn[data-action="read"]:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.btn-action.glass-btn[data-action="delete"]:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* Empty State */
.notifications-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-6);
  text-align: center;
}

.notifications-empty svg {
  width: 64px;
  height: 64px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.notifications-empty h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.notifications-empty p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Animation */
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}

/* Responsive */
@media (max-width: 640px) {
  .notification-item.glass-notification {
    padding: var(--space-3) var(--space-4);
  }

  .notification-actions {
    opacity: 1;
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
  }

  .notification-content {
    padding-right: var(--space-10);
  }
}

