/* Cookie Consent Lite - minimal, accessible, lightweight */
:root{
  --ccl-brand: #2d6cdf;
  --ccl-bg: #ffffff;
  --ccl-text: #111111;
  --ccl-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.ccl-banner{
  position: fixed;
  left: 0; right: 0;
  z-index: 999999;
  background: var(--ccl-bg);
  color: var(--ccl-text);
  box-shadow: var(--ccl-shadow);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.ccl-pos-bottom{ bottom: 0; }
.ccl-pos-top{ top: 0; }

.ccl-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.ccl-title{ font-weight: 700; margin-bottom: 2px; }
.ccl-message{ font-size: 14px; line-height: 1.35; opacity: .95; }
.ccl-link{ margin-left: 8px; text-decoration: underline; }

.ccl-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ccl-btn{
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.15);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
}
.ccl-btn:focus{ outline: 2px solid var(--ccl-brand); outline-offset: 2px; }
.ccl-primary{
  background: var(--ccl-brand);
  border-color: var(--ccl-brand);
  color: #fff;
}
.ccl-secondary{
  background: transparent;
}

@media (max-width: 760px){
  .ccl-inner{ flex-direction: column; align-items: stretch; }
  .ccl-actions{ justify-content: flex-start; }
}

/* Modal */
.ccl-modal{ position: fixed; inset: 0; z-index: 1000000; }
.ccl-modal[hidden]{ display: none; }
.ccl-modal-backdrop{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}
.ccl-modal-card{
  position: relative;
  max-width: 720px;
  margin: 6vh auto;
  background: var(--ccl-bg);
  color: var(--ccl-text);
  border-radius: 16px;
  box-shadow: var(--ccl-shadow);
  overflow: hidden;
}
.ccl-modal-header, .ccl-modal-footer{
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.ccl-modal-footer{
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: none;
}
.ccl-modal-body{ padding: 14px 16px; }
.ccl-icon-btn{
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.ccl-cat{ border: 1px solid rgba(0,0,0,.10); border-radius: 14px; padding: 12px; margin: 10px 0; }
.ccl-cat-label{ font-weight: 700; }
.ccl-cat-desc{ font-size: 13px; opacity: .9; margin-top: 2px; }

.ccl-cat-row{ display:flex; justify-content: space-between; gap: 12px; align-items: center; }

/* Switch */
.ccl-switch{ position: relative; display: inline-block; width: 46px; height: 26px; }
.ccl-switch input{ opacity: 0; width: 0; height: 0; }
.ccl-slider{
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(0,0,0,.22);
  transition: .2s; border-radius: 999px;
}
.ccl-slider:before{
  position: absolute; content: "";
  height: 20px; width: 20px; left: 3px; top: 3px;
  background: white; transition: .2s; border-radius: 999px;
}
.ccl-switch input:checked + .ccl-slider{ background: var(--ccl-brand); }
.ccl-switch input:checked + .ccl-slider:before{ transform: translateX(20px); }
