.notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  width: 320px;
}

.notification {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  border: 1px solid #E0E0E0;
}

.notification--show {
  transform: translateX(0);
}

.notification--success {
  border-left: 4px solid #4CAF50;
}
.notification--success .notification__icon svg path {
  fill: #4CAF50;
}

.notification--error {
  border-left: 4px solid #F44336;
}
.notification--error .notification__icon svg path {
  fill: #F44336;
}

.notification--warning {
  border-left: 4px solid #FF9800;
}
.notification--warning .notification__icon svg path {
  fill: #FF9800;
}

.notification--info {
  border-left: 4px solid #2196F3;
}
.notification--info .notification__icon svg path {
  fill: #2196F3;
}

.notification__content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notification__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification__message {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  margin-top: 2px;
  font-family: var(--font-main);
}

.notification__close {
  background: none;
  border: none;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #999;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.notification__close:hover {
  color: #333;
}

@media (max-width: 768px) {
  .notifications {
    width: calc(100% - 40px);
    padding: 10px;
    top: 10px;
    right: 10px;
  }
}
