.aurum-consent,
.aurum-consent * {
  box-sizing: border-box;
}

.aurum-consent {
  position: fixed;
  z-index: 2147483000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  font-family: Arial, Helvetica, sans-serif;
  color: #27321d;
}

.aurum-consent__panel {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(39, 50, 29, 0.18);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 14px 44px rgba(20, 28, 14, 0.22);
}

.aurum-consent h2 {
  margin: 0 0 8px;
  color: #2c3a1b;
  font-size: 1.15rem;
  line-height: 1.25;
}

.aurum-consent p {
  margin: 0 0 16px;
  color: #4a5540;
  font-size: 0.9rem;
  line-height: 1.55;
}

.aurum-consent a {
  color: #8c4f2b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aurum-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aurum-consent button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #7a8454;
  border-radius: 6px;
  background: #fffdf8;
  color: #2c3a1b;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.aurum-consent button:hover,
.aurum-consent button:focus-visible {
  outline: 2px solid #d9863f;
  outline-offset: 2px;
}

.aurum-consent .aurum-consent__primary {
  border-color: #2c3a1b;
  background: #2c3a1b;
  color: #fffdf8;
}

.aurum-consent .aurum-consent__decision {
  flex: 1 1 180px;
  border-color: #2c3a1b;
  background: #2c3a1b;
  color: #fffdf8;
}

.aurum-consent__choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid rgba(39, 50, 29, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.aurum-consent__choice span {
  display: grid;
  gap: 3px;
}

.aurum-consent__choice small {
  color: #626b59;
  font-size: 0.76rem;
  line-height: 1.35;
}

.aurum-consent__choice input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: #7a8454;
}

.aurum-consent__choice--disabled {
  background: #f1efe7;
}

.aurum-consent--saved {
  right: auto;
  left: 12px;
  bottom: 12px;
}

.aurum-consent__manage {
  max-width: min(78vw, 290px);
  min-height: 36px !important;
  padding: 8px 11px !important;
  border-color: rgba(39, 50, 29, 0.35) !important;
  background: rgba(255, 253, 248, 0.96) !important;
  box-shadow: 0 5px 18px rgba(20, 28, 14, 0.16);
  font-size: 0.72rem !important;
}

[data-consent-view][hidden] {
  display: none !important;
}

@media (max-width: 620px) {
  .aurum-consent {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .aurum-consent__panel {
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    padding: 16px;
  }

  .aurum-consent__actions {
    display: grid;
  }

  .aurum-consent__actions button {
    width: 100%;
  }

  .aurum-consent--saved {
    right: auto;
    left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurum-consent * {
    scroll-behavior: auto !important;
  }
}
