:root {
  --uzdcc-banner-bg: #111111;
  --uzdcc-banner-text: #ffffff;
  --uzdcc-btn-bg: #f7c948;
  --uzdcc-btn-text: #111111;
  --uzdcc-link: #f7c948;
  --uzdcc-z: 2147483000;
}
.uzdcc-hidden{display:none !important;}
.uzdcc-banner { direction: ltr; position: fixed; left: 0; right: 0; bottom: -100%; background: var(--uzdcc-banner-bg); color: var(--uzdcc-banner-text); padding: 18px 20px; box-shadow: 0 -10px 30px rgba(0,0,0,.25); z-index: var(--uzdcc-z); transform: translateY(0); transition: bottom .5s ease; font-family: inherit; }
.uzdcc-banner.show { bottom: 0; }
.uzdcc-container{ max-width:1200px; margin:0 auto; display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.uzdcc-text{ font-size:14px; line-height:1.6; flex:1; min-width:260px; }
.uzdcc-text a { color: var(--uzdcc-link); text-decoration: underline; }
.uzdcc-actions{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.uzdcc-btn{ background: var(--uzdcc-btn-bg); color: var(--uzdcc-btn-text); border:none; padding:10px 14px; border-radius:10px; cursor:pointer; font-weight:600; }
.uzdcc-btn.secondary{ background:transparent; color:var(--uzdcc-banner-text); border:1px solid rgba(255,255,255,.35); }
.uzdcc-modal-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.6); display:none; z-index:calc(var(--uzdcc-z) + 1); pointer-events:auto; }
.uzdcc-modal-backdrop.show{ display:block; }
.uzdcc-modal{ direction: ltr; position:fixed; left:50%; top:10%; transform: translate(-50%, 0); width:min(800px, 92vw); max-height:80vh; overflow:auto; background:#fff; color:#111; border-radius:14px; padding:18px; box-sizing:border-box; box-shadow:0 20px 60px rgba(0,0,0,.35); display:none; z-index:calc(var(--uzdcc-z) + 2); pointer-events:auto; }
.uzdcc-modal.show{ display:block; }
.uzdcc-modal h3{ margin-top:0; margin-bottom:12px; }
.uzdcc-cat{ display:flex; justify-content:space-between; align-items:center; border:1px solid #eee; padding:12px; border-radius:10px; margin:8px 0; }
.uzdcc-switch{ display:inline-flex; align-items:center; justify-content:flex-start; width:48px; height:26px; background:#ddd; border-radius:999px; cursor:pointer; position:relative; }
.uzdcc-switch input{ display:none; }
.uzdcc-switch .dot{ position:absolute; top:3px; left:3px; width:20px; height:20px; background:#fff; border-radius:50%; transition:all .2s; box-shadow:0 2px 6px rgba(0,0,0,.25); }
.uzdcc-switch.on{ background:#4caf50; }
.uzdcc-switch.on .dot{ transform: translateX(22px); }
.uzdcc-locked{ background:#eee; color:#555; border-radius:999px; padding:4px 10px; font-size:12px; font-weight:600; }
.uzdcc-cat.locked .uzdcc-switch{ display:none; }
.uzdcc-modal .actions{ position: sticky; bottom:0; background:#fff; padding-top:8px; }
.uzdcc-manage-btn{ background:var(--uzdcc-btn-bg); color:var(--uzdcc-btn-text); border:none; padding:10px 14px; border-radius:10px; cursor:pointer; font-weight:600; }
body.uzdcc-rtl .uzdcc-banner, body.uzdcc-rtl .uzdcc-modal{ direction: rtl; }
body.uzdcc-rtl .uzdcc-switch .dot{ left:auto; right:3px; }
body.uzdcc-rtl .uzdcc-switch.on .dot{ transform: translateX(-22px); }
@media (max-width:600px){ .uzdcc-actions{ width:100%; justify-content:flex-start; } }
