.scl-banner,
.scl-modal,
.scl-embed-message,
.sharp-privacy-request-form,
.scl-floating-button {
  box-sizing: border-box;
  color: #1f2933;
  font-family: inherit;
}

.scl-banner {
  position: fixed;
  z-index: 99998;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(100% - 32px, 1120px);
  padding: 18px;
  background: #ffffff;
  border: 1px solid #c8d1dc;
  box-shadow: 0 18px 50px rgba(22, 36, 51, 0.2);
}

.scl-position-bottom_bar {
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: auto;
}

.scl-position-bottom_left {
  bottom: 16px;
  left: 16px;
  max-width: 520px;
  grid-template-columns: 1fr;
}

.scl-position-bottom_right {
  right: 16px;
  bottom: 16px;
  max-width: 520px;
  grid-template-columns: 1fr;
}

.scl-position-center {
  top: 50%;
  left: 50%;
  max-width: 620px;
  transform: translate(-50%, -50%);
  grid-template-columns: 1fr;
}

.scl-banner p,
.scl-modal p {
  margin: 0;
  line-height: 1.5;
}

.scl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.scl-actions button,
.sharp-cookie-preferences-link,
.sharp-privacy-request-form button,
.scl-embed-message button {
  min-height: 42px;
  padding: 9px 14px;
  color: #102033;
  background: #f4f7fa;
  border: 1px solid #8fa1b4;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}

.scl-floating-button {
  position: fixed;
  bottom: 18px;
  display: inline-grid;
  place-items: center;
  z-index: 99997;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  color: #ffffff;
  background: #12385c;
  border-color: #12385c;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.22);
}

.scl-floating-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.scl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scl-floating-bottom_right {
  right: 18px;
}

.scl-floating-bottom_left {
  left: 18px;
}

.scl-actions .scl-accept,
.scl-actions .scl-reject,
.sharp-privacy-request-form button {
  color: #ffffff;
  background: #12385c;
  border-color: #12385c;
}

.scl-actions button:focus-visible,
.sharp-cookie-preferences-link:focus-visible,
.sharp-privacy-request-form input:focus-visible,
.sharp-privacy-request-form textarea:focus-visible,
.sharp-privacy-request-form select:focus-visible,
.scl-embed-message button:focus-visible {
  outline: 3px solid #f7c948;
  outline-offset: 2px;
}

.scl-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 20, 31, 0.55);
}

.scl-modal {
  width: min(100%, 680px);
  max-height: min(720px, 92vh);
  overflow: auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #c8d1dc;
  box-shadow: 0 24px 70px rgba(9, 20, 31, 0.35);
}

.scl-modal h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.scl-notice {
  margin: 0 0 14px;
  padding: 12px;
  background: #eef6f7;
  border-left: 4px solid #167c80;
}

.scl-categories {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.scl-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d7dee6;
}

.scl-category small {
  display: block;
  margin-top: 4px;
  color: #52606d;
  line-height: 1.45;
}

.scl-switch input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.scl-switch span {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  background: #8fa1b4;
  border-radius: 999px;
}

.scl-switch span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  content: "";
  background: #ffffff;
  border-radius: 50%;
  transition: transform 120ms ease;
}

.scl-switch input:checked + span {
  background: #167c80;
}

.scl-switch input:checked + span::after {
  transform: translateX(20px);
}

.scl-switch input:focus-visible + span {
  outline: 3px solid #f7c948;
  outline-offset: 2px;
}

.scl-blocked-embed {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 20px;
  background: #f4f7fa;
  border: 1px solid #c8d1dc;
}

.scl-embed-message {
  text-align: center;
}

.scl-embed-message p {
  margin-bottom: 12px;
}

.sharp-privacy-request-form {
  display: grid;
  gap: 12px;
}

.sharp-privacy-request-form p {
  margin: 0;
}

.sharp-privacy-request-form label {
  display: grid;
  gap: 6px;
}

.sharp-privacy-request-form input,
.sharp-privacy-request-form select,
.sharp-privacy-request-form textarea {
  width: 100%;
  max-width: 680px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #8fa1b4;
  border-radius: 4px;
  font: inherit;
}

.sharp-privacy-request-form textarea {
  min-height: 120px;
}

.scl-honeypot {
  position: absolute;
  left: -10000px;
}

.scl-form-message {
  min-height: 1.4em;
}

.scl-form-message.is-success {
  color: #236b2e;
}

.scl-form-message.is-error {
  color: #a32020;
}

@media (max-width: 720px) {
  .scl-banner,
  .scl-position-bottom_left,
  .scl-position-bottom_right,
  .scl-position-center {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    transform: none;
    grid-template-columns: 1fr;
  }

  .scl-position-center {
    top: auto;
  }

  .scl-actions {
    justify-content: stretch;
  }

  .scl-actions button {
    flex: 1 1 180px;
  }
}
