.cbaa-consent {
  box-sizing: border-box;
  color: #17211b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  position: fixed;
  z-index: 2147483000;
}

.cbaa-consent *,
.cbaa-consent *::before,
.cbaa-consent *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.cbaa-consent--banner {
  align-items: center;
  background: #fff;
  border: 1px solid #d6ddd8;
  bottom: 16px;
  box-shadow: 0 12px 36px rgba(20, 32, 24, 0.18);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 50%;
  max-width: 1040px;
  padding: 18px 20px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
}

.cbaa-consent strong {
  color: #17211b;
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.cbaa-consent p {
  color: #536058;
  font-size: 13px;
  line-height: 1.55;
  margin: 5px 0 0;
  max-width: 660px;
}

.cbaa-consent a {
  color: #1f5a3a;
  text-decoration: underline;
}

.cbaa-consent__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cbaa-consent__button {
  appearance: none;
  background: #1f5a3a;
  border: 1px solid #1f5a3a;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 38px;
  padding: 0 14px;
  white-space: nowrap;
}

.cbaa-consent__button:hover,
.cbaa-consent__button:focus-visible {
  background: #17472e;
  border-color: #17472e;
}

.cbaa-consent__button--ghost {
  background: #fff;
  border-color: #bac5bd;
  color: #24352b;
}

.cbaa-consent__button--ghost:hover,
.cbaa-consent__button--ghost:focus-visible {
  background: #f1f5f2;
  border-color: #87978c;
  color: #17211b;
}

.cbaa-consent--dialog {
  align-items: center;
  background: rgba(12, 18, 14, 0.56);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
}

.cbaa-consent__dialog {
  background: #fff;
  border: 1px solid #d6ddd8;
  box-shadow: 0 18px 60px rgba(5, 12, 8, 0.3);
  max-height: calc(100vh - 40px);
  max-width: 520px;
  overflow: auto;
  padding: 24px;
  width: 100%;
}

.cbaa-consent__title-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.cbaa-consent__title-row h2 {
  color: #17211b;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.cbaa-consent__icon {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #46534b;
  cursor: pointer;
  display: inline-flex;
  font-size: 26px;
  height: 36px;
  justify-content: center;
  padding: 0;
  width: 36px;
}

.cbaa-consent__option {
  align-items: center;
  border-top: 1px solid #e4e9e5;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
}

.cbaa-consent__option strong {
  font-size: 14px;
}

.cbaa-consent__option small {
  color: #647168;
  display: block;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 3px;
}

.cbaa-consent__option input {
  accent-color: #1f5a3a;
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.cbaa-consent__dialog .cbaa-consent__actions {
  justify-content: flex-end;
  margin-top: 24px;
}

.cbaa-privacy-control {
  appearance: none;
  background: transparent;
  border: 0;
  bottom: 8px;
  color: #57645c;
  cursor: pointer;
  font: 500 11px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  left: 8px;
  padding: 4px;
  position: fixed;
  text-decoration: underline;
  z-index: 9998;
}

@media (max-width: 780px) {
  .cbaa-consent--banner {
    align-items: stretch;
    bottom: 8px;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    width: calc(100% - 16px);
  }

  .cbaa-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cbaa-consent--banner .cbaa-consent__button:last-child {
    grid-column: 1 / -1;
  }

  .cbaa-consent__button {
    min-width: 0;
    padding: 0 10px;
    white-space: normal;
  }

  .cbaa-consent__dialog {
    padding: 20px;
  }
}
