/* Thank-you success modal (contact form / product request / shared forms).
   Loaded with DESIGN_CORE_STYLES so it works on any SiteChrome page,
   including CMS slugs that do not pull in pages-updates.css. */
.bt-thankyou-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 26, 99, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: btThankyouFadeIn 0.2s ease-out;
}
.bt-thankyou-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 40px 32px 32px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(12, 26, 99, 0.22);
  text-align: center;
  animation: btThankyouSlideIn 0.25s ease-out;
}
.bt-thankyou-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #ff3366;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}
.bt-thankyou-close:hover {
  background: #0c1a63;
}
.bt-thankyou-close:focus-visible {
  outline: 2px solid #0c1a63;
  outline-offset: 2px;
}
.bt-thankyou-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff3366;
  background: rgba(255, 51, 102, 0.1);
}
.bt-thankyou-title {
  margin: 0 0 10px;
  color: #0c1a63;
  font: 700 24px/1.3 Inter-Bold, Inter, sans-serif;
}
.bt-thankyou-message {
  margin: 0 0 28px;
  color: #4b5563;
  font: 400 15px/1.55 Inter-Regular, Inter, sans-serif;
}
.bt-thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.bt-thankyou-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 2px;
  text-decoration: none;
  font: 600 13px/1.2 Inter-SemiBold, Inter, sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bt-thankyou-btn.primary {
  background: #ff3366;
  color: #fff;
  border: 1px solid #ff3366;
}
.bt-thankyou-btn.primary:hover {
  background: #0c1a63;
  border-color: #0c1a63;
  color: #fff;
}
.bt-thankyou-btn.secondary {
  background: transparent;
  color: #0c1a63;
  border: 1px solid #0c1a63;
}
.bt-thankyou-btn.secondary:hover {
  background: #0c1a63;
  color: #fff;
}
.bt-thankyou-btn:focus-visible {
  outline: 2px solid #ff3366;
  outline-offset: 2px;
}
@keyframes btThankyouFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes btThankyouSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 480px) {
  .bt-thankyou-modal {
    padding: 36px 20px 24px;
  }
  .bt-thankyou-title {
    font-size: 20px;
  }
  .bt-thankyou-actions {
    flex-direction: column;
  }
  .bt-thankyou-btn {
    width: 100%;
  }
}
