/* Notification Container */
.save-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(30px);
  padding: 12px 20px;
  border-radius: 6px;
  background: #ffffff;
  color: #333333;
  z-index: 999999;
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  display: flex !important;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
  max-width: 90%;
  width: auto;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.save-notification.notice-show {
  transform: translate(-50%, -50%) translateY(0);
  opacity: 1;
}

/* Success Notification */
.notification-success {
  display: flex !important;
  border-left: 4px solid #188ece;
}

/* Error Notification */
.notification-error {
  border-left: 4px solid #f44336;
}

/* Icon styles - Fixed alignment issues */
.notification-icon {
  margin-right: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  width: 22px;
  position: relative;
  top: 0; /* Ensures perfect vertical alignment */
}

/* Success icon */
.icon-success svg {
  fill: #188ece; /* Branded blue color */
  width: 18px; /* Slightly smaller for better proportions */
  height: 18px;
  display: block; /* Prevents inheriting line height issues */
}

/* Error icon */
.icon-error svg {
  fill: #f44336;
  width: 18px;
  height: 18px;
  display: block;
}

/* Message text */
.notification-message {
  line-height: 1.4;
  padding-top: 1px; /* Subtle adjustment for text alignment */
}

/* Animation for fade-in and fade-out */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(30px);
  }
}

.save-notification.notice-show {
  animation: fadeInUp 0.35s forwards;
}

.save-notification.notice-hide {
  animation: fadeOutDown 0.35s forwards;
}