

  .notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 6px solid #10b981; /* green */
    font-family: sans-serif;
    animation: fadeIn 0.4s ease-out;
  }

  .notification.hidden {
    display: none;
  }

  .notification-content {
    display: flex;
    align-items: start;
    padding: 16px;
    position: relative;
  }

  .icon {
    color: #10b981;
    font-size: 24px;
    margin-right: 12px;
  }

  .text {
    flex-grow: 1;
    font-size: 14px;
    color: #333;
  }

  .close {
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    color: #999;
    font-size: 18px;
  }

  .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #10b981;
    animation: progressMove 5s linear forwards;
    width: 100%;
    transform-origin: right;
  }

  @keyframes progressMove {
    0% {
      transform: scaleX(1);
    }
    100% {
      transform: scaleX(0);
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
