.sexy-toast {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: min(36rem, calc(100vw - 4rem));
  pointer-events: none;
}

@media (max-width: 576px) {
  .sexy-toast {
    right: 1.2rem;
    bottom: 1.2rem;
    left: 1.2rem;
    max-width: none;
  }
}

.sexy-toast__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  border-radius: 1.2rem;
  background: #1f2f3e;
  color: #fff;
  box-shadow: 0 1.2rem 3rem rgba(31, 47, 62, 0.24);
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}

.sexy-toast__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sexy-toast__item.is-hiding {
  opacity: 0;
  transform: translateY(-0.6rem);
}

.sexy-toast__item_success {
  background: #1f2f3e;
}

.sexy-toast__item_error {
  background: #8b2f3b;
}

.sexy-toast__item_info {
  background: #3a4d61;
}

.sexy-toast__text {
  flex: 1;
  font-size: 1.4rem;
  line-height: 1.4;
}

.sexy-toast__close {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.sexy-toast__close:hover {
  opacity: 1;
}

.sexy-toast__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.sexy-toast__undo {
  border: 0;
  padding: 0.6rem 1.2rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-size: 1.3rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sexy-toast__undo:hover {
  background: rgba(255, 255, 255, 0.28);
}

.sexy-toast__item_undo {
  align-items: center;
}
