:root {
  --gbe-consent-bg: #111111;
  --gbe-consent-fg: #ffffff;
  --gbe-consent-muted: rgba(255, 255, 255, 0.76);
  --gbe-consent-border: rgba(255, 255, 255, 0.24);
}

.gbe-consent-settings {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.gbe-ads-consent {
  bottom: 20px;
  left: 20px;
  position: fixed;
  right: 20px;
  z-index: 100000;
}

.gbe-ads-consent[hidden] {
  display: none !important;
}

.gbe-ads-consent__panel {
  align-items: center;
  background: var(--gbe-consent-bg);
  border: 1px solid var(--gbe-consent-border);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  color: var(--gbe-consent-fg);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px 24px;
}

.gbe-ads-consent__title {
  color: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
}

.gbe-ads-consent__body {
  color: var(--gbe-consent-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.gbe-ads-consent__privacy {
  color: var(--gbe-consent-fg);
  display: inline-block;
  font-size: 13px;
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gbe-ads-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.gbe-ads-consent__button {
  appearance: none;
  border: 1px solid var(--gbe-consent-fg);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  min-height: 44px;
  padding: 13px 18px;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.gbe-ads-consent__button--accept {
  background: var(--gbe-consent-fg);
  color: var(--gbe-consent-bg);
}

.gbe-ads-consent__button--reject {
  background: transparent;
  color: var(--gbe-consent-fg);
}

.gbe-ads-consent__button:focus-visible,
.gbe-consent-settings:focus-visible,
.gbe-ads-consent__privacy:focus-visible {
  outline: 3px solid #78a8ff;
  outline-offset: 3px;
}

@media (hover: hover) {
  .gbe-ads-consent__button--accept:hover {
    background: #dedede;
    border-color: #dedede;
  }

  .gbe-ads-consent__button--reject:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 767px) {
  .gbe-ads-consent {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .gbe-ads-consent__panel {
    align-items: stretch;
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .gbe-ads-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gbe-ads-consent__button {
    width: 100%;
  }
}
