/*Toast*/

/* Bottom-right toast popup */
.toast{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  z-index: 10000;

  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(209, 17, 104, 0.18);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);

  padding: 14px 14px 12px;
  color: #414141;

  /* hidden by default (slides in when .show is added) */
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;

  transition: opacity 220ms ease, transform 220ms ease;
  font-family: 'Poppins', sans-serif;
}

.toast.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-title{
  font-family: 'Ubuntu', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #414141;
}

.toast-text{
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.95;
  padding-right: 26px; /* keep text away from X button */
}

.toast-close{
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #414141;
  font-size: 22px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 160ms ease, color 160ms ease;
}

.toast-close:hover{
  background: rgba(209, 17, 104, 0.12);
  color: rgb(209, 17, 104);
}
.toast-actions{
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

/* CTA button in toast (matches your site's style) */
.toast-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;
  border-radius: 10px;

  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
  font-weight: 700;

  text-decoration: none;
  border: 2px solid rgb(209, 17, 104);

  /* Default = outlined (like your inverted invest button) */
  background: transparent;
  color: rgb(209, 17, 104);

  transition: all 0.25s ease;
}

.toast-btn:hover{
  background: rgb(209, 17, 104);
  color: #fff;
}

.toast-btn:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(209, 17, 104, 0.18);
}
