:root { --arthena-consent-accent: #333333; }
.arthena-consent-hidden { display: none !important; }
.arthena-consent-banner {
  position: fixed; left: 0; right: 0; z-index: 2147483000;
  background: #fff; color: #222; border-top: 1px solid #ddd;
  box-shadow: 0 -4px 24px rgba(0,0,0,.16); font-family: inherit;
}
.arthena-consent-banner.is-top { top: 0; bottom: auto; border-top: 0; border-bottom: 1px solid #ddd; box-shadow: 0 4px 24px rgba(0,0,0,.16); }
.arthena-consent-banner.is-bottom { bottom: 0; }
.arthena-consent-inner { max-width: 1180px; margin: 0 auto; padding: 18px 20px; display: flex; gap: 24px; align-items: center; }
.arthena-consent-copy { flex: 1 1 auto; min-width: 0; }
.arthena-consent-copy h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; color: #222; }
.arthena-consent-copy p { margin: 0; font-size: 14px; line-height: 1.55; color: #444; }
.arthena-consent-copy a { color: var(--arthena-consent-accent); text-decoration: underline; }
.arthena-consent-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.arthena-consent-btn { appearance: none; border: 2px solid var(--arthena-consent-accent); border-radius: 5px; padding: 10px 15px; min-height: 42px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: #fff; color: var(--arthena-consent-accent); }
.arthena-consent-btn:hover, .arthena-consent-btn:focus { filter: brightness(.94); outline: 3px solid rgba(0,0,0,.12); outline-offset: 2px; }
.arthena-consent-btn.is-primary { background: var(--arthena-consent-accent); color: #fff; }
.arthena-consent-btn.is-link { border-color: transparent; background: transparent; text-decoration: underline; }
.arthena-consent-overlay { position: fixed; inset: 0; z-index: 2147483001; background: rgba(0,0,0,.56); display: flex; align-items: center; justify-content: center; padding: 18px; }
.arthena-consent-modal { width: min(680px, 100%); max-height: calc(100vh - 36px); overflow: auto; background: #fff; border-radius: 8px; box-shadow: 0 18px 60px rgba(0,0,0,.35); color: #222; }
.arthena-consent-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid #e5e5e5; }
.arthena-consent-modal-header h2 { margin: 0; font-size: 23px; }
.arthena-consent-close { background: transparent; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #444; padding: 2px 7px; }
.arthena-consent-modal-body { padding: 4px 22px; }
.arthena-consent-category { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 19px 0; border-bottom: 1px solid #eee; }
.arthena-consent-category:last-child { border-bottom: 0; }
.arthena-consent-category h3 { margin: 0 0 5px; font-size: 17px; }
.arthena-consent-category p { margin: 0; color: #555; line-height: 1.5; font-size: 14px; }
.arthena-consent-always { align-self: center; white-space: nowrap; color: #266829; font-size: 13px; font-weight: 700; }
.arthena-consent-switch { position: relative; display: inline-block; width: 50px; height: 28px; align-self: center; }
.arthena-consent-switch input { opacity: 0; width: 0; height: 0; }
.arthena-consent-slider { position: absolute; cursor: pointer; inset: 0; background: #777; border-radius: 28px; transition: .2s; }
.arthena-consent-slider:before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.arthena-consent-switch input:checked + .arthena-consent-slider { background: var(--arthena-consent-accent); }
.arthena-consent-switch input:checked + .arthena-consent-slider:before { transform: translateX(22px); }
.arthena-consent-switch input:focus + .arthena-consent-slider { outline: 3px solid rgba(0,0,0,.15); outline-offset: 2px; }
.arthena-consent-modal-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; padding: 18px 22px; border-top: 1px solid #e5e5e5; background: #fafafa; }
.arthena-consent-footer-link { appearance: none; border: 0; padding: 0; margin: 0 0 0 12px; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
body.arthena-consent-lock { overflow: hidden; }
@media (max-width: 760px) {
  .arthena-consent-inner { align-items: stretch; flex-direction: column; gap: 14px; padding: 16px; }
  .arthena-consent-actions { justify-content: stretch; }
  .arthena-consent-btn { flex: 1 1 135px; }
  .arthena-consent-modal-footer .arthena-consent-btn { flex: 1 1 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .arthena-consent-slider, .arthena-consent-slider:before { transition: none; }
}
