/* CK Cookie Consent v2.4 — fundo escuro, texto branco e negrito */

/* === BANNER === */
#ck-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a1a1a;
  border-top: none;
  box-shadow: 0 -2px 16px rgba(0,0,0,.35);
  z-index: 9999;
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  flex-direction: column;
  gap: .625rem;
  padding: .875rem 1rem;
}
#ck-banner.ck-visible { display: flex; }

@media (min-width: 540px) {
  #ck-banner {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.ck-banner-text {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
}

.ck-privacy-link {
  color: #a89ff5;
  text-decoration: underline;
  font-weight: 700;
}
.ck-privacy-link:hover { color: #ffffff; }

.ck-banner-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

/* === BOTÕES === */
.ck-btn {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  padding: 7px 11px;
  border-radius: 7px;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #ffffff;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.ck-btn span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-top: 1px;
}
.ck-btn:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.5);
}

.ck-btn-accept {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
  font-weight: 800;
}
.ck-btn-accept span { color: rgba(0,0,0,.7); }
.ck-btn-accept:hover { background: #e8e8e8; border-color: #e8e8e8; }

.ck-btn-reject {
  color: #ffffff;
}

.ck-btn-link {
  border-color: transparent;
  background: transparent;
  font-size: 16px;
  padding: 4px 6px;
  color: rgba(255,255,255,.5);
  line-height: 1;
  font-weight: 400;
}
.ck-btn-link:hover {
  background: rgba(255,255,255,.1);
  border-color: transparent;
  color: #ffffff;
}

/* === MODAL === */
#ck-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 10000;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
#ck-modal.ck-visible { display: flex; }

@media (min-width: 540px) {
  #ck-modal { align-items: center; padding: 1rem; }
  .ck-modal-box { border-radius: 14px; max-width: 440px; }
}

.ck-modal-box {
  background: #1a1a1a;
  border-radius: 16px 16px 0 0;
  padding: 1.25rem 1.25rem 2rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 -4px 32px rgba(0,0,0,.4);
  box-sizing: border-box;
}

.ck-modal-box h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.ck-modal-box > p {
  margin: 0 0 .5rem;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

.ck-modal-box a {
  color: #a89ff5;
  text-decoration: underline;
  font-weight: 700;
}
.ck-modal-box a:hover { color: #ffffff; }

/* Categorias */
.ck-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.ck-category-info { flex: 1; padding-right: 10px; }
.ck-category-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.ck-category-desc {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  margin-top: 1px;
  line-height: 1.4;
}

/* Toggle */
.ck-toggle { position: relative; width: 36px; height: 20px; flex-shrink: 0; }
.ck-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.ck-toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(255,255,255,.2);
  border-radius: 20px; transition: background .2s;
}
.ck-toggle-slider::before {
  content: ''; position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px;
  transition: transform .2s;
}
.ck-toggle input:checked + .ck-toggle-slider { background: #7c6fff; }
.ck-toggle input:checked + .ck-toggle-slider::before { transform: translateX(16px); }
.ck-toggle input:disabled + .ck-toggle-slider { background: #7c6fff; opacity: .5; cursor: not-allowed; }

.ck-modal-footer {
  display: flex; gap: 8px;
  justify-content: flex-end;
  margin-top: 1rem;
}
