/* Система уведомлений */

#notification-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.notification {
  width: 100%;
  max-width: 100%;
  pointer-events: auto;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

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

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-left: 4px solid;
}

.notification-icon {
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.notification-message {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.notification-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  flex-shrink: 0;
}

.notification-close:hover {
  background: #f5f5f5;
  color: #666;
}

/* Типы уведомлений */

.notification-success .notification-content {
  border-left-color: #10b981;
}

.notification-success .notification-icon {
  background: #d1fae5;
  color: #10b981;
}

.notification-error .notification-content {
  border-left-color: #ef4444;
}

.notification-error .notification-icon {
  background: #fee2e2;
  color: #ef4444;
}

.notification-warning .notification-content {
  border-left-color: #f59e0b;
}

.notification-warning .notification-icon {
  background: #fef3c7;
  color: #f59e0b;
}

.notification-info .notification-content {
  border-left-color: #3b82f6;
}

.notification-info .notification-icon {
  background: #dbeafe;
  color: #3b82f6;
}

/* Адаптивность */
@media (max-width: 768px) {
  #notification-container {
    padding: 12px;
  }
  
  .notification-content {
    padding: 12px 16px;
  }
  
  .notification-message {
    font-size: 13px;
  }
}
