.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.toast__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.Toastify__spinner {
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    border: 3px solid;
    border-radius: 100%;
    border-color: var(--toastify-spinner-color-empty-area);
    border-right-color: var(--toastify-spinner-color);
    animation: Toastify__spin .65s linear infinite;
}

.toast__text {
  display: flex;
  flex-direction: column;
}

.toast__title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.toast__sub {
  font-size: 12px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.Toastify__toast {
  background: linear-gradient(135deg, #1a1a1a, #0e0e0e) !important;
  border: 1px solid #2a2a2a;
  border-radius: 0 !important;
  padding: 16px 16px 28px 16px !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  color: white !important;
  display: flex;
  gap: 16px;
  align-items: center;
}

.Toastify__toast-icon {
  width: 30px !important;
  height: 30px !important;
}

.Toastify__toast-body > div:first-child {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.Toastify__toast-body > div:last-child {
  font-size: 12px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.Toastify__close-button {
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: #888;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s;
}

.Toastify__close-button:hover {
  color: #fff;
}

.Toastify__progress-bar--wrp {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #222;
  overflow: hidden;
  border-radius: 0;
}

.toast-progress-success {
  background: linear-gradient(90deg, #00b894, #00cec9) !important;
}

.toast-progress-error {
  background: linear-gradient(90deg, #d63031, #ff7675) !important;
}

.toast-progress-info {
  background: linear-gradient(90deg, #0984e3, #74b9ff) !important;
}

@keyframes progressShrink {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
