/* ReCaptcha */
body.page-id-9231 .grecaptcha-badge,
body.page-id-8747 .grecaptcha-badge,
body.page-id-8626 .grecaptcha-badge,
body.page-id-8443 .grecaptcha-badge,
body.page-id-8545 .grecaptcha-badge,
body.page-id-9265 .grecaptcha-badge,
body.page-id-9260 .grecaptcha-badge,
body.page-id-8610 .grecaptcha-badge {
  visibility: hidden !important;
  transition: none !important;
}

.brain-profile-report {
    max-width: 1200px;
    margin: 0 auto;
}
.brain-profile-report .maindiv {
    display: block;
    /*grid-template-columns: repeat(3, 1fr);
    gap: 24px;*/
    margin-top: 24px;
}
.brain-profile-report h1 {
    background: linear-gradient(270deg, #FF7A00 0%, #EE275C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
    display: inline-block;
    font-weight: 700;
    margin:0 !important;
}
.brain-profile-report .chartdiv {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    margin-bottom: 24px;
}
.brain-profile-report .chartcanvas-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 12px;
    break-inside: avoid;
}
.brain-profile-report .chartcanvas-wrap canvas {
    width: 220px !important;
    height: 220px !important;
    /*display: none !important;*/
}
.brain-profile-report .chart-center-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #4D4D54;
    pointer-events: none;
}

/* Keep it up column (Soft Blue) */
.brain-profile-report .chartleft .textfeedback {
    margin-top: 16px;
    padding: 14px;
    background: #E6F1FE;
    border-radius: 12px;
}

/* Room for improvement column (Soft Orange) */
.brain-profile-report .chartmiddle .textfeedback {
    margin-top: 16px;
    padding: 14px;
    background: #FDF3EC;
    border-radius: 12px;
}

/* Manage well column (Soft Green) */
.brain-profile-report .chartright .textfeedback {
    margin-top: 16px;
    padding: 14px;
    background: #EAF7ED;
    border-radius: 12px;
}

.brain-profile-report .feedbackheading h4 {
    margin: 0 0 8px;
}
.brain-profile-report .feedbacktext {
    line-height: 1.5;
}
.brain-profile-report .feedbacktext strong {
    margin-top: 12px;
    display: block;
}
.brain-profile-report #printlink {
    margin: 40px 0 0 0;
    text-align: center;
    
}
#calendar-wrapper {
    margin: 40px 0;
}
.chart-print-img {
    display: none;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.ticket-btn-wrap {
    text-align: left;
    margin: 40px 0px;
}
.ticket-btn-wrap a {
    background-color: #EE275C;
    font-family: "proxima-nova", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF !important;
    padding: 1.1em 2em 1.1em 2em;
    text-transform: uppercase;
    border-radius: 40px;
}

.textfeedback-has-image {
    display: flex;
    align-items: center; /* Vertically centers the icon relative to heading + text */
    gap: 16px;
    margin-bottom: 20px;
}

.textfeedback-has-image .feedbackicon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.textfeedback-has-image .feedbackicon img {
    width: 48px; /* Adjust size as needed */
    height: auto;
    display: block;
    object-fit: contain;
}

.textfeedback-has-image .feedbackcontent {
    flex: 1;
}

.textfeedback-has-image .feedbackheading h4 {
    margin-top: 0;
    margin-bottom: 4px; /* Adjust spacing between title and text */
}

.textfeedback-has-image .feedbacktext {
    margin: 0;
}

ol.bh-numbered-list {
  list-style-type: decimal !important;
  list-style-position: outside !important; /* Ensures numbers stay aligned inside the container */
  padding-left: 20px !important;         /* Restores left spacing for the numbers */
}

ol.bh-numbered-list li {
  list-style-type: decimal !important;   /* Overrides any theme 'disc' rule on sub-items */
  margin-bottom: 8px;
}

/* Custom Error Box */
section:has(div.gf-error) {
    min-height: 100vh;
    padding: 0px 0px;
}
div.gf-error {
    text-align: center !important;
}
.gf-error h2 {
    font-weight: 800 !important;
    margin-bottom: 10px !important;
}
.gf-error.brain-print-email-verification h2 {
    margin-bottom: 20px !important;
}
.gf-error p {
    font-weight: normal !important;
    text-align: center !important;
}
.gf-error .denied {
    margin-bottom: 50px;
    color: red;
    font-weight: 600 !important;
    text-transform: uppercase;
}
.gf-error img {
    max-width: 200px !important;
    margin: 0 auto !important;
    padding-bottom: 100px;
}
.gf-error .button {
    border-radius: 40px;
    background-color: #ee275c;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 16px;
    text-decoration: none !important;
    text-transform: uppercase;
    margin: 20px 0px;
}
.ticket-btn-wrap a:is(:hover, :active, :focus),
.ticket-btn-wrap a:is(:hover, :active, :focus) *,
.gf-error .button:is(:hover, :active, :focus),
.gf-error .button:is(:hover, :active, :focus) * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
.gf-error :is(.small-text, .small-text a) {
    color: #a7a7a7 !important;
    font-size: 15px !important;
}

label[for="brain-print-email"] {
    display: none;
}

@media (max-width: 900px) {
    .brain-profile-report .maindiv {
        /*grid-template-columns: 1fr;*/
    }
}

@media screen and (max-width: 767px) and (orientation: portrait) {
    .brain-profile-report .chartdiv {
        padding:20px 10px;
    }
    .page-id-8610 .elementor-section.elementor-section-boxed > .elementor-container {
        width: 93%!important;
    }
    .textfeedback-has-image {
        flex-direction: column;
        align-items: flex-start; /* Change to 'center' if you want the icon centered above the text */
        gap: 12px;
    }
    .textfeedback-has-image .feedbackicon {
        margin-bottom: 4px;
    }
    ol.bh-numbered-list li {
        margin-left:2rem!important;
    }
}

@media print {

    html,
    body {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    body {
        line-height: 1.5 !important;
        margin: 0px 30px 0 !important;
    }
    
    section.elementor-top-section {
        padding-top: 0px !important;
    }

    /* Hide elements that should not be printed */
    footer,
    header,
    #printlink,
    .button-container,
    .ticket-btn-wrap,
    .demo-results-cta-banner,
    .chartcanvas-wrap canvas {
        display: none !important;
    }

    /* Report layout */
    .brain-profile-report .maindiv {
        display: block !important;
    }

    .brain-profile-report .chartdiv {
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 20px 0 !important;
    }

    .brain-profile-report .textfeedback {
        padding: 0 !important;
    }

    /* Charts */
    .chart-print-img {
        display: block !important;
        break-inside: avoid !important;
    }

    /* Text */
    .finaltext,
    h1,
    h2,
    h3,
    h4,
    .brain-profile-report .textfeedback {
        break-inside: avoid !important;
        overflow: visible !important;
        float: none !important;
        margin: 12px 0 !important;
    }

    /* Remove scrollbars */
    ::-webkit-scrollbar {
        display: none !important;
    }

    * {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    body,
    .scrollable-element {
        overflow: visible !important;
    }
    
    /* Hide the JSON/Lottie logo (and any other element with no-print) */
    .no-print,
    .elementor-widget-lottie {
        display: none !important;
    }

    /* Force the static logo image to display when printing */
    .print-only-logo {
        display: block !important;
        max-width: 250px !important; /* Adjust size as needed */
        margin: 0 auto 20px auto !important;
        height: auto !important;
    }
}

/* Hide the static print logo on the live screen display */
.print-only-logo {
    display: none !important;
}

/* ==========================================================================
   RTL / Arabic Alignment Overrides for Results & Follow-up Pages
   ========================================================================== */

html[lang="ar"] .ticket-btn-wrap,
body.rtl .ticket-btn-wrap,
[dir="rtl"] .ticket-btn-wrap,
html[lang="ar"] .brain-print-container > div,
body.rtl .brain-print-container > div,
[dir="rtl"] .brain-print-container > div,
html[lang="ar"] .brain-profile-followup .no-print,
body.rtl .brain-profile-followup .no-print,
[dir="rtl"] .brain-profile-followup .no-print {
    text-align: right !important;
}

html[lang="ar"] .brain-profile-report,
body.rtl .brain-profile-report,
[dir="rtl"] .brain-profile-report {
    direction: rtl !important;
    text-align: right !important;
}

/* Reverse header gradient direction for Arabic / RTL */
html[lang="ar"] .brain-profile-report h1,
body.rtl .brain-profile-report h1,
[dir="rtl"] .brain-profile-report h1 {
    background: linear-gradient(90deg, #FF7A00 0%, #EE275C 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ==========================================================================
   Elementor Button RTL Overrides
   ========================================================================== */

html[lang="ar"] .elementor-widget-button,
body.rtl .elementor-widget-button,
[dir="rtl"] .elementor-widget-button {
    text-align: right !important;
}

html[lang="ar"] .elementor-widget-button .elementor-button-wrapper,
body.rtl .elementor-widget-button .elementor-button-wrapper,
[dir="rtl"] .elementor-widget-button .elementor-button-wrapper {
    text-align: right !important;
    display: block !important;
}

/* ==========================================================================
   DEMO RESULTS CTA BANNER
   ========================================================================== */
.demo-results-cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 38px !important;
  margin: 40px auto 30px;
  background: linear-gradient(135deg, #EE275C 0%, #FF7A00 100%) !important;
  box-shadow: 0 16px 40px -10px rgba(238, 39, 92, 0.45);
  color: #ffffff !important;
  box-sizing: border-box;
}

.demo-results-cta-banner .demo-cta-watermark {
  position: absolute;
  right: -20px;
  bottom: -28px;
  pointer-events: none;
  user-select: none;
  opacity: 0.22;
  z-index: 1;
}

.demo-results-cta-banner .demo-cta-watermark img {
  width: 280px !important;
  max-width: 42vw !important;
  height: auto !important;
  display: block !important;
}

.demo-results-cta-banner .demo-cta-logo-white {
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2)) !important;
}

.demo-results-cta-banner .demo-cta-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 24px !important;
}

.demo-results-cta-banner .demo-cta-qr-box {
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.demo-results-cta-banner .demo-cta-qr-box:hover {
  transform: scale(1.04);
}

.demo-results-cta-banner .demo-cta-qr-box img {
  width: 140px !important;
  height: 140px !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 10px;
}

.demo-results-cta-banner .demo-cta-content {
  flex: 1;
  max-width: 530px !important;
  text-align: left;
}

.demo-results-cta-banner .demo-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.demo-results-cta-banner .demo-cta-badge img {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain !important;
  display: block !important;
}

.demo-results-cta-banner h3.demo-cta-heading {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  line-height: 1.25 !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: -0.5px;
}

.demo-results-cta-banner p.demo-cta-text {
  font-size: 16px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  font-weight: 400;
}

.demo-results-cta-banner p.demo-cta-text strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 4px;
}

.demo-results-cta-banner .demo-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.demo-results-cta-banner a.demo-cta-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: #ffffff !important;
  color: #EE275C !important;
  -webkit-text-fill-color: #EE275C !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 28px !important;
  border-radius: 40px !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.demo-results-cta-banner a.demo-cta-btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22) !important;
  background-color: #fafafa !important;
}

.demo-results-cta-banner a.demo-cta-btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.demo-results-cta-banner svg.demo-cta-arrow {
  width: 16px !important;
  height: 16px !important;
  stroke: #EE275C !important;
  transition: transform 0.2s ease;
}

.demo-results-cta-banner a.demo-cta-btn-primary:hover svg.demo-cta-arrow {
  transform: translateX(3px);
}

.demo-results-cta-banner a.demo-cta-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 12px 20px !important;
  border-radius: 40px !important;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.demo-results-cta-banner a.demo-cta-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

@media (max-width: 767px) {
  .demo-results-cta-banner {
    padding: 32px 20px !important;
    border-radius: 20px !important;
    margin: 30px auto 20px !important;
  }
  .demo-results-cta-banner .demo-cta-layout {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
  }
  .demo-results-cta-banner .demo-cta-content {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .demo-results-cta-banner h3.demo-cta-heading {
    font-size: 22px !important;
  }
  .demo-results-cta-banner p.demo-cta-text {
    font-size: 15px !important;
  }
  .demo-results-cta-banner .demo-cta-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .demo-results-cta-banner a.demo-cta-btn-primary,
  .demo-results-cta-banner a.demo-cta-btn-secondary {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media print {
  .demo-results-cta-banner {
    display: none !important;
  }
}

:is(html[lang="ar"], body.rtl, [dir="rtl"]) .demo-results-cta-banner .demo-cta-content {
  text-align: right !important;
}
:is(html[lang="ar"], body.rtl, [dir="rtl"]) .demo-results-cta-banner a.demo-cta-btn-primary:hover svg.demo-cta-arrow {
  transform: translateX(-3px) scaleX(-1);
}
:is(html[lang="ar"], body.rtl, [dir="rtl"]) .demo-results-cta-banner svg.demo-cta-arrow {
  transform: scaleX(-1);
}