/* Adsentry Cookie Banner (Premium, enterprise full-width) */
:root {
  --ae-accent: #f16334;
  --ae-bg: #111114;
  --ae-card: #16161a;
  --ae-text: #ffffff;
  --ae-muted: rgba(255,255,255,.72);
  --ae-border: rgba(255,255,255,.10);
  --ae-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.ae-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: rgba(17,17,20,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--ae-border);
  z-index: 99999;
}

.ae-cookie-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 16px;
  align-items: center;
}

.ae-cookie-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  color: var(--ae-text);
  margin-bottom: 6px;
}

.ae-cookie-desc {
  color: var(--ae-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ae-cookie-links {
  margin-top: 8px;
}

.ae-cookie-link {
  color: var(--ae-accent);
  text-decoration: none;
  font-size: 13px;
}
.ae-cookie-link:hover { text-decoration: underline; }

.ae-cookie-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.ae-cookie-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ae-pill {
  font-size: 12px;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}

.ae-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.ae-btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  line-height: 1;
}
.ae-btn:active { transform: translateY(1px); }

.ae-btn-primary {
  background: var(--ae-accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(241,99,52,.25);
}
.ae-btn-primary:hover { filter: brightness(.95); }

.ae-btn-soft {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}
.ae-btn-soft:hover { background: rgba(255,255,255,.09); }

.ae-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.86);
  border-color: rgba(255,255,255,.18);
}
.ae-btn-ghost:hover { background: rgba(255,255,255,.05); }

.ae-cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  z-index: 100000;
  padding: 16px;
}
.ae-cookie-modal.is-open { display: flex; }

.ae-cookie-modal-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--ae-shadow);
  overflow: hidden;
}

.ae-cookie-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.ae-cookie-modal-title {
  font-weight: 800;
  font-size: 15px;
}

.ae-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.ae-cookie-modal-body { padding: 16px 18px 8px; }
.ae-cookie-option {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 12px 12px;
  margin-bottom: 10px;
  background: #fff;
}
.ae-cookie-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ae-badge {
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(241,99,52,.12);
  color: #a63a17;
}
.ae-cookie-option-help {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(0,0,0,.68);
  line-height: 1.5;
}
.ae-cookie-footnote{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0,0,0,.55);
}

.ae-cookie-modal-actions {
  padding: 12px 18px 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  background: rgba(0,0,0,.02);
  border-top: 1px solid rgba(0,0,0,.06);
}

.ae-switch { position: relative; display: inline-block; width: 44px; height: 26px; }
.ae-switch input { opacity: 0; width: 0; height: 0; }
.ae-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(0,0,0,.12);
  transition: .2s; border-radius: 999px;
}
.ae-slider:before {
  position: absolute; content: "";
  height: 20px; width: 20px; left: 3px; top: 3px;
  background: #fff; transition: .2s; border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.ae-switch input:checked + .ae-slider { background: rgba(241,99,52,.75); }
.ae-switch input:checked + .ae-slider:before { transform: translateX(18px); }

@media (max-width: 900px) {
  .ae-cookie-wrap { grid-template-columns: 1fr; }
  .ae-cookie-right { align-items: flex-start; }
  .ae-cookie-actions { justify-content: flex-start; }
  .ae-cookie-pills { justify-content: flex-start; }
}
