/* Axon Developers - DPDP consent styles */

/* Cookie banner */
.dpdp-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1040; /* below Bootstrap modals (1050+) */
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.dpdp-banner[hidden] { display: none; }
.dpdp-banner__inner {
  pointer-events: auto;
  width: 100%;
  max-width: 960px;
  background: #fff;
  color: #222;
  border-radius: 8px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.5;
}
.dpdp-banner__title { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.dpdp-banner__text p { margin: 0 0 8px; }
.dpdp-banner__text a { color: inherit; text-decoration: underline; }
.dpdp-banner__settings { margin: 8px 0 4px; }
.dpdp-banner__settings[hidden] { display: none; }
.dpdp-toggle { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; cursor: pointer; }
.dpdp-toggle input { margin-top: 4px; flex: 0 0 auto; }
.dpdp-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 10px; }
.dpdp-btn {
  border: 1px solid #222;
  background: #fff;
  color: #222;
  border-radius: 4px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  min-width: 120px;
}
.dpdp-btn:hover, .dpdp-btn:focus { background: #222; color: #fff; }
.dpdp-btn[hidden] { display: none; }
@media (max-width: 575px) {
  .dpdp-banner { left: 8px; right: 8px; bottom: 8px; }
  .dpdp-banner__actions { justify-content: stretch; }
  .dpdp-btn { flex: 1 1 45%; min-width: 0; }
}

/* Consent block in forms */
.dpdp-consent .dpdp-notice { font-size: 12px; line-height: 1.45; margin: 0 0 8px; text-align: left; }
.dpdp-consent .dpdp-notice a, .dpdp-check a { color: inherit; text-decoration: underline; }
.dpdp-check { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; text-align: left; }
.dpdp-check input[type="checkbox"] { margin-top: 3px; flex: 0 0 auto; width: auto; height: auto; }
.dpdp-check label { font-size: 12px; line-height: 1.45; margin: 0; }
.dpdp-req, .dpdp-opt { font-style: italic; opacity: 0.8; }
.dpdp-check--newsletter { margin-top: 10px; color: #fff; }

/* Policy pages */
.dpdp-page h2 { margin-bottom: 8px; }
.dpdp-page .dpdp-meta { font-size: 14px; opacity: 0.75; margin-bottom: 20px; }
.dpdp-page h3 { margin-top: 28px; }
.dpdp-page ul, .dpdp-page ol { padding-left: 1.4em; }
.dpdp-page ul { list-style: disc; }
.dpdp-page ol { list-style: decimal; }
.dpdp-page strong, .dpdp-banner strong, .dpdp-page th { font-weight: 700; }
.dpdp-page li { margin-bottom: 6px; }
.dpdp-summary { background: #f6f6f6; border-left: 4px solid #222; padding: 14px 18px; margin: 16px 0 8px; }
.dpdp-summary p:last-child { margin-bottom: 0; }
.dpdp-table-wrap { overflow-x: auto; margin: 12px 0 16px; }
.dpdp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dpdp-table th, .dpdp-table td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; vertical-align: top; }
.dpdp-table th { background: #f2f2f2; }
.dpdp-contact { background: #f6f6f6; padding: 14px 18px; }

/* Data-rights form */
.dpdp-form { max-width: 720px; }
.dpdp-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.dpdp-form legend { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.dpdp-form .dpdp-radio { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; }
.dpdp-form .dpdp-radio input { margin-top: 5px; }
.dpdp-form label.dpdp-label { display: block; font-weight: 600; margin: 12px 0 4px; }
.dpdp-form input[type="text"], .dpdp-form input[type="email"], .dpdp-form input[type="tel"], .dpdp-form textarea {
  width: 100%; border: 1px solid #bbb; border-radius: 4px; padding: 9px 11px; font-size: 15px;
}
.dpdp-form textarea { min-height: 120px; }
.dpdp-form .dpdp-hint { font-size: 13px; opacity: 0.75; margin: 4px 0 0; }
.dpdp-form .dpdp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dpdp-form button[type="submit"] {
  margin-top: 18px; border: 1px solid #222; background: #222; color: #fff;
  border-radius: 4px; padding: 10px 26px; font-size: 15px; cursor: pointer;
}
.dpdp-alert { padding: 12px 16px; border-radius: 4px; margin: 0 0 18px; }
.dpdp-alert--error { background: #fdecec; border: 1px solid #e5a5a5; }
.dpdp-alert--ok { background: #eaf6ec; border: 1px solid #9ccfa6; }
