/* Site-wide Privacy & AI notice (external file for CSP: script-src 'self'). */

.site-notice {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 900; /* below the chat widget (9999) */
  width: min(42rem, calc(100vw - 6rem)); /* keep clear of the chat launcher */
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #c5e1a5;
  border-left: 4px solid #008033;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-family: "Exo 2", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.site-notice[hidden] {
  display: none;
}

.site-notice__copy strong {
  display: block;
  margin-bottom: 2px;
  color: #008033;
  font-size: 13px;
}

.site-notice__copy p {
  margin: 0;
}

.site-notice__btn {
  flex: 0 0 auto;
  align-self: center;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: #008033;
  color: #fff;
  font-family: "Exo 2", sans-serif;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

.site-notice__btn:hover {
  background: #00994d;
}

@media (max-width: 480px) {
  .site-notice {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 5.5rem; /* sit above the chat launcher */
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }
}
