#av-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  padding: 20px; z-index: 99999; display: none;
}
#av-cookie-banner.av-visible { display: block; }
.av-cookie-inner { max-width: 900px; margin: 0 auto; }
.av-cookie-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #333; }
.av-cookie-text { font-size: 13px; color: #666; margin-bottom: 15px; line-height: 1.5; }
.av-cookie-text a { color: #71b643; }
.av-cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.av-btn { padding: 9px 22px; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; font-weight: 500; }
.av-btn-primary { background: #71b643; color: #fff; }
.av-btn-secondary { background: #77838f; color: #fff; }
.av-btn-link { background: none; color: #77838f; text-decoration: underline; padding: 9px 0; font-size: 13px; cursor: pointer; border: none; }

#av-cookie-settings {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 100000;
  display: none; align-items: center; justify-content: center;
}
#av-cookie-settings.av-visible { display: flex; }
.av-settings-box {
  background: #fff; border-radius: 8px; padding: 30px;
  max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto;
}
.av-settings-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: #333; }
.av-category { border: 1px solid #eee; border-radius: 6px; padding: 15px; margin-bottom: 12px; }
.av-category-header { display: flex; justify-content: space-between; align-items: center; }
.av-category-name { font-weight: 600; font-size: 14px; color: #333; }
.av-category-desc { font-size: 12px; color: #888; margin-top: 6px; line-height: 1.4; }
.av-toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.av-toggle input { opacity: 0; width: 0; height: 0; }
.av-toggle-slider {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: #ccc; border-radius: 24px; cursor: pointer; transition: .3s;
}
.av-toggle-slider:before {
  position: absolute; content: "";
  height: 18px; width: 18px; left: 3px; bottom: 3px;
  background: white; border-radius: 50%; transition: .3s;
}
.av-toggle input:checked + .av-toggle-slider { background: #71b643; }
.av-toggle input:checked + .av-toggle-slider:before { transform: translateX(20px); }
.av-toggle input:disabled + .av-toggle-slider { opacity: 0.5; cursor: not-allowed; }
.av-settings-buttons { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; flex-wrap: wrap; }

#av-cookie-badge {
  position: fixed; bottom: 20px; left: 20px;
  background: #71b643; color: white; border: none; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer; z-index: 99998;
  font-size: 18px; display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
#av-cookie-badge.av-visible { display: flex; }
