.teche-consent-banner[hidden] {
  display: none !important;
}

.teche-consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2147483000;
  margin: 0 auto;
  max-width: 980px;
  border: 1px solid #1f6f3f;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
  color: #161616;
}

.teche-consent-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 20px;
}

.teche-consent-copy {
  max-width: 680px;
}

.teche-consent-copy h2 {
  margin: 0 0 8px;
  color: #161616;
  font-size: 20px;
  line-height: 1.3;
}

.teche-consent-copy p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
}

.teche-consent-copy a {
  color: #1f6f3f;
  text-decoration: underline;
}

.teche-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.teche-consent-choice,
.teche-cookie-preferences {
  min-height: 44px;
  border: 2px solid #1f6f3f;
  border-radius: 8px;
  background: #ffffff;
  color: #1f6f3f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.teche-consent-choice {
  min-width: 148px;
  padding: 10px 14px;
}

.teche-consent-choice:hover,
.teche-consent-choice:focus-visible,
.teche-cookie-preferences:hover,
.teche-cookie-preferences:focus-visible {
  outline: 3px solid rgba(31, 111, 63, 0.24);
  outline-offset: 2px;
}

.teche-cookie-preferences {
  position: static;
  display: block;
  width: max-content;
  max-width: calc(100% - 36px);
  margin: 16px auto 20px;
  padding: 10px 14px;
}

@media (max-width: 760px) {
  .teche-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .teche-consent-inner {
    display: block;
    padding: 16px;
  }

  .teche-consent-copy h2 {
    font-size: 18px;
  }

  .teche-consent-actions {
    margin-top: 14px;
  }

  .teche-consent-choice {
    flex: 1 1 0;
    min-width: 0;
  }
}
