/* Atabay Termal newsletter toast - form design intentionally untouched */
.newsletter-toast-region {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1095;
  width: min(410px, calc(100vw - 32px));
  pointer-events: none;
}

.newsletter-toast {
  --newsletter-toast-accent: #b88a45;
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  gap: 14px;
  align-items: center;
  overflow: hidden;
  padding: 17px 16px 20px;
  border: 1px solid rgba(184, 138, 69, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 22px 60px rgba(29, 29, 29, .18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(18px) scale(.97);
  visibility: hidden;
  pointer-events: auto;
  transition: opacity .26s ease, transform .26s ease, visibility .26s ease;
}

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

.newsletter-toast[data-type="success"] {
  --newsletter-toast-accent: #b88a45;
}

.newsletter-toast[data-type="info"] {
  --newsletter-toast-accent: #3f76a8;
}

.newsletter-toast[data-type="error"] {
  --newsletter-toast-accent: #b44a3c;
}

.newsletter-toast-icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8f2e9;
  color: var(--newsletter-toast-accent);
  font-size: 25px;
}

.newsletter-toast-title {
  display: block;
  margin-bottom: 3px;
  color: #1d1d1d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.newsletter-toast-message {
  color: #616161;
  font-size: 13px;
  line-height: 1.55;
}

.newsletter-toast-close {
  align-self: start;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a8a8a;
  cursor: pointer;
}

.newsletter-toast-close:hover,
.newsletter-toast-close:focus-visible {
  background: #f4f1eb;
  color: #1d1d1d;
  outline: none;
}

.newsletter-toast-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--newsletter-toast-accent);
  transform-origin: left center;
}

.newsletter-toast.is-visible .newsletter-toast-progress {
  animation: newsletter-toast-progress 5.2s linear forwards;
}

@keyframes newsletter-toast-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 575.98px) {
  .newsletter-toast-region {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
  }

  .newsletter-toast {
    grid-template-columns: 46px 1fr 32px;
    gap: 11px;
    padding: 15px 13px 18px;
    border-radius: 16px;
  }

  .newsletter-toast-icon {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }
}
