/* ================================
   PART 16: LIVE SITE THEME OVERRIDE FIX
   Add this code to the VERY END of style.css
   ================================ */

/* Force dark text color in the comparison grid for readability */
.antah-report-free .comparison-column.paid-column h3 {
  color: #26366B !important; /* Antah Primary */
}

.antah-report-free .comparison-column.paid-column ul li {
  color: #222329D9 !important; /* Soft Black */
}

.antah-report-free .comparison-column.paid-column ul li strong {
  color: #26366B !important; /* Antah Primary */
}

/* Fix text color for the price indicators in the paid column */
.antah-report-free .comparison-column.paid-column .paid-cta .price-indicator,
.antah-report-free .comparison-column.paid-column .paid-cta .price-indicator .old-price {
  color: #64748B !important; /* Muted Gray */
}

.antah-report-free .comparison-column.paid-column .paid-cta .price-indicator .new-price {
    color: #D9534F !important; /* Bright Red */
}

/* Fix text color for the price indicators in the free report limitation box */
.antah-report-free .free-version-limitation .upgrade-price,
.antah-report-free .free-version-limitation .upgrade-price .old-price {
    color: #64748B !important; /* Muted Gray */
}

.antah-report-free .free-version-limitation .upgrade-price .new-price {
    color: #D9534F !important; /* Bright Red */
}

/* Ensure the upgrade button text is visible */
.antah-report-free .paid-cta .cta-button-upgrade {
  color: #FFFFFF !important; /* Antah Primary */
}

/* ================================
   AECI Report Footer – Premium Styling
   ================================ */

.report-footer {
  background: #F7F7F7;
  border-radius: 16px;
  padding: 32px 40px 24px;
  margin: 40px auto 0;
  max-width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222329;
  border: 1px solid rgba(38, 54, 107, 0.08);
}

/* Layout: legal content + contact/info stacked nicely */
.report-footer .footer-legal {
  margin-bottom: 20px;
}

/* Headings – subtle emphasis with gold accent */
.report-footer .footer-legal h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #26366B;
  margin: 22px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-footer .footer-legal h3:first-of-type {
  margin-top: 0;
}

/* Gold accent bar before headings (icon-like highlight) */
.report-footer .footer-legal h3::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #FFD700;
  display: inline-block;
}

/* Paragraphs & lists – clean, readable */
.report-footer .footer-legal p,
.report-footer .footer-legal ul {
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0;
  color: #3A3B40;
}

/* Lists – custom bullets with subtle gold dots */
.report-footer .footer-legal ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.report-footer .footer-legal ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.report-footer .footer-legal ul li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #FFD700;
  position: absolute;
  left: 0;
  top: 7px;
}

/* Links */
.report-footer a {
  color: #26366B;
  text-decoration: none;
  border-bottom: 1px dotted rgba(38, 54, 107, 0.4);
}

.report-footer a:hover {
  border-bottom-style: solid;
}

/* Footer contact block */
.report-footer .footer-contact {
  border-top: 1px solid rgba(38, 54, 107, 0.12);
  padding-top: 14px;
  margin-top: 6px;
  font-size: 13px;
}

.report-footer .footer-contact p {
  margin: 2px 0;
}

/* Credentials + dates + IP line */
.report-footer .footer-credentials,
.report-footer .footer-date,
.report-footer .footer-small {
  font-size: 11px;
  color: #64748B;
  margin: 4px 0;
}

.report-footer .footer-small {
  margin-top: 6px;
}

/* Slight emphasis on dates */
.report-footer .footer-date {
  font-weight: 500;
}

/* Make strong tags slightly more prominent but not shouty */
.report-footer strong {
  font-weight: 600;
  color: #26366B;
}

/* ================================
   Mobile Optimisation
   ================================ */

@media (max-width: 768px) {
  .report-footer {
    padding: 20px 18px 18px;
    margin-top: 28px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  }

  .report-footer .footer-legal h3 {
    font-size: 13px;
  }

  .report-footer .footer-legal p,
  .report-footer .footer-legal ul {
    font-size: 12px;
    line-height: 1.55;
  }

  .report-footer .footer-contact {
    margin-top: 10px;
    padding-top: 10px;
  }

  .report-footer .footer-credentials,
  .report-footer .footer-date,
  .report-footer .footer-small {
    font-size: 10px;
    line-height: 1.4;
  }
}

/* Extra-small screens */
@media (max-width: 480px) {
  .report-footer {
    padding: 18px 14px 16px;
  }

  .report-footer .footer-legal h3::before {
    width: 14px;
  }
}

/* Optional: Tablet refinement for report footer (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .report-footer {
    padding: 28px 32px 22px;
    margin-top: 32px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  }

  .report-footer .footer-legal h3 {
    font-size: 13px;
  }

  .report-footer .footer-legal p,
  .report-footer .footer-legal ul {
    font-size: 12px;
  }

  .report-footer .footer-credentials,
  .report-footer .footer-date,
  .report-footer .footer-small {
    font-size: 11px;
    line-height: 1.5;
  }
}

/* ================================
   FINAL PROGRESS + COACHING BLOCK
   ================================ */

.final-progress-coaching {
  background: #F7F7F7;              /* Soft neutral card */
  border-radius: 16px;
  padding: 32px 40px;
  margin: 48px auto 24px;
  max-width: 100%;
  border: 1px solid rgba(38, 54, 107, 0.12);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* Main heading */
.final-progress-coaching h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800 !important;
  color: #26366B;
  margin: 0 0 16px;
}

/* Little accent bar before the main title (gives a premium feel) */
.final-progress-coaching h3::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFD700, #FFC94D);
  display: inline-block;
}

/* Subheadings */
.final-progress-coaching h4 {
  font-size: 20px;
  font-weight: 700 !important;
  color: #26366B;
  margin: 24px 0 8px;
}

/* Text + lists */
.final-progress-coaching p {
  margin: 6px 0 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #3A3B40;
}

.final-progress-coaching ul {
  margin: 4px 0 12px 0;
  padding-left: 0;
  list-style: none;
}

.final-progress-coaching ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.6;
  color: #3A3B40;
}

/* Gold bullet dots */
.final-progress-coaching ul li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #FFD700;
  position: absolute;
  left: 0;
  top: 9px;
}

/* Inline strong emphasis */
.final-progress-coaching strong {
  color: #26366B;
  font-weight: 600;
}

/* CTA wrapper */
.final-cta-button {
  text-align: center;
  margin-top: 22px;
}

/* Optional: slightly reduce button size in this context */
.final-cta-button .cta-button-secondary {
  font-size: 16px !important;
  padding: 12px 26px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .final-progress-coaching {
    padding: 20px 18px;
    margin: 32px 0 18px;
    border-radius: 12px;
  }

  .final-progress-coaching h3 {
    font-size: 20px;
  }

  .final-progress-coaching h4 {
    font-size: 15px;
  }

  .final-progress-coaching p,
  .final-progress-coaching ul li {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* Tablet refinement for Final Progress + Coaching (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .final-progress-coaching {
    padding: 26px 30px;
    margin: 40px auto 22px;
    border-radius: 14px;
  }

  .final-progress-coaching h3 {
    font-size: 22px;
  }

  .final-progress-coaching h4 {
    font-size: 18px;
  }

  .final-progress-coaching p,
  .final-progress-coaching ul li {
    font-size: 15px;
    line-height: 1.65;
  }

  .final-cta-button .cta-button-secondary {
    font-size: 15px !important;
    padding: 12px 24px !important;
  }
}

/* ================================
   LOGIN REQUIRED - BEAUTIFUL SECTION
   Professional Design v2.0
   ================================ */

.antah-login-required-wrapper {
  max-width: 600px !important;
  margin: 0px auto !important;
  padding: 20px !important;
}

.antah-login-required-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%) !important;
  border: 2px solid #E5E7EB !important;
  border-radius: 20px !important;
  padding: 50px 40px !important;
  text-align: center !important;
  box-shadow: 0 10px 40px rgba(38, 54, 107, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
}

.antah-login-required-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #26366B 0%, #4A5F9F 50%, #FFD700 100%);
}

.antah-login-icon {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 24px !important;
  background: linear-gradient(135deg, #26366B 0%, #4A5F9F 100%) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(38, 54, 107, 0.2) !important;
}

.antah-login-icon svg {
  color: #FFFFFF !important;
  width: 36px !important;
  height: 36px !important;
}

.antah-login-title {
  color: #26366B !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.2 !important;
}

.antah-login-message {
  color: #64748B !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  margin: 0 0 32px 0 !important;
}

.antah-login-benefits {
  background: #F8FAFC !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  padding: 24px 20px !important;
  margin: 0 0 32px 0 !important;
  text-align: left !important;
}

.benefit-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 0 !important;
  color: #222329 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.benefit-item:not(:last-child) {
  border-bottom: 1px solid #E5E7EB !important;
}

.benefit-icon {
  width: 24px !important;
  height: 24px !important;
  background: #D1FAE5 !important;
  color: #065F46 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
}

.antah-login-button-new {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #26366B 0%, #4A5F9F 100%) !important;
  color: #FFFFFF !important;
  padding: 16px 40px !important;
  border-radius: 12px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 16px rgba(38, 54, 107, 0.3) !important;
}

.antah-login-button-new:hover {
  background: linear-gradient(135deg, #1A2547 0%, #3A4F8F 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(38, 54, 107, 0.4) !important;
  color: #FFFFFF !important;
}

.antah-login-button-new svg {
  width: 20px !important;
  height: 20px !important;
  transition: transform 0.3s ease !important;
}

.antah-login-button-new:hover svg {
  transform: translateX(4px) !important;
}

.antah-login-footer {
  color: #64748B !important;
  font-size: 14px !important;
  margin: 24px 0 0 0 !important;
  line-height: 1.5 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .antah-login-required-wrapper {
    margin: 40px auto !important;
    padding: 15px !important;
  }
  
  .antah-login-required-card {
    padding: 40px 24px !important;
  }
  
  .antah-login-title {
    font-size: 26px !important;
  }
  
  .antah-login-message {
    font-size: 16px !important;
  }
  
  .benefit-item {
    font-size: 14px !important;
  }
  
  .antah-login-button-new {
    width: 100% !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
  }
}

/* ========================================
   ENHANCED PROFESSIONAL CONTEXT STYLING
   Makes the dropdown impossible to miss
   Overrides basic .context-selection styles
   ======================================== */

.context-selection {
  background: linear-gradient(135deg, #26366B 0%, #4F7DF3 100%) !important;
  padding: 30px !important;
  border-radius: 12px !important;
  margin-bottom: 30px !important;
  box-shadow: 0 8px 20px rgba(38, 54, 107, 0.25) !important;
  border: 3px solid #FFD700 !important;
  position: relative;
  animation: gentle-glow 3s ease-in-out infinite;
}

.context-selection::before {
  content: "⚠️ IMPORTANT STEP";
  position: absolute;
  top: -12px;
  left: 20px;
  background: #FFD700;
  color: #26366B;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.context-selection label {
  color: #FFFFFF !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: block !important;
}

.context-selection label::before {
  content: "👔 ";
  font-size: 28px;
  margin-right: 8px;
}

.context-selection .antah-select,
.context-selection select#antah-context {
  width: 100% !important;
  padding: 16px 20px !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #26366B !important;
  background-color: #FFFFFF !important;
  border: 3px solid #FFD700 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.context-selection .antah-select:hover,
.context-selection select#antah-context:hover {
  border-color: #FFC94D !important;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4) !important;
  transform: translateY(-2px) !important;
}

.context-selection .antah-select:focus,
.context-selection select#antah-context:focus {
  outline: none !important;
  border-color: #FFD700 !important;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3) !important;
}

/* Gentle pulsing glow animation */
@keyframes gentle-glow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(38, 54, 107, 0.25);
  }
  50% {
    box-shadow: 0 8px 30px rgba(79, 125, 243, 0.4);
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .context-selection {
    padding: 24px 16px !important;
  }
  
  .context-selection label {
    font-size: 20px !important;
  }
  
  .context-selection .antah-select,
  .context-selection select#antah-context {
    font-size: 18px !important;
    padding: 14px 16px !important;
  }
}

/* Enhanced dropdown options styling */
.context-selection .antah-select option,
.context-selection select#antah-context option {
  padding: 16px 20px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #26366B !important;
  background: #FFFFFF !important;
  border-bottom: 2px solid #E5E7EB !important;
  line-height: 1.6 !important;
}

.context-selection .antah-select option:last-child,
.context-selection select#antah-context option:last-child {
  border-bottom: none !important;
}

.context-selection .antah-select option:hover,
.context-selection select#antah-context option:hover {
  background: #26366B !important;
  color: #FFD700 !important;
}

/* Add stronger visual separation for dropdown */
.context-selection select#antah-context {
  background-color: #FFFFFF !important;
  border: 3px solid #FFD700 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* ================================
   GLOBAL FONT NORMALIZATION
   Force consistent, readable fonts everywhere in the assessment
   ================================ */

.antah-form,
.antah-form *,
.antah-introduction,
.antah-introduction *,
body .antah-form,
body .antah-form *,
body .antah-introduction,
body .antah-introduction * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Remove any text transforms (uppercase, etc.) */
.antah-form h2,
.antah-form h3,
.antah-form h4,
.antah-introduction h2,
.antah-introduction h3 {
  text-transform: none !important;
}

/* Ensure proper line heights for readability */
.antah-form,
.antah-introduction {
  line-height: 1.6 !important;
}

/* Fix any bold overrides from Elementor/Astra */
.antah-form strong,
.antah-introduction strong,
.antah-form b,
.antah-introduction b {
  font-weight: 600 !important; /* Semi-bold, not extra-bold */
}

/* =========================================
   Contrast fix: "How to Use This Report"
   (exec summary navigation card)
   ========================================= */

#antah-report .exec-summary-navigation {
  background: #26366B;
  color: rgba(255, 255, 255, 0.92);
}

/* Your missing piece: paragraphs inside were inheriting dark text */
#antah-report .exec-summary-navigation p {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Ensure list text stays bright even if global li rules fight back */
#antah-report .exec-summary-navigation li {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* Make the numbers (markers) readable + intentional */
#antah-report .exec-summary-navigation li::marker {
  color: #FFD700;
  font-weight: 800;
}

/* Keep the “bold labels” crisp */
#antah-report .exec-summary-navigation li strong {
  color: #FFFFFF !important;
}

/* Scope reading-time to this card (and force contrast) */
#antah-report .exec-summary-navigation .reading-time,
#antah-report .reading-time {
  color: rgba(255, 255, 255, 0.78) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
}

