    .toast-container {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 9999;
      max-width: 90%;
      width: 400px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
      border-radius: 8px;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
      transition: all 0.4s ease;
    }

    .toast-container.show {
      opacity: 1;
      pointer-events: auto;
    }

    .toast {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem;
      border-left: 5px solid;
      color: #fff;
      animation: slideDown 0.4s ease-out;
    }

    .toast.success {
      background-color: #28a745;
      border-color: #218838;
    }

    .toast.error {
      background-color: #dc3545;
      border-color: #c82333;
    }

    .toast-message {
      flex: 1;
      padding-right: 1rem;
    }

    .toast-close {
      cursor: pointer;
      font-weight: bold;
      font-size: 1.2rem;
      background: transparent;
      color: inherit;
      border: none;
    }

    @keyframes slideDown {
      from {
        transform: translateY(-40px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    @media screen and (max-width: 480px) {
      .toast-container {
        width: 95%;
      }
    }