/* Global Toast Notification System */

.toast-container {
          position: fixed;
          bottom: 2rem;
          left: 50%;
          transform: translateX(-50%);
          z-index: 9999;
          display: flex;
          flex-direction: column;
          gap: 0.75rem;
          align-items: center;
          max-width: 90%;
          pointer-events: none;
}

.toast {
          pointer-events: auto;
          padding: 1rem 1.5rem;
          border-radius: 12px;
          font-size: 0.875rem;
          line-height: 1.5;
          font-weight: 600;
          box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
          animation: slideUp 0.3s ease-out;
          max-width: 400px;
          display: flex;
          align-items: center;
          gap: 0.75rem;
          border: 1px solid rgba(255, 255, 255, 0.15);
          backdrop-filter: blur(6px);
}

.toast.success {
          background: linear-gradient(135deg, #10b981, #22c55e);
          color: white;
          box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
}

.toast.error {
          background: linear-gradient(135deg, #ef4444, #f97316);
          color: white;
          box-shadow: 0 10px 24px rgba(239, 68, 68, 0.35);
}

.toast.info {
          background: linear-gradient(135deg, #3b82f6, #6366f1);
          color: white;
          box-shadow: 0 10px 24px rgba(59, 130, 246, 0.35);
}

.toast.warning {
          background: linear-gradient(135deg, #f59e0b, #f97316);
          color: white;
          box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.toast-icon {
          display: flex;
          align-items: center;
          justify-content: center;
          min-width: 20px;
          height: 20px;
}

.toast-message {
          flex: 1;
          word-wrap: break-word;
}

.toast-close {
          background: none;
          border: none;
          color: inherit;
          cursor: pointer;
          padding: 0;
          display: flex;
          align-items: center;
          justify-content: center;
          opacity: 0.7;
          transition: opacity 0.2s;
          min-width: 24px;
          height: 24px;
          font-size: 1rem;
          font-weight: bold;
          line-height: 1;
}

.toast-close:hover {
          opacity: 1;
}

@keyframes slideUp {
          from {
                    opacity: 0;
                    transform: translateY(1rem);
          }

          to {
                    opacity: 1;
                    transform: translateY(0);
          }
}

@keyframes slideDown {
          from {
                    opacity: 1;
                    transform: translateY(0);
          }

          to {
                    opacity: 0;
                    transform: translateY(1rem);
          }
}

.toast.exiting {
          animation: slideDown 0.3s ease-out forwards;
}