.toast-container {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

/* Posições - Top */
.toast-container--top-left {
  top: 2rem;
  left: 8rem;
}

.toast-container--top-center {
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.toast-container--top-right {
  top: 2rem;
  right: 8rem;
}

/* Posições - Middle */
.toast-container--middle-left {
  top: 50%;
  left: 8rem;
  transform: translateY(-50%);
}

.toast-container--middle-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.toast-container--middle-right {
  top: 50%;
  right: 8rem;
  transform: translateY(-50%);
}

/* Posições - Bottom */
.toast-container--bottom-left {
  bottom: 2rem;
  left: 8rem;
}

.toast-container--bottom-center {
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.toast-container--bottom-right {
  bottom: 2rem;
  right: 8rem;
}

.toast {
  position: relative;
  min-width: 306px;
  max-width: 400px;
  padding: 20px 50px 20px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast--success {
  background: linear-gradient(135deg, #53c9c1 0%, #36b3aa 100%);
  color: #2d3c82;
}

.toast--error {
  background: linear-gradient(135deg, #EABDD5 0%, #FFA1A6 100%);
  color: #2d3c82;
}

.toast--info {
  background: linear-gradient(135deg, #43d3e9 0%, #138496 100%);
  color: #2d3c82;
}

.toast--warning {
  background: linear-gradient(135deg, #eec343 0%, #d89700 100%);
  color: #2d3c82;
}

.toast-title {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.toast-message {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.95;
}

.toast-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #2d3c82;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 300;
}

.toast-close:hover {
  background: rgba(45, 60, 130, 0.1);
  transform: scale(1.1);
}

.toast--show {
  opacity: 1;
  transform: translateX(0);
}

.toast--hide {
  opacity: 0;
  transform: translateX(400px);
}

.toast:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 759px) {
  .toast-container--top-left,
  .toast-container--top-center,
  .toast-container--top-right {
    top: 8rem;
  }

  .toast-container--bottom-left,
  .toast-container--bottom-center,
  .toast-container--bottom-right {
    bottom: 8rem;
  }

  .toast-container {
    max-width: calc(100% - 2rem);
  }

  .toast {
    max-width: 100%;
    padding: 16px 44px 16px 16px;
  }

  .toast-title {
    font-size: 2rem;
  }

  .toast-message {
    font-size: 1.5rem;
  }

  .toast-close {
    font-size: 22px;
  }
}
