/* Cookie consent banner and settings modal */
#csc-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #222;
  color: #fff;
  padding: 18px 20px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.35);
  font-size: 15px;
  line-height: 1.5;
}
#csc-consent-banner .csc-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
#csc-consent-banner p {
  flex: 1 1 420px;
  margin: 0;
}
#csc-consent-banner a {
  color: #9ecfff;
  text-decoration: underline;
}
.csc-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.csc-consent-btn {
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid #fff;
  cursor: pointer;
  font-family: inherit;
}
/* Accept and Reject are deliberately styled identically (equal prominence) */
.csc-consent-btn.csc-primary {
  background: #fff;
  color: #222;
}
.csc-consent-btn.csc-link {
  background: transparent;
  color: #fff;
  border: none;
  text-decoration: underline;
  padding: 10px 6px;
}
.csc-consent-btn:focus {
  outline: 3px solid #9ecfff;
  outline-offset: 2px;
}

/* Settings modal */
#csc-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 16px;
}
#csc-consent-modal.csc-open {
  display: flex;
}
.csc-modal-dialog {
  background: #fff;
  color: #222;
  border-radius: 6px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.csc-modal-dialog h2 {
  margin: 0 0 12px;
  font-size: 22px;
}
.csc-consent-category {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 12px;
}
.csc-consent-category h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.csc-consent-category p {
  margin: 0;
  font-size: 14px;
  color: #555;
}
.csc-consent-category label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}
.csc-consent-category input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}
.csc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.csc-modal-actions .csc-consent-btn {
  background: #222;
  color: #fff;
  border-color: #222;
}
.csc-modal-actions .csc-consent-btn.csc-secondary {
  background: #fff;
  color: #222;
}

/* Click-to-load placeholder for third-party embeds (e.g. Google Maps) */
.consent-embed-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #e9e9e9;
  border: 1px dashed #bbb;
  padding: 20px;
  width: 100%;
  height: 100%;
}
.consent-embed-placeholder p {
  font-size: 13px;
  color: #444;
  margin: 0 0 12px;
}
