/* Bar Council disclaimer modal (was WP Terms Popup, wp-terms-popup-public.css).
 * Only the rules this site's markup actually uses: the .sticky variants, the
 * dropdown table and the acknowledgement-checkbox rules had no matching markup
 * and were dropped. The overlay colour, title colour and the body scroll-lock
 * stay inline in index.html (inside the removable subtree) exactly as before, so
 * dismissing the modal still unlocks scrolling.
 *
 * !important is kept where it was: it beats the theme's own p / h3 cascade, and
 * removing it would shift the modal's text. IDs are kept as IDs (not downgraded
 * to classes) so specificity — and therefore the rendering — is unchanged. */

.disclaimer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999998;
}

.disclaimer-card {
  position: fixed;
  top: 15%;
  left: 25%;
  width: 50%;
  height: 60%;
  padding: 16px;
  overflow: auto;
  background-color: #fff;
  text-align: left;
  font-size: 15px;
  z-index: 9999999;
}

@media (max-width: 991px) {
  .disclaimer-card { top: 10%; left: 10%; width: 80%; height: 80%; }
}

@media (max-width: 767px) {
  .disclaimer-card { top: 5%; left: 5%; width: 90%; height: 90%; }
}

.disclaimer-container p {
  font-size: 1em !important;
  line-height: 1.6em !important;
}

h3.disclaimer-title {
  margin: -16px -16px 30px !important;
  padding: 1%;
  font-size: 1.2em;
  text-align: center;
  text-transform: capitalize;
}

#disclaimer-actions {
  padding-bottom: 16px;
}

.disclaimer-buttons {
  width: 80% !important;
  margin: 10px auto !important;
  text-align: center !important;
}
