.custom-toast-container {
  position: fixed;
  right: 16px;
  z-index: 9999;
  width: min(480px, 100vw - 32px);
  max-width: calc(100vw - 32px);
}

.custom-toast-container--top {
  top: 16px;
}

.custom-toast-container--bottom {
  bottom: 16px;
}

.custom-toast-container .motif-toast,
.custom-toast-container .core-toast {
  width: 100%;
  max-width: none;
}

.core-toast::part(container) {
  background-color: #ffffff;
  color: #2e2e38;
  border: 1px solid #e1e1e6;
  border-left: 4px solid #2e8b57;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.core-toast--success::part(container) {
  border-left-color: #2e8b57;
}

.core-toast--error::part(container) {
  border-left-color: #b9251c;
}

.core-toast--warning::part(container) {
  border-left-color: #d4a017;
}

.core-toast--info::part(container) {
  border-left-color: #1976d2;
}

.core-toast [slot=toast-title] {
  color: #2e2e38;
}

.core-toast [slot=toast-supporting-text] {
  color: #656579;
}

.core-toast {
  position: static;
  width: 100% !important;
  max-width: none;
  display: block;
}

.core-toast__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #656579;
  cursor: pointer;
}
.core-toast__close:hover {
  color: #2e2e38;
}