.admin-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
  width: 360px;
  max-width: calc(100vw - 40px);
}

.admin-toast {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 14px 14px 14px 16px;
  overflow: hidden;
  color: #333;
  background: #fff;
  border-left: 5px solid #3c8dbc;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.admin-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-toast.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
}

.admin-toast--success {
  border-left-color: #00a65a;
}

.admin-toast--error {
  border-left-color: #dd4b39;
}

.admin-toast--warning {
  border-left-color: #f39c12;
}

.admin-toast--info {
  border-left-color: #00c0ef;
}

.admin-toast__content {
  min-width: 0;
  flex: 1;
}

.admin-toast__title {
  display: block;
  margin-bottom: 3px;
  font-weight: 700;
}

.admin-toast__message {
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.admin-toast__close {
  margin: -4px -4px 0 12px;
  padding: 2px 5px;
  color: #777;
  background: transparent;
  border: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.admin-toast__close:hover,
.admin-toast__close:focus {
  color: #222;
  outline: 1px dotted #777;
}

@media (max-width: 480px) {
  .admin-toast-container {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
    max-width: none;
  }
}
