.notifications-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 99999;
  width: min(380px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.95);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 4px solid;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: slideDown 0.35s ease;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.notification-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.notification-text {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
}

.notification-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  flex-shrink: 0;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

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

.notification.success .notification-icon {
  background: rgba(16, 185, 129, 0.16);
  color: #10b981;
}

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

.notification.error .notification-icon {
  background: rgba(239, 68, 68, 0.16);
  color: #ef4444;
}

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

.notification.warning .notification-icon {
  background: rgba(245, 158, 11, 0.16);
  color: #f59e0b;
}

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

.notification.info .notification-icon {
  background: rgba(59, 130, 246, 0.16);
  color: #3b82f6;
}

.notification.removing {
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}

@media (max-width: 575px) {
  .notifications-container {
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
  }

  .notification {
    padding: 12px 14px;
  }

  .notification-text {
    font-size: 13px;
  }
}