/* Core visibility control */
.sgcb-hidden {
  display: none !important;
}
#sgcb-consent.sgcb-hidden {
  display: none !important;
}

#sgcb-consent {
  position: fixed;
  inset: 0;
  z-index: 99999;
  font-weight: normal;
  pointer-events: none;
}

/* removido o fundo que bloqueava cliques */
.sgcb-backdrop {
  display: none !important;
}

.sgcb-box {
  position: absolute;
  right: 1rem; /* stick to right by default */
  bottom: 2rem;
  max-width: 360px;
  width: calc(100% - 2rem);
  background: #fff;
  color: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 16px;
  line-height: 1.5;
  z-index: 1;
  pointer-events: all;
}
.sgcb-step {
  margin: 0;
}
.sgcb-text {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: normal;
}
.sgcb-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sgcb-btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: normal; /* remove bold */
  font-size: 14px;
  font-family: inherit !important;
}
.sgcb-accept-all {
  background: #1e1e1e;
  color: #fff;
}
.sgcb-reject-all,
.sgcb-back {
  background: #e5e7eb;
  color: #1e1e1e;
}
.sgcb-manage,
.sgcb-save {
  background: #1e1e1e;
  color: #fff;
}
.sgcb-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 14px;
}
.sgcb-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid #eee;
}
.sgcb-list li:first-child {
  border-top: 0;
}
.sgcb-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sgcb-toggle input {
  width: 42px;
  height: 24px;
  accent-color: #1e1e1e;
}
.sgcb-privacy {
  margin: 8px 0 0;
  font-size: 14px;
}
.sgcb-privacy a {
  color: #1e1e1e;
  text-decoration: underline;
}

/* Mobile: center the box */
@media (max-width: 600px) {
  .sgcb-box {
    right: 50%;
    transform: translateX(50%); /* center horizontally */
    max-width: 90%;
  }
}
