:root {
  --color-purple: #952f5e;

  --color-blue: #2f5e95;
  --color-blue-light: #eef5fd;
  --color-blue-overlay: #eff5fc8a;

  --question-border-color: #335c9229;
  --question-border-size: 5px;
}

/* =========================================================
   TESTING / DEBUG CONFIRMATION
========================================================= */

.asenka-ae-debug-confirmation {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid #ccc;
  background: #f8f8f8;
}

.asenka-ae-debug-confirmation .title {
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 800;
  color: #24456e9e;
}

.asenka-ae-debug-confirmation details {
  white-space: pre-wrap;
  border: 1px solid #00000021;
  border-radius: 2px;
  overflow: hidden;
}

.asenka-ae-debug-confirmation details:not(:last-child) {
  margin-bottom: 2px;
}

.asenka-ae-debug-confirmation details[open]:not(:last-child) {
  margin-bottom: 20px;
}

.asenka-ae-debug-confirmation details summary {
  padding: 10px;
  background: #b0b0b030;
}

.asenka-ae-debug-confirmation details p {
  margin: 0;
  padding: 10px;
  border-top: 1px solid #00000014;
  background: #fff;
}

/* =========================================================
   FORM - GENERAL
========================================================= */

.gfield {
  padding: 40px 30px;
  background: var(--color-blue-overlay);
}

.q-field {
  width: 100%;
  border: var(--question-border-size) solid var(--question-border-color);
  border-top-width: 1px;
  border-right: 0;
  border-bottom-width: 0;
  border-left: 0;
}

.gform_page_fields .q-field:last-of-type {
  margin-bottom: 10px;
  border-bottom-width: 0;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.section-break {
  flex: 1 0 auto;
  width: 100%;
  height: 30px;
  padding: 0;
  background: none;
}

.form-label,
legend {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #315d94;
}

.gfield_description:not(.alert-warning) {
  display: none;
}

.gfield_description.alert-warning {
  margin: 0;
  border: none;
  border-radius: 0;
  background: linear-gradient(45deg, transparent, #fff4cf, transparent);
}

.required-message {
  width: 100%;
  padding: 25px 10px 0 !important;
  color: #00000094;
  text-align: center;
  background: transparent !important;
}

.validation_error {
  color: red;
  text-align: center;
}

.gform_button {
  border: none;
  background: var(--color-purple);
  font-size: large;
}

.gform-page-footer {
  display: flex;
  justify-content: space-between;
  text-align: right;
}

.gform-page-footer .gform_ajax_spinner {
  display: none;
}

/* =========================================================
   FORM - LANDING PAGE
========================================================= */

#gform_page_4_1 .gfield {
  background: transparent;
}

#gform_next_button_4_33 {
  visibility: hidden;
}

.intro-wrapper > div {
  margin-bottom: 30px;
}

.intro-wrapper .el-title {
  font-weight: 700;
  line-height: 1.2;
}

.intro-wrapper h3.el-title {
  color: var(--color-purple);
  font-size: 30px;
}

.intro-wrapper h4.el-title {
  font-family: "Open Sans Condensed", sans-serif;
}

.intro-wrapper .el-content em {
  font-weight: 600;
}

.intro-wrapper .asenka-ae-grid {
  display: flex;
  gap: 20px;
}

.intro-wrapper .asenka-ae-grid .el-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.intro-wrapper .asenka-ae-grid .el-image,
.intro-wrapper .asenka-ae-grid .el-video {
  width: 50%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px #0000002b;
}

.intro-wrapper .asenka-ae-grid .el-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.asenka-ae-intro-video {
  display: block;
  width: 100%;
  height: auto;
}

.intro-wrapper .asenka-ae-grid .el-meta {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  padding: 10px;
  background: #cccccc36;
}

.intro-wrapper .asenka-ae-grid .el-meta span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.intro-wrapper .asenka-ae-grid .el-meta span::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
}

.intro-wrapper .asenka-ae-grid .el-meta span:nth-of-type(1)::before {
  background: #a5004d;
}

.intro-wrapper .asenka-ae-grid .el-meta span:nth-of-type(2)::before {
  background: #6c93b4;
}

.intro-wrapper .asenka-ae-grid .el-meta span:nth-of-type(3)::before {
  background: #507190;
}

.intro-wrapper .asenka-ae-grid .el-meta span:nth-of-type(4)::before {
  background: linear-gradient(#31547a, #131232);
}

/* =========================================================
   FORM - INNER PAGES
========================================================= */

.inner-page-intro {
  margin-top: 10px;
  border-top-width: 0;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.inner-page-intro h3 {
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  color: var(--color-blue);
}

.inner-page-intro p {
  font-style: italic;
}

#gform_page_4_2 .inner-page-intro {
  padding-bottom: 1px;
}

.intro-icon-1::before,
.intro-icon-2::before,
.intro-icon-3::before,
.intro-icon-4::before {
  content: "";
  width: 100px;
  height: 100px;
  display: block;
  float: left;
  margin-right: 20px;
  background-repeat: no-repeat;
  background-size: contain;
}

.intro-icon-1::before {
  background-image: url(../images/ae-icon--adaptability.svg);
}

.intro-icon-2::before {
  background-image: url(../images/ae-icon--resilience.svg);
}

.intro-icon-3::before {
  background-image: url(../images/ae-icon--ownership.svg);
}

.intro-icon-4::before {
  background-image: url(../images/ae-icon--foresight.svg);
}

/* =========================================================
   RESULTS - GENERAL
========================================================= */

.asenka-ae-results {
  margin-bottom: 30px;
}

.asenka-ae-results-section:not(:last-child) {
  padding-bottom: 20px;
}

.asenka-ae-results .section-title {
  margin-bottom: 20px;
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-purple);
}
/* 
.asenka-ae-primary-lever {
  display: none;
} */

.asenka-ae-overall-score h2 {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.2;
}

.asenka-ae-score-large {
  font-size: 20px;
  font-weight: 600;
}

.asenka-ae-result-block:not(:last-of-type) {
  margin-bottom: 15px;
}

.asenka-ae-result-block h4,
.asenka-ae-primary-lever h4 {
  margin-bottom: 2px;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
}

.asenka-ae-result-block p {
  margin-bottom: 0;
}

.footer-cta {
  text-align: center;
}
.footer-cta .title {
  color: red;
  font-weight: 700;
  font-size: 27px;
}
.footer-cta .meta {
  font-weight: 600;
}

/* =========================================================
   RESULTS - DOMAIN MODULES
========================================================= */

.asenka-ae-domain-modules {
  padding: 30px;
  border-radius: 10px;
  background: #f7f7f7;
}

.asenka-ae-domain-modules h2.section-title {
  display: none;
}

.asenka-ae-domain-module:not(:first-of-type) {
  padding-top: 30px;
}

.asenka-ae-domain-module:not(:last-of-type) {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.asenka-ae-domain-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
}

.asenka-ae-domain-header .asenka-ae-domain-icon {
  width: 100px;
}

.asenka-ae-domain-header .section-title {
  margin-bottom: 0;
  color: var(--color-blue);
}

.asenka-ae-domain-content {
  flex: 1;
}

.asenka-ae-primary-lever-badge {
  width: fit-content;
  padding: 4px 6px;
  border-radius: 100px;
  background: #b4b4b461;
  color: #0000009e;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.asenka-ae-catalytic-shift,
.asenka-ae-shift-from,
.asenka-ae-shift-to {
  display: flex;
  flex-wrap: wrap;
  column-gap: 5px;
}

.asenka-ae-three-moves {
  margin-bottom: 0;
}

/* =========================================================
   RESULTS - SCORE BAR
========================================================= */

.asenka-ae-domain-module .asenka-ae-score-bar {
  height: 11px;
  margin: 10px 0;
  padding: 3px;
  border-radius: 10px;
  background: #00000017;
}

.asenka-ae-domain-module .asenka-ae-score-bar-fill {
  position: relative;
  width: 0;
  height: 100%;
  border-radius: 10px;
  background: #942f5e;
  transition: width 3s ease-in-out;
}

.asenka-ae-domain-module .asenka-ae-score-bar-value {
  position: absolute;
  top: auto;
  right: 0;
  left: 0;
  display: flex;
  min-width: 90px;
  margin-top: -17px;
  color: #942f5e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.asenka-ae-domain-module .asenka-ae-score-bar-value-text {
  display: none;
  width: 100%;
  text-align: left;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .asenka-ae-domain-module .asenka-ae-score-bar-fill {
    transition: none;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 940px) {
  .asenka-ae-domain-module .asenka-ae-score-bar-fill {
    position: unset;
  }

  .asenka-ae-domain-module .asenka-ae-score-bar-value {
    display: block;
  }

  .asenka-ae-domain-module .asenka-ae-score-bar-value-text {
    text-align: center;
  }
}
