/* Toast notifications — warning style, top-right corner */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 40px));
}

.toast-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  animation: toast-in 0.25s ease-out;
}

.toast-icon {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-message {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #78350f;
  flex: 1;
}

.toast-close {
  background: transparent;
  border: none;
  padding: 2px;
  cursor: pointer;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

.toast-close:hover {
  background: #fef3c7;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
