/* Global reset for icons and buttons */
  svg {
    width: 24px;
    height: 64px;
    fill: currentColor;
  }

  /* Fade-out animation */
  @keyframes fadeOut {
    from {
      opacity: 0.99;
    }
    to {
      opacity: 0;
    }
  }

  /* Toast Container (Fixed Top Right) */
  .chakra-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    color: #333;
    padding: 12px 20px;
    margin: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: auto;
    opacity: 1;
    animation: fadeIn 0.5s ease-in-out;
  }

  /* Toast Icon */
  .chakra-alert__icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
  }

  .chakra-alert__desc {
    flex-grow: 1;
  }

  .chakra-alert__title {
    font-weight: bold;
    font-size: 1.2rem;
  }

  .chakra-alert__desc {
    font-size: 1rem;
    color: #555;
  }

  /* Toast Close Button */
  .css-1pq15d {
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 12px;
  }

  .css-1pq15d .chakra-icon {
    width: 9px;
    height: 9px;
  }

  /* Success Alert Styles */
  .chakra-alert[data-status='success'] {
    background-color: #b3ffb8;
    border-left: 5px solid #bbfcc0;
  }

  .chakra-alert[data-status='success'] .chakra-alert__icon svg {
    fill: #bbfcc0;
  }

  /* Error Alert Styles */
  .chakra-alert[data-status='error'] {
    background-color: #fed7d7;
    border-left: 5px solid #f44336;
  }

  .chakra-alert[data-status='error'] .chakra-alert__icon svg {
    fill: #f44336;
  }

  /* Fade-out animation for alerts */
  .fade-out {
    animation: fadeOut 0.5s forwards;
  }