.nttt-privacy-banner,
.nttt-privacy-modal {
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.5;
  z-index: 999999;
}

.nttt-privacy-banner[hidden],
.nttt-privacy-modal[hidden] {
  display: none !important;
}

.nttt-privacy-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nttt-privacy-card {
  position: relative;
  width: min(760px, 100%);
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 48px rgba(0, 0, 0, .22);
  color: #202124;
  pointer-events: auto;
}

.nttt-privacy-card h2,
.nttt-privacy-card h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 22px;
  line-height: 1.3;
}

.nttt-privacy-card p {
  margin: 0 0 16px;
}

.nttt-privacy-card a {
  text-decoration: underline;
}

.nttt-privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nttt-privacy-actions .button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #7a7a7a;
  border-radius: 7px;
  background: #fff;
  color: #202124;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.nttt-privacy-actions .button:hover,
.nttt-privacy-actions .button:focus {
  border-color: #1f6b45;
  outline: 2px solid rgba(31, 107, 69, .18);
}

.nttt-privacy-actions .nttt-primary {
  border-color: #1f6b45;
  background: #1f6b45;
  color: #fff;
}

.nttt-privacy-actions .button:disabled {
  cursor: wait;
  opacity: .58;
}

.nttt-privacy-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .52);
}

.nttt-settings-card {
  max-width: 650px;
}


.nttt-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.nttt-consent-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid #e5e5e5;
  cursor: pointer;
}

.nttt-consent-row span {
  display: block;
}

.nttt-consent-row small {
  display: block;
  margin-top: 3px;
  color: #666;
}

.nttt-consent-row input[type="checkbox"] {
  width: 22px;
  min-width: 22px;
  height: 22px;
}

.nttt-consent-row.is-disabled {
  cursor: default;
  opacity: .78;
}


.nttt-status {
  padding: 9px 11px;
  border-radius: 6px;
  background: #f4f4f4;
  font-size: 14px;
}

.nttt-checkout-consents {
  clear: both;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fafafa;
}

.nttt-checkout-consents h3 {
  margin-top: 0;
}

.nttt-checkout-consents .form-row {
  margin-bottom: 9px;
}

.nttt-checkout-consents .description {
  margin: 7px 0 0;
  color: #666;
  font-size: 13px;
}

html.nttt-privacy-modal-open,
html.nttt-privacy-modal-open body {
  overflow: hidden;
}

@media (max-width: 600px) {
  .nttt-privacy-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .nttt-privacy-card {
    padding: 18px;
    border-radius: 10px;
  }

  .nttt-privacy-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nttt-privacy-actions .button {
    width: 100%;
  }
}

.nttt-cookie-policy-control {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fafafa;
}

.nttt-cookie-policy-control h2 {
  margin-top: 0;
}

.nttt-cookie-policy-button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #1f6b45;
  border-radius: 7px;
  background: #1f6b45;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.nttt-cookie-policy-button:hover,
.nttt-cookie-policy-button:focus {
  outline: 2px solid rgba(31, 107, 69, .18);
}
