.avisio-consent[hidden],
.avisio-consent-settings[hidden] {
  display: none !important;
}

.avisio-consent {
  position: fixed;
  z-index: 10000;
  bottom: 1rem;
  left: auto;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(760px, calc(100vw - 2rem));
  max-width: 760px;
  margin: 0;
  box-sizing: border-box;
  transform: none;
  padding: 1.15rem 1.25rem;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #c8e4d8;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 110, 86, .18);
  font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.avisio-consent__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.avisio-consent__copy h2 {
  margin: 0 0 .25rem;
  color: #0f6e56;
  font: 600 16px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.avisio-consent__copy p {
  margin: 0;
  color: #555;
}

.avisio-consent__copy a {
  color: #0f6e56;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.avisio-consent__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .6rem;
}

.avisio-consent__button,
.avisio-consent-settings {
  min-height: 42px;
  padding: .65rem 1rem;
  border: 1px solid #0f6e56;
  border-radius: 8px;
  font: 600 14px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.avisio-consent__button:focus-visible,
.avisio-consent-settings:focus-visible {
  outline: 3px solid rgba(29, 158, 117, .35);
  outline-offset: 2px;
}

.avisio-consent__button--secondary {
  color: #0f6e56;
  background: #fff;
}

.avisio-consent__button--secondary:hover {
  background: #f2faf7;
}

.avisio-consent__button--primary,
.avisio-consent-settings {
  color: #fff;
  background: #0f6e56;
}

.avisio-consent__button--primary:hover,
.avisio-consent-settings:hover {
  border-color: #0b5943;
  background: #0b5943;
}

.avisio-consent-settings {
  position: fixed;
  z-index: 9999;
  bottom: 1rem;
  left: 1rem;
  box-shadow: 0 4px 16px rgba(15, 110, 86, .2);
}

@media (max-width: 700px) {
  .avisio-consent {
    right: .75rem;
    bottom: .75rem;
    width: calc(100vw - 1.5rem);
    align-items: stretch;
    flex-direction: column;
    gap: .9rem;
    padding: 1rem;
  }

  .avisio-consent__actions {
    justify-content: stretch;
  }

  .avisio-consent__button {
    flex: 1 1 50%;
  }

  .avisio-consent-settings {
    bottom: .75rem;
    left: .75rem;
  }
}

/* Compact cookie-settings badge; its title attribute supplies the hover label. */
.avisio-consent-settings {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}


