/* Privacy choices modal (site-wide) */

.sw-privacy-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  display: none;
  z-index: 9999;
}

.sw-privacy-overlay.is-open {
  display: flex;
}

.sw-privacy-overlay {
  align-items: flex-end;
  justify-content: center;
  padding: 18px 12px;
}

.sw-privacy-modal {
  width: min(720px, 100%);
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 22px 18px 18px;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;
  color: #111;
  text-align: left;
}

.sw-privacy-title {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 14px;
}

.sw-privacy-intro {
  font-size: 14px;
  line-height: 20px;
  color: #333;
  margin: 0 4px 14px;
  text-align: left;
}

.sw-privacy-intro a {
  font: inherit;
  color: inherit;
  text-decoration: underline;
}

.sw-privacy-options {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.sw-privacy-option {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 8px;
}

.sw-privacy-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.sw-privacy-option label {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
  text-align: left;
  justify-self: start;
}

.sw-privacy-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.sw-privacy-btn {
  width: min(520px, 100%);
  height: 44px;
  border-radius: 24px;
  border: 2px solid #111;
  background: transparent;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
}

.sw-privacy-btn:active {
  transform: translateY(1px);
}

.sw-privacy-confirmation {
  display: none;
}

.sw-privacy-confirmation.is-active {
  display: block;
}

.sw-privacy-selection.is-hidden {
  display: none;
}

.sw-privacy-confirmation-text {
  font-size: 13px;
  line-height: 18px;
  color: #222;
  text-align: center;
  margin: 6px 8px 14px;
}

@media (min-width: 768px) {
  .sw-privacy-overlay {
    padding: 26px 16px 36px;
  }
  .sw-privacy-modal {
    border-radius: 26px;
    padding: 24px 22px 20px;
  }
  .sw-privacy-title {
    font-size: 19px;
  }
  .sw-privacy-intro {
    font-size: 13px;
    line-height: 19px;
  }
  .sw-privacy-option label {
    font-size: 13px;
    font-weight: 500;
  }
  .sw-privacy-confirmation-text {
    font-size: 12.5px;
  }
}

