/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* "Thank you" toast shown after a lead form is sent (see project.js). */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 6000; /* above the side request form (5000) */
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: calc(100% - 32px);
  max-width: 460px;
  padding: 20px 25px;
  background-color: #fff;
  color: #1b1b1b;
  border-left: 4px solid var(--color-accent-1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  white-space: pre-line;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 0.3s, transform 0.3s;
}

.toast.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

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

.toast__text {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
}

.toast__close {
  font-size: 22px;
  line-height: 1;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
