/* First-party consent banner. Accessible, compact, responsive; no third-party resources. */
.ars-consent-panel[hidden], .ars-consent-settings[hidden], .ars-consent-error[hidden] { display: none !important; }
.ars-consent-panel {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2147483000;
  box-sizing: border-box; padding: 18px max(16px, calc((100vw - 1180px) / 2));
  background: #fff; color: #14253c; border-top: 3px solid #2352ee;
  box-shadow: 0 -6px 30px rgba(0,0,0,.22); max-height: 85vh; overflow-y: auto;
  font: 15px/1.55 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.ars-consent-panel h2 { margin: 0 0 7px; color: #102a49; font-size: 19px; }
.ars-consent-panel p { margin: 0 0 12px; }
.ars-consent-panel a { color: #1745ba; text-decoration: underline; }
.ars-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ars-consent-actions button {
  min-height: 44px; padding: 10px 15px; border-radius: 8px; font-weight: 650;
  cursor: pointer; border: 2px solid #2352ee; background: #fff; color: #173b98;
}
.ars-consent-actions button.ars-primary { background: #2352ee; color: #fff; }
/* Visible gray option with accessible contrast and the same size as acceptance. */
.ars-consent-actions button.ars-secondary { background: #4b5563; border-color: #4b5563; color: #fff; }
.ars-consent-actions button.ars-secondary:hover { background: #374151; border-color: #374151; }
.ars-consent-panel button:focus-visible,
.ars-consent-panel input:focus-visible, #ars-consent-reopen:focus-visible {
  outline: 3px solid #edb925; outline-offset: 3px;
}
.ars-consent-settings { margin: 12px 0; padding: 12px; border: 1px solid #b5c8e5; border-radius: 9px; }
.ars-consent-settings label { display: block; margin: 10px 0; cursor: pointer; }
.ars-consent-settings input { margin-right: 8px; width: 18px; height: 18px; vertical-align: middle; }
.ars-consent-error { color: #af1e1e; font-weight: 700; }
/* Footer uses a dark background: do not inherit the site's default button text color. */
#ars-consent-reopen {
  color: #f8fafc;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#ars-consent-reopen:hover { color: #ffffff; text-decoration-thickness: 2px; }
@media (max-width: 600px) { .ars-consent-panel { padding: 15px; } .ars-consent-actions button { flex: 1 1 135px; } }
