/* Small, non-modal choice using the site's self-hosted Tajawal and brand colors. */
#brify-consent-banner[hidden], .brify-consent-settings[hidden] { display: none !important; }
#brify-consent-banner {
  position: fixed;
  inset: auto auto 16px 16px;
  z-index: 1000;
  width: min(340px, calc(100% - 32px));
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px 14px;
  background: #fffdf8;
  color: #173e37;
  border: 1px solid #d6ded1;
  border-radius: 9px;
  box-shadow: 0 4px 18px #153f3817;
  font-family: Tajawal, Arial, sans-serif;
  text-align: start;
}
#brify-consent-banner .brify-consent-copy { flex: 1; min-width: 0; }
#brify-consent-banner h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#brify-consent-banner p { color: #40584c; font-size: 14px; line-height: 1.65; margin: 0; }
#brify-consent-banner a { color: #1f5b4f; text-decoration: underline; text-underline-offset: 3px; }
#brify-consent-banner .brify-consent-actions { display: flex; justify-content: flex-end; gap: 8px; flex: none; }
#brify-consent-banner button {
  appearance: none;
  min-width: 72px;
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid #2f7a78;
  border-radius: 7px;
  background: #fffdf8;
  color: #1f5b4f;
  font: 700 14px/1.4 Tajawal, Arial, sans-serif;
  cursor: pointer;
}
#brify-consent-banner button:hover { background: #edf2eb; }
#brify-consent-banner :focus-visible, .brify-consent-settings:focus-visible { outline: 3px solid #2f7a78; outline-offset: 4px; }
.brify-consent-settings {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px;
  margin: 0;
  border: 0;
  background: transparent;
  color: #405c4d;
  font: 500 14px/1.6 Tajawal, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.footer-policy-links:has(.brify-consent-settings) { display: flex; justify-content: center; align-items: center; gap: 10px 20px; flex-wrap: wrap; }
@media (max-width: 600px) {
  #brify-consent-banner { left: 12px; right: auto; bottom: 12px; width: min(340px, calc(100% - 24px)); }
}
