/**
 * Public admission form.
 *
 * Colours and type are taken from the CCVESD theme's custom properties where
 * they exist, with literal fallbacks so the form still looks right on any
 * other theme.
 */

.ccvesd-adm {
  --adm-blue:   var(--ccvesd-blue, #1a56db);
  --adm-dark:   var(--ccvesd-dark-blue, #1e3a5f);
  --adm-light:  var(--ccvesd-light-blue, #e8f0fe);
  --adm-gold:   var(--ccvesd-gold, #f59e0b);
  --adm-text:   var(--ccvesd-text, #1f2937);
  --adm-muted:  var(--ccvesd-text-light, #6b7280);
  --adm-border: var(--ccvesd-border, #e5e7eb);
  --adm-bg:     var(--ccvesd-bg, #f8fafc);
  --adm-white:  #fff;
  --adm-error:  #b42318;
  --adm-green:  #067647;
  --adm-radius: var(--ccvesd-radius, 8px);
  --adm-radius-lg: var(--ccvesd-radius-lg, 14px);
  --adm-sans:   var(--ccvesd-font-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  --adm-head:   var(--ccvesd-font-heading, "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);

  max-width: 940px;
  margin: 0 auto;
  padding: 0 16px;
  font-family: var(--adm-sans);
  color: var(--adm-text);
  font-size: 15px;
  line-height: 1.6;
}

.ccvesd-adm *,
.ccvesd-adm *::before,
.ccvesd-adm *::after { box-sizing: border-box; }

/* ---------- Isolation from the surrounding theme ----------
   Themes style their content area with rules like `.entry-content h2`
   or, here, `.ccvesd-page-inner h2`, which match this component's markup
   and carry the same weight as a one-class rule. That painted the form's
   title in the theme's dark navy on this header's dark navy gradient and
   gave it a stray underline.

   This block neutralises the properties the component does not set for
   itself. It is deliberately kept to a single class so it outranks nothing
   of our own: the component's rules below match on two classes and still
   win. Against the theme it ties, and the tie is settled by load order —
   the stylesheet is enqueued after the theme's for exactly that reason
   (see CCVESD_Admissions_Form::enqueue).                             */

.ccvesd-adm h2,
.ccvesd-adm h3,
.ccvesd-adm h4,
.ccvesd-adm p,
.ccvesd-adm ul,
.ccvesd-adm ol,
.ccvesd-adm li,
.ccvesd-adm dl,
.ccvesd-adm fieldset,
.ccvesd-adm legend,
.ccvesd-adm label {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  line-height: inherit;
  text-transform: none;
  letter-spacing: normal;
  background: none;
}

.ccvesd-adm ul,
.ccvesd-adm ol { list-style: none; }

/* ---------- Form shell ---------- */

.ccvesd-adm .ccvesd-adm-form {
  background: var(--adm-white);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-lg);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .06), 0 4px 6px -2px rgba(0, 0, 0, .04);
  overflow: hidden;
  margin: 0 0 48px;
}

.ccvesd-adm .ccvesd-adm-header {
  background: linear-gradient(135deg, var(--adm-dark) 0%, var(--adm-blue) 100%);
  color: var(--adm-white);
  padding: 32px 36px;
}

.ccvesd-adm .ccvesd-adm-header h2 {
  font-family: var(--adm-head);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: var(--adm-white);
  margin: 0 0 8px;
  line-height: 1.25;
}

.ccvesd-adm .ccvesd-adm-header p {
  margin: 0;
  font-size: .92rem;
  color: rgba(255, 255, 255, .82);
}

/* ---------- Sections ---------- */

.ccvesd-adm .ccvesd-adm-section {
  padding: 32px 36px;
  border-bottom: 1px solid var(--adm-border);
}

.ccvesd-adm .ccvesd-adm-section:last-of-type { border-bottom: 0; }

.ccvesd-adm .ccvesd-adm-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--adm-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--adm-dark);
  margin: 0 0 6px;
}

.ccvesd-adm .ccvesd-adm-step {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--adm-light);
  color: var(--adm-blue);
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ccvesd-adm .ccvesd-adm-section-intro {
  margin: 0 0 20px 40px;
  font-size: .88rem;
  color: var(--adm-muted);
}

/* ---------- Field grid ---------- */

.ccvesd-adm .ccvesd-adm-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 20px;
  margin-top: 20px;
}

.ccvesd-adm .ccvesd-adm-w-full { grid-column: span 6; }
.ccvesd-adm .ccvesd-adm-w-half { grid-column: span 3; }
.ccvesd-adm .ccvesd-adm-w-third { grid-column: span 2; }

.ccvesd-adm .ccvesd-adm-field { min-width: 0; }

.ccvesd-adm .ccvesd-adm-field > label,
.ccvesd-adm .ccvesd-adm-fieldset > legend {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--adm-text);
  margin: 0 0 6px;
  padding: 0;
}

.ccvesd-adm .ccvesd-adm-req { color: var(--adm-error); }

.ccvesd-adm .ccvesd-adm-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.ccvesd-adm .ccvesd-adm-field input[type="text"],
.ccvesd-adm .ccvesd-adm-field input[type="email"],
.ccvesd-adm .ccvesd-adm-field input[type="tel"],
.ccvesd-adm .ccvesd-adm-field input[type="date"],
.ccvesd-adm .ccvesd-adm-field input[type="number"],
.ccvesd-adm .ccvesd-adm-field select,
.ccvesd-adm .ccvesd-adm-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  font-family: var(--adm-sans);
  font-size: .92rem;
  line-height: 1.5;
  color: var(--adm-text);
  background: var(--adm-white);
  transition: border-color .2s ease, box-shadow .2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.ccvesd-adm .ccvesd-adm-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.ccvesd-adm .ccvesd-adm-field input:focus,
.ccvesd-adm .ccvesd-adm-field select:focus,
.ccvesd-adm .ccvesd-adm-field textarea:focus {
  border-color: var(--adm-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, .12);
}

.ccvesd-adm .ccvesd-adm-field textarea {
  resize: vertical;
  min-height: 84px;
}

.ccvesd-adm .ccvesd-adm-field input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed var(--adm-border);
  border-radius: var(--adm-radius);
  background: var(--adm-bg);
  font-size: .85rem;
  color: var(--adm-muted);
  cursor: pointer;
}

.ccvesd-adm .ccvesd-adm-field input[type="file"]:focus {
  border-color: var(--adm-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, .12);
}

.ccvesd-adm .ccvesd-adm-help {
  margin: 6px 0 0;
  font-size: .78rem;
  color: var(--adm-muted);
  line-height: 1.5;
}

.ccvesd-adm .ccvesd-adm-error {
  margin: 6px 0 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--adm-error);
}

.ccvesd-adm .ccvesd-adm-has-error input,
.ccvesd-adm .ccvesd-adm-has-error select,
.ccvesd-adm .ccvesd-adm-has-error textarea,
.ccvesd-adm .ccvesd-adm-has-error .ccvesd-adm-choices {
  border-color: var(--adm-error);
}

/* ---------- Choice chips ---------- */

.ccvesd-adm .ccvesd-adm-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ccvesd-adm .ccvesd-adm-choices-stack {
  flex-direction: column;
  gap: 6px;
}

.ccvesd-adm .ccvesd-adm-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--adm-border);
  border-radius: 999px;
  background: var(--adm-white);
  font-size: .88rem;
  color: var(--adm-text);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  margin: 0;
}

.ccvesd-adm .ccvesd-adm-choices-stack .ccvesd-adm-choice {
  border-radius: var(--adm-radius);
  width: 100%;
}

.ccvesd-adm .ccvesd-adm-choice:hover { border-color: var(--adm-blue); }

.ccvesd-adm .ccvesd-adm-choice input {
  margin: 0;
  accent-color: var(--adm-blue);
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.ccvesd-adm .ccvesd-adm-choice:has(input:checked) {
  border-color: var(--adm-blue);
  background: var(--adm-light);
  font-weight: 600;
}

.ccvesd-adm .ccvesd-adm-choice:focus-within {
  box-shadow: 0 0 0 3px rgba(26, 86, 219, .12);
}

.ccvesd-adm .ccvesd-adm-choice-declaration {
  align-items: flex-start;
  border-radius: var(--adm-radius);
  padding: 14px 16px;
  background: var(--adm-bg);
  font-size: .9rem;
  line-height: 1.55;
}

/* ---------- Searchable select (course name) ----------
   form.js keeps the <select> as the value carrier and hides it behind a
   search box; without JS the plain <select> is what shows. */

.ccvesd-adm .ccvesd-adm-combo {
  position: relative;
}

.ccvesd-adm .ccvesd-adm-field select.ccvesd-adm-combo-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

.ccvesd-adm .ccvesd-adm-field .ccvesd-adm-combo input[type="text"] {
  padding-right: 38px;
}

.ccvesd-adm .ccvesd-adm-combo-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat center;
  cursor: pointer;
  transition: transform .2s ease;
}

.ccvesd-adm .ccvesd-adm-combo.is-open .ccvesd-adm-combo-toggle {
  transform: rotate(180deg);
}

.ccvesd-adm .ccvesd-adm-combo-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 290px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--adm-white);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
  padding: 4px;
}

.ccvesd-adm .ccvesd-adm-combo-list[hidden] { display: none; }

.ccvesd-adm .ccvesd-adm-combo-group[hidden],
.ccvesd-adm .ccvesd-adm-combo-option[hidden] { display: none; }

.ccvesd-adm .ccvesd-adm-combo-group-label {
  position: sticky;
  top: -4px;
  padding: 7px 10px 5px;
  background: var(--adm-white);
  font-family: var(--adm-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--adm-muted);
  border-bottom: 1px solid var(--adm-border);
}

.ccvesd-adm .ccvesd-adm-combo-option {
  padding: 9px 10px;
  border-radius: 6px;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--adm-text);
  cursor: pointer;
}

.ccvesd-adm .ccvesd-adm-combo-option.is-active {
  background: var(--adm-light);
  color: var(--adm-dark);
}

.ccvesd-adm .ccvesd-adm-combo-option.is-selected {
  font-weight: 600;
  color: var(--adm-blue);
}

.ccvesd-adm .ccvesd-adm-combo-option.is-selected::after {
  content: " \2713";
}

.ccvesd-adm .ccvesd-adm-combo-empty {
  margin: 0;
  padding: 14px 10px;
  font-size: .86rem;
  color: var(--adm-muted);
}

.ccvesd-adm .ccvesd-adm-combo-empty[hidden] { display: none; }

.ccvesd-adm .ccvesd-adm-combo-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.ccvesd-adm .ccvesd-adm-has-error .ccvesd-adm-combo-input {
  border-color: var(--adm-error);
}

/* ---------- Conditional fields ---------- */

.ccvesd-adm .ccvesd-adm-conditional[hidden] { display: none; }

/* ---------- Rules and declaration ---------- */

.ccvesd-adm .ccvesd-adm-legal {
  background: var(--adm-bg);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 22px 24px;
  margin-top: 16px;
  max-height: 320px;
  overflow-y: auto;
}

.ccvesd-adm .ccvesd-adm-legal h4 {
  font-family: var(--adm-head);
  font-size: .92rem;
  font-weight: 700;
  color: var(--adm-dark);
  margin: 20px 0 8px;
}

.ccvesd-adm .ccvesd-adm-legal h4:first-child { margin-top: 0; }

.ccvesd-adm .ccvesd-adm-legal ul {
  margin: 0 0 8px;
  padding-left: 20px;
  list-style: disc;
}

.ccvesd-adm .ccvesd-adm-legal li,
.ccvesd-adm .ccvesd-adm-legal p {
  font-size: .84rem;
  line-height: 1.65;
  color: var(--adm-muted);
  margin: 0 0 6px;
}

.ccvesd-adm .ccvesd-adm-legal-note {
  border-top: 1px solid var(--adm-border);
  padding-top: 12px;
  margin-top: 14px;
}

.ccvesd-adm .ccvesd-adm-legal-note strong { color: var(--adm-dark); }

/* ---------- Captcha ---------- */

.ccvesd-adm .ccvesd-adm-captcha-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ccvesd-adm .ccvesd-adm-captcha-image {
  display: block;
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  background: var(--adm-white);
  height: 48px;
  width: auto;
}

.ccvesd-adm .ccvesd-adm-captcha-question {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  background: var(--adm-bg);
  font-family: var(--adm-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--adm-dark);
}

.ccvesd-adm .ccvesd-adm-captcha-refresh {
  width: 40px;
  height: 40px;
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  background: var(--adm-white);
  color: var(--adm-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}

.ccvesd-adm .ccvesd-adm-captcha-refresh:hover:not(:disabled) {
  color: var(--adm-blue);
  border-color: var(--adm-blue);
}

.ccvesd-adm .ccvesd-adm-captcha-refresh:disabled { opacity: .5; cursor: default; }

.ccvesd-adm .ccvesd-adm-captcha-input {
  flex: 1 1 180px;
  min-width: 150px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Actions ---------- */

.ccvesd-adm .ccvesd-adm-actions {
  padding: 28px 36px 36px;
  background: var(--adm-bg);
  border-top: 1px solid var(--adm-border);
  text-align: center;
}

.ccvesd-adm .ccvesd-adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  border: 1px solid transparent;
  border-radius: var(--adm-radius);
  font-family: var(--adm-head);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ccvesd-adm .ccvesd-adm-btn-primary {
  background: var(--adm-blue);
  border-color: var(--adm-blue);
  color: var(--adm-white);
}

.ccvesd-adm .ccvesd-adm-btn-primary:hover {
  background: var(--adm-dark);
  border-color: var(--adm-dark);
  color: var(--adm-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .12);
}

.ccvesd-adm .ccvesd-adm-btn-primary[disabled] {
  opacity: .7;
  cursor: progress;
  transform: none;
}

.ccvesd-adm .ccvesd-adm-btn-ghost {
  background: transparent;
  border-color: var(--adm-border);
  color: var(--adm-dark);
}

.ccvesd-adm .ccvesd-adm-btn-ghost:hover {
  border-color: var(--adm-blue);
  color: var(--adm-blue);
}

.ccvesd-adm .ccvesd-adm-footnote {
  margin: 16px 0 0;
  font-size: .82rem;
  color: var(--adm-muted);
}

/* ---------- Notices ---------- */

.ccvesd-adm .ccvesd-adm-notice {
  border-radius: var(--adm-radius);
  padding: 16px 20px;
  margin: 0 0 24px;
  font-size: .9rem;
  border: 1px solid;
}

.ccvesd-adm .ccvesd-adm-notice-error {
  background: #fef3f2;
  border-color: #fecdca;
  color: var(--adm-error);
}

.ccvesd-adm .ccvesd-adm-notice strong { display: block; margin-bottom: 4px; }

.ccvesd-adm .ccvesd-adm-notice ul {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.ccvesd-adm .ccvesd-adm-notice li { margin: 2px 0; }
.ccvesd-adm .ccvesd-adm-notice a { color: inherit; }

.ccvesd-adm .ccvesd-adm-notice-note {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid currentColor;
  font-size: .85rem;
  opacity: .85;
}

/* ---------- Success ---------- */

.ccvesd-adm .ccvesd-adm-success {
  background: var(--adm-white);
  border: 1px solid var(--adm-border);
  border-top: 4px solid var(--adm-green);
  border-radius: var(--adm-radius-lg);
  padding: 48px 36px;
  text-align: center;
  margin: 0 0 48px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .06);
}

.ccvesd-adm .ccvesd-adm-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #ecfdf3;
  color: var(--adm-green);
  font-size: 2rem;
  line-height: 64px;
}

.ccvesd-adm .ccvesd-adm-success h2 {
  font-family: var(--adm-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--adm-dark);
  margin: 0 0 12px;
}

.ccvesd-adm .ccvesd-adm-success p {
  color: var(--adm-muted);
  margin: 0 auto 16px;
  max-width: 520px;
}

.ccvesd-adm .ccvesd-adm-appno {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 32px;
  border: 1px dashed var(--adm-blue);
  border-radius: var(--adm-radius);
  background: var(--adm-light);
}

.ccvesd-adm .ccvesd-adm-appno span {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--adm-blue);
}

.ccvesd-adm .ccvesd-adm-appno strong {
  font-family: var(--adm-head);
  font-size: 1.25rem;
  color: var(--adm-dark);
  letter-spacing: .02em;
}

.ccvesd-adm .ccvesd-adm-success-next { font-size: .88rem; }

/* ---------- Admission fee ----------
   The fee is the one action left on the confirmation screen, so it is given
   a panel of its own rather than being left to compete with the closing
   paragraphs around it. */

.ccvesd-adm .ccvesd-adm-pay {
  margin: 24px auto 8px;
  padding: 20px 24px;
  max-width: 520px;
  border: 1px solid var(--adm-blue);
  border-radius: var(--adm-radius);
  background: var(--adm-light);
}

.ccvesd-adm .ccvesd-adm-pay-note {
  margin: 0 0 14px;
  font-size: .9rem;
}

.ccvesd-adm .ccvesd-adm-pay p:last-child { margin-bottom: 0; }

.ccvesd-adm .ccvesd-adm-paid {
  margin: 24px auto 8px;
  padding: 14px 20px;
  max-width: 520px;
  border: 1px solid #1a7f47;
  border-radius: var(--adm-radius);
  background: #eaf7ef;
  color: #14532d;
}

.ccvesd-adm .ccvesd-adm-paid strong { color: #14532d; }

.ccvesd-adm .ccvesd-adm-paid-ref {
  font-size: .78rem;
  letter-spacing: .02em;
  opacity: .85;
}

/* The applicant came back without paying. Amber rather than green: their
   form is safe, but nothing has been submitted yet. */

.ccvesd-adm .ccvesd-adm-icon-wait {
  background: #fff7e6;
  color: #b45309;
}

.ccvesd-adm .ccvesd-adm-success-pending .ccvesd-adm-btn-primary {
  margin-top: 4px;
}

.ccvesd-adm .ccvesd-adm-pay-failed {
  margin: 24px auto 0;
  padding: 12px 18px;
  max-width: 520px;
  border: 1px solid #b32d2e;
  border-radius: var(--adm-radius);
  background: #fdf0f0;
  color: #8a1f20;
  font-size: .9rem;
}

/* ---------- Honeypot ---------- */

.ccvesd-adm .ccvesd-adm-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .ccvesd-adm .ccvesd-adm-w-half,
  .ccvesd-adm .ccvesd-adm-w-third { grid-column: span 6; }

  .ccvesd-adm .ccvesd-adm-header,
  .ccvesd-adm .ccvesd-adm-section { padding: 24px 20px; }

  .ccvesd-adm .ccvesd-adm-actions { padding: 24px 20px 28px; }

  .ccvesd-adm .ccvesd-adm-section-intro { margin-left: 0; }

  .ccvesd-adm .ccvesd-adm-btn { width: 100%; }
}

@media (max-width: 600px) {
  .ccvesd-adm { padding: 0 12px; }
  .ccvesd-adm .ccvesd-adm-combo-list { max-height: 55vh; }
  .ccvesd-adm .ccvesd-adm-legal { max-height: none; }
  .ccvesd-adm .ccvesd-adm-captcha-input { flex-basis: 100%; }
}

/* ---------- Print ---------- */

@media print {
  .ccvesd-adm .ccvesd-adm-actions,
  .ccvesd-adm .ccvesd-adm-captcha,
  .ccvesd-adm .ccvesd-adm-notice { display: none; }

  .ccvesd-adm .ccvesd-adm-form { box-shadow: none; border: 1px solid #000; }
  .ccvesd-adm .ccvesd-adm-header { background: none; color: #000; }
  .ccvesd-adm .ccvesd-adm-header h2 { color: #000; }
  .ccvesd-adm .ccvesd-adm-legal { max-height: none; overflow: visible; }
}
