/* Enhanced Notifications - Clean & Simple */

.notification-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-width: 320px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.notification-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

.toast-message {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  background: var(--border);
  color: var(--text);
}

/* Notification Types */
.notification-success {
  border-left: 4px solid #22c55e;
}

.notification-achievement {
  border-left: 4px solid #f59e0b;
  background: linear-gradient(135deg, var(--panel), rgba(245, 158, 11, 0.1));
}

.notification-reminder {
  border-left: 4px solid #ef4444;
}

.notification-info {
  border-left: 4px solid var(--accent);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .notification-toast {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100%);
  }
  
  .notification-toast.show {
    transform: translateY(0);
  }
  
  .toast-title {
    font-size: 15px;
  }
  
  .toast-message {
    font-size: 14px;
  }
}

/* Animation for new notifications */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.notification-toast {
  animation: slideInRight 0.3s ease;
}

@media (max-width: 768px) {
  .notification-toast {
    animation: slideInTop 0.3s ease;
  }
}
