.toastify {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: min(420px, calc(100vw - 24px));
    padding: 16px 18px;
    color: #0f172a;
    -webkit-box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    background: rgba(255, 255, 255, 0.96);
    position: fixed;
    opacity: 0;
    -webkit-transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    -o-transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    backdrop-filter: blur(22px);
    cursor: default;
    text-decoration: none;
    z-index: 2147483647;
}

.toastify .toastify-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.28);
}

.toastify.bg-danger .toastify-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.28);
}

.toastify.bg-soft-info .toastify-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28);
}

.toastify.bg-soft-warning .toastify-icon {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28);
}
  
  .toastify.on {
    opacity: 1;
  }
  
  .toast-close {
    opacity: 0.55;
    padding: 0;
    margin-left: auto;
    flex: 0 0 auto;
    align-self: flex-start;
    border: none;
    background: none;
    color: #64748b;
    font-size: 1rem;
    line-height: 1;
  }
  
  .toastify-right {
    right: 15px;
  }
  
  .toastify-left {
    left: 15px;
  }
  .toastify-left .toast-close {
    left: -4px;
    margin-left: 0;
    margin-right: 4px;
  }
  
  .toastify-top {
    top: -180px;
  }
  
  .toastify-bottom {
    bottom: -180px;
  }
  
  .toastify-rounded {
    border-radius: 25px;
  }
  
  .toastify-avatar {
    width: 1.5em;
    height: 1.5em;
    margin: -7px 5px;
    border-radius: 2px;
  }
  
  .toastify-center {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: min(420px, calc(100vw - 24px));
  }

  .toastify .toastify-content {
    flex: 1 1 auto;
    min-width: 0;
  }

  .toastify .toastify-heading {
    display: block;
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .toastify .toastify-message {
    display: block;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.55;
    word-break: break-word;
  }

  .toastify.bg-danger .toastify-heading {
    color: #991b1b;
  }

  .toastify.bg-soft-success .toastify-heading {
    color: #065f46;
  }

  .toastify.bg-soft-info .toastify-heading {
    color: #0c4a6e;
  }

  .toastify.bg-soft-warning .toastify-heading {
    color: #9a3412;
  }
  
  @media only screen and (max-width: 360px) {
    .toastify-right,
    .toastify-left {
      left: 0;
      right: 0;
      width: calc(100vw - 18px);
    }
  }
