.ste-privacy-banner {
  position: fixed;
  z-index: 2147483000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem;
  color: #242424;
  background: #fff;
  border: 1px solid #555;
  box-shadow: 0 8px 28px rgb(0 0 0 / 24%);
  font: 16px/1.45 Arial, sans-serif;
}

.ste-privacy-banner[hidden] {
  display: none;
}

.ste-privacy-copy h2,
.ste-privacy-copy p {
  margin: 0;
}

.ste-privacy-copy h2 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.ste-privacy-copy a,
.ste-privacy-dialog a {
  color: #165b73;
}

.ste-privacy-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(9rem, 1fr));
  align-items: stretch;
  gap: 0.5rem;
}

.ste-privacy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  color: #242424;
  background: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  font: 700 0.95rem/1.2 Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}

.ste-privacy-button-primary {
  color: #171717 !important;
  background: #f5a800 !important;
  border: 2px solid #8a5e00 !important;
  box-shadow: 0 3px 0 #8a5e00, 0 4px 10px rgb(0 0 0 / 18%);
  font-weight: 800;
}

.ste-privacy-button-primary:hover {
  background: #ffb719 !important;
}

.ste-privacy-button:focus-visible,
.ste-privacy-dialog input:focus-visible {
  outline: 3px solid #f5a800;
  outline-offset: 3px;
}

.ste-privacy-button-choices {
  position: fixed;
  z-index: 2147482000;
  right: 1rem;
  bottom: 1rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.75rem;
  background: #fff;
  box-shadow: 0 3px 12px rgb(0 0 0 / 18%);
}

.ste-privacy-policy-link {
  position: fixed;
  z-index: 2147482000;
  right: 9.5rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.55rem 0.75rem;
  color: #165b73;
  background: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 18%);
  font: 700 0.95rem/1.2 Arial, sans-serif;
}

.ste-privacy-policy-link:focus-visible {
  outline: 3px solid #f5a800;
  outline-offset: 3px;
}

.ste-privacy-policy {
  margin: 0.75rem 0 1rem;
}

.ste-privacy-dialog {
  width: min(44rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 1.25rem;
  color: #242424;
  background: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  font: 16px/1.45 Arial, sans-serif;
}

.ste-privacy-dialog::backdrop {
  background: rgb(0 0 0 / 55%);
}

.ste-privacy-dialog h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  letter-spacing: 0;
}

.ste-privacy-preference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 1.25rem;
  min-height: 5.5rem;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
  cursor: pointer;
}

.ste-privacy-preference span {
  display: block;
}

.ste-privacy-preference strong {
  margin-bottom: 0.2rem;
}

.ste-privacy-preference input {
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  appearance: auto !important;
  box-sizing: border-box;
  width: 1.5rem !important;
  height: 1.5rem !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: initial !important;
  accent-color: #f5a800;
  cursor: pointer;
  pointer-events: auto;
}

.ste-privacy-preference input::before,
.ste-privacy-preference input::after {
  content: none !important;
}

.ste-privacy-preference input:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.ste-privacy-preference:has(input:disabled) {
  cursor: default;
}

.ste-privacy-dialog .ste-privacy-actions {
  grid-template-columns: repeat(2, minmax(9rem, 1fr));
  margin-top: 0.75rem;
}

.contact-form-consent,
.franchise-inquiry-consent,
.employment-application-consent {
  display: grid !important;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
}

.contact-form-consent input[type="checkbox"],
.franchise-inquiry-consent input[type="checkbox"],
.employment-application-consent input[type="checkbox"] {
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  appearance: auto !important;
  box-sizing: border-box !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: initial !important;
  accent-color: #f5a800;
  cursor: pointer;
  pointer-events: auto;
}

.contact-form-consent input[type="checkbox"]::before,
.contact-form-consent input[type="checkbox"]::after,
.franchise-inquiry-consent input[type="checkbox"]::before,
.franchise-inquiry-consent input[type="checkbox"]::after,
.employment-application-consent input[type="checkbox"]::before,
.employment-application-consent input[type="checkbox"]::after {
  content: none !important;
}

.contact-form-consent label,
.franchise-inquiry-consent label,
.employment-application-consent {
  cursor: pointer;
}

.contact-form-consent input[type="checkbox"]:focus-visible,
.franchise-inquiry-consent input[type="checkbox"]:focus-visible,
.employment-application-consent input[type="checkbox"]:focus-visible {
  outline: 3px solid #f5a800 !important;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .ste-privacy-banner {
    display: block;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
  }

  .ste-privacy-actions {
    grid-template-columns: 1fr;
    margin-top: 0.75rem;
  }

  .ste-privacy-dialog .ste-privacy-actions {
    grid-template-columns: 1fr;
  }

  .ste-privacy-policy-link {
    right: auto;
    left: 1rem;
  }
}
