/* ES-only V2026 questionnaire parity styling.
 * Source-of-truth consolidation of production RC9 + RC10 visual pilot.
 * Loaded only for Spanish by q41_v2026_enqueue_assets().
 */

/* RC9 ES WWW PARITY - 2026-08-17 | RC9_ES_WWW_PARITY_20260817 */
/* Visual target: current https://www.41q.com/ questionnaire at 1440px. */

.q41-v2026-questionnaire {
  position: relative;
  z-index: 5;
  margin: 24px 1px 18px 0;
  border: 1px solid #0042ff;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(to bottom, #eef0f1 0, #f7f7f7 46%, #fff 100%);
  box-shadow: 5px 5px 5px 0 rgba(193,193,193,.85);
}

.q41-v2026-questionnaire::before {
  content: "41";
  position: absolute;
  z-index: 0;
  right: 2px;
  top: 16px;
  color: rgba(255,255,255,.72);
  font-family: 'dilleniaupcbold', 'dilleniaupcregular', Georgia, serif;
  font-size: 245px;
  line-height: .9;
  letter-spacing: -18px;
  pointer-events: none;
}

.q41-v2026-questionnaire::after {
  content: "100% GRATIS";
  position: absolute;
  z-index: 4;
  top: 37px;
  right: -48px;
  width: 225px;
  padding: 7px 0 8px;
  transform: rotate(19deg);
  background: #d92d1d;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.q41-v2026-questionnaire .holder {
  position: relative;
  z-index: 1;
  max-width: none;
}

.q41-v2026-form {
  max-width: none;
  margin: 0;
  padding: 18px 14px 0;
  border: 0;
  background: transparent;
}

.q41-v2026-form .subtitle {
  display: block;
  position: relative;
  z-index: 2;
  margin: 0 7px 42px;
  color: #222;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: .02em;
}

.q41-v2026-form .question-block h2 {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0 0 31px;
  padding: 0 12px;
  color: #222;
  font-size: 22px;
  line-height: 24px;
  font-weight: 400;
  text-align: center;
}

.q41-v2026-form .answer-list {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0;
  padding: 0 18px 20px;
  list-style: none;
}

.q41-v2026-form .answer-list li {
  position: relative;
  display: block;
  min-height: 66px;
  margin: 0;
  padding: 0;
  border: 1px solid #0042ff;
  border-radius: 7px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 14px rgba(0,0,0,.08);
  transition: background-color .12s ease, box-shadow .12s ease;
}

.q41-v2026-form .answer-list li + li {
  margin-top: 44px;
}

.q41-v2026-form .answer-list li + li::before {
  content: "o";
  position: absolute;
  top: -31px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  color: #333;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  line-height: 18px;
  font-style: italic;
  pointer-events: none;
}

.q41-v2026-form .answer-list li:hover,
.q41-v2026-form .answer-list li:focus-within {
  background: rgba(255,255,255,.96);
  box-shadow: 0 9px 16px rgba(0,0,0,.11);
}

.q41-v2026-form .answer-list input[type="radio"] {
  display: none;
}

.q41-v2026-form .answer-list .label {
  display: block;
  overflow: visible;
  line-height: normal;
}

.q41-v2026-form .answer-list label {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 15px 22px 15px 87px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #333;
  font-size: 20px;
  line-height: 25px;
  font-weight: 400;
  cursor: pointer;
  transition: color .12s ease;
}

.q41-v2026-form .answer-list label::after {
  content: "";
  position: absolute;
  left: 65px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #0042ff;
}

.q41-v2026-form .answer-list label::before {
  content: "✓";
  position: absolute;
  left: 24px;
  top: 50%;
  box-sizing: border-box;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  border: 2px solid #dce5e9;
  border-radius: 4px;
  color: #dce5e9;
  font: 700 14px/13px Arial, Helvetica, sans-serif;
  text-align: center;
}

.q41-v2026-form .answer-list input:checked + .label label {
  color: #111;
  font-weight: 400;
}

.q41-v2026-form .answer-list input:checked + .label label::before {
  border-color: #0042ff;
  background: #0042ff;
  color: #fff;
}

.q41-v2026-form .answer-list input:focus + .label label {
  outline: 2px solid rgba(0,66,255,.35);
  outline-offset: -3px;
}

.q41-v2026-help {
  position: relative;
  z-index: 3;
  max-width: none;
  margin: 0 18px 20px;
  padding: 12px 14px;
  border: 1px solid #c8c8c8;
  border-left: 3px solid #0042ff;
  background: rgba(255,255,255,.94);
  color: #444;
  font-size: 13px;
  line-height: 1.45;
}

.q41-v2026-form .links {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  box-sizing: content-box;
  width: auto;
  max-width: none;
  min-height: 43px;
  gap: 0;
  margin: 10px -14px 0;
  padding: 0;
  border-top: 1px solid #0042ff;
  background: rgba(255,255,255,.85);
  list-style: none;
}

.q41-v2026-form .links li {
  display: flex;
  align-items: stretch;
  margin: 0;
  border-right: 1px solid #0042ff;
}

.q41-v2026-form .links li.previous { min-width: 165px; }
.q41-v2026-form .links li.startover { min-width: 112px; }
.q41-v2026-form .links li.help {
  min-width: 84px;
  margin-left: auto;
  border-right: 0;
  border-left: 1px solid #0042ff;
  background: #0042ff;
}

.q41-v2026-form .links a,
.q41-v2026-form .links span {
  display: flex !important;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  color: #222;
  font-size: 13px;
  line-height: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.q41-v2026-form .links li.previous a::before,
.q41-v2026-form .links li.previous span::before { content: "←"; margin-right: 7px; font-weight: 700; }
.q41-v2026-form .links li.startover a::before { content: "↻"; margin-right: 7px; font-weight: 700; }
.q41-v2026-form .links li.help a::before { content: "?"; margin-right: 8px; font-weight: 700; }

.q41-v2026-form .links li.help a {
  justify-content: center;
  color: #fff;
}

.q41-v2026-form .links li:not(.help) a:hover,
.q41-v2026-form .links li:not(.help) a:focus {
  background: #fff;
  color: #0042ff;
}

.q41-v2026-form .links .previous.activelink span { display: none !important; }
.q41-v2026-form .links .previous.activelink a { display: flex !important; }
.q41-v2026-form .links .previous:not(.activelink) a { display: none !important; }
.q41-v2026-form .links .previous:not(.activelink) span { display: flex !important; color: #777; }

.q41-v2026-form .progressbar {
  display: none;
}

@media (max-width: 700px) {
  .q41-v2026-questionnaire {
    margin-top: 20px;
    border-radius: 6px;
  }
  .q41-v2026-questionnaire::before {
    right: -12px;
    top: 38px;
    font-size: 180px;
  }
  .q41-v2026-questionnaire::after {
    top: 34px;
    right: -64px;
    width: 210px;
    font-size: 18px;
  }
  .q41-v2026-form {
    margin: 0;
    padding: 16px 10px 0;
  }
  .q41-v2026-form .subtitle {
    margin: 0 4px 34px;
    font-size: 12px;
  }
  .q41-v2026-form .question-block h2 {
    margin-bottom: 24px;
    padding: 0 6px;
    font-size: 20px;
    line-height: 24px;
  }
  .q41-v2026-form .answer-list {
    padding: 0 5px 16px;
  }
  .q41-v2026-form .answer-list li + li {
    margin-top: 38px;
  }
  .q41-v2026-form .answer-list li + li::before {
    top: -28px;
  }
  .q41-v2026-form .answer-list label {
    min-height: 62px;
    padding: 13px 12px 13px 66px;
    font-size: 16px;
    line-height: 21px;
  }
  .q41-v2026-form .answer-list label::after { left: 50px; }
  .q41-v2026-form .answer-list label::before { left: 17px; }
  .q41-v2026-form .links {
    margin-left: -10px;
    margin-right: -10px;
    overflow-x: auto;
  }
  .q41-v2026-form .links li.previous { min-width: 132px; }
  .q41-v2026-form .links li.startover { min-width: 105px; }
  .q41-v2026-form .links li.help { min-width: 72px; }
  .q41-v2026-form .links a,
  .q41-v2026-form .links span {
    padding: 0 8px;
    font-size: 12px;
  }
}

/* RC10 ES WWW PARITY REFINEMENTS - 2026-08-17 | RC10_ES_WWW_PARITY_REFINED_20260817 */

.q41-v2026-form .answer-list {
  padding-right: 13px;
}

.q41-v2026-form .answer-list label {
  font-size: 21px;
  line-height: 24px;
}

.q41-v2026-questionnaire::after {
  right: -30px;
  width: 205px;
  font-size: 18px;
}

.q41-v2026-form .links li.previous {
  visibility: visible !important;
}
.q41-v2026-form .links .previous a[aria-hidden="true"] {
  display: none !important;
}
.q41-v2026-form .links .previous a[aria-hidden="true"] + span {
  display: flex !important;
  color: #777;
}
.q41-v2026-form .links .previous a:not([aria-hidden="true"]) {
  display: flex !important;
}
.q41-v2026-form .links .previous a:not([aria-hidden="true"]) + span {
  display: none !important;
}
