.comparalyzer-cr-body {
  opacity: 1;
  position: relative;
}

#comparalyzer-loading-animation {
  text-align: center;
  display: none;
}

#comparalyzer-loading-animation.activeLoading {
  display: block;
}

.comparalyzer-cr-body header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: solid 1px #d0d0d0;
  background-color: #ffffff;
  z-index: 10000;
  max-width: none !important;
}

.comparalyzer-cr-body .header-inner {
  padding: 0 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.comparalyzer-header-navigation {
  display: flex;
  align-items: center;
}

.comparalyzer-header-navigation span {
  cursor: pointer;
  font-size: 18px;
  padding: 0 16px;
  line-height: 68px;
}

.comparalyzer-header-buttons button.ast-outline-button:hover {
  background-color: #0a1682;
  opacity: 1;
  color: #ffffff;
}

.comparalyzer-header-navigation-active {
  font-weight: bold;
  border-bottom: solid 4px #2335e6;
}

.comparalyzer-cr-body .comparalyzer-cr-body-inner {
  max-width: none !important;
  position: relative;
  padding-left: 35px;
  padding-right: 35px;
}

.comparalyzer-chart-container {
  padding: 0 35px;
}

.comparalyzer-methods-buttons {
  display: flex;
}

.comparalyzer-chartOutput {
  max-width: 1080px;
  margin: 0 auto;
}

.comparalyzer-methods-buttons #comparalyzer-find-form-toggle,
.comparalyzer-methods-buttons-hide #comparalyzer-clear-all-button {
  display: none;
}

.comparalyzer-methods-buttons-hide #comparalyzer-find-form-toggle {
  display: block;
}

.comparalyzer-methods-buttons #customAllocationButtons {
  display: none;
}

.comparalyzer-methods-buttons-ca #customAllocationButtons {
  display: block;
}

.comparalyzer-methods-buttons-ca #comparalyzer-find-form-toggle {
  display: none;
}

.comparalyzer-cr-body .new-report-button {
  margin-left: 12px;
}

.cr-body-content.cr-body-content-hidden {
  display: none;
}

.comparalyzer-cr-body h1 {
  font-size: 42px;
  text-align: center;
  font-weight: bold;
  margin: 0 0 12px;
}

.cr-body-content-description {
  font-size: 14px;
  color: #555555;
}

.comparalyzer-cr-body-inner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0;
}

.time-frame p {
  margin-bottom: 0;
  font-weight: 300;
  text-align: center;
  font-size: 24px;
  color: #333333;
}

.comparalyzer-data-table-header {
  width: 100%;
  max-width: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 35px;
  margin-bottom: 16px;
}

.comparalyzer-data-table-header h3 {
  margin: 0;
}

#comparalyzer-product-details-container {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 0 35px;
  margin: 24px 0;
}

#comparalyzer-product-details-container > p {
  flex-basis: 25%;
  font-size: 18px;
  margin-bottom: 8px;
}

.product-details-ambest {
  text-transform: uppercase;
}

#index-info-container {
  max-width: 1140px !important;
}

.comparalyzer-find-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 36px;
}

.comparalyzer-find-empty-state h4 {
  margin: 20px 0 12px;
}

.comparalyzer-find-empty-state.comparalyzer-find-empty-state-hidden {
  display: none;
}

.comparalyzer-data-table .Return,
.10YearReturn {
  font-weight: bold;
}

.comparalyzer-modal,
.comparalyzer-find-form {
  background-color: #ffffff;
  box-shadow: 4px 0 8px rgba(0,0,0,0.12);
  border-radius: 8px;
  position: fixed;
  width: 100%;
  top: 100px;
  left: 10%;
  transition: 0.5s;
  z-index: 10000000;
  max-width: 80%;
}

.comparalyzer-modal-overlay,
.comparalyzer-ca-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none !important;
  height: 100vh;
  background-color: rgba(0,0,0,0.3);
  margin: 0;
  padding: 0;
  z-index: 10000000;
}

.comparalyzer-modal-overlay.comparalyzer-modal-overlay-hide {
  display: none;
}

.comparalyzer-find-form.comparalyzer-find-form-hide {
  display: none;
}

.comparalyzer-find-form .comparalyzer-find-form-toggle {
  position: absolute;
  top: 120px;
  right: -36px;
  background-color: #2335e6;
  color: #ffffff;
  box-shadow: 4px 0 8px rgba(0,0,0,0.12);
  padding: 24px 12px;
  border-radius: 0px 8px 8px 0px;
  font-size: 32px;
  cursor: pointer;
}

.comparalyzer-find-form.comparalyzer-find-form-hide .comparalyzer-find-form-toggle {
  border-radius: 4px 0px 0px 4px;
  transform: rotate(180deg);
}


.comparalyzer-find-form #retroPricingToggle,
.comparalyzer-find-form #comparalyzer-qualifiedToggle {
  display: none;
}

.comparalyzer-find-form .comparalyzer-find-form-inner {
  padding: 24px;
}

.comparalyzer-find-form h4 {
  padding: 0;
  margin: 0;
  font-weight: bold;
}

.comparalyzer-find-form .comparalyzer-find-form-description {
  margin-top: 4px;
  font-size: 14px;
  color: #777777;
  line-height: 18px;
}

.comparalyzer-find-form .comparalyzer-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comparalyzer-find-form .comparalyzer-form-combo {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.comparalyzer-find-form .comparalyzer-form-control {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  flex-grow: 1;
  flex-basis: 0;
  position: relative;
}

#custom-allocation-form .comparalyzer-form-control {
  position: relative;
}

#custom-allocation-form {
  max-height: calc(100vh - 280px);
  overflow-y: scroll;
}

#custom-allocation-form .comparalyzer-form-control {
  display: flex;
  gap: 20px;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 16px;
}

#custom-allocation-form input {
  max-width: 75px;
}

.comparalyzer-find-form .comparalyzer-form-combo .comparalyzer-form-combo {
  max-width: 50%;
}

.comparalyzer-find-form .comparalyzer-form-combo .comparalyzer-form-combo-full {
  max-width: 100%;
}

.form-group {
  gap: 0.5%;
}

.comparalyzer-form-grouping {
  background-color: #eeeeee;
  border: solid 1px #999999;
  padding: 12px 16px 0;
  border-radius: 4px;
  flex-direction: column;
}

.comparalyzer-form-grouping h4 {
  margin-bottom: 12px;
}

label[for="comparalyzer-currentPar"]:before,
label[for="comparalyzer-newPar"]:before,
label[for="comparalyzer-currentTrigger"]:before,
label[for="comparalyzer-newTrigger"]:before,
label[for="comparalyzer-currentCap"]:before,
label[for="comparalyzer-newCap"]:before,
label[for="comparalyzer-currentSpread"]:before,
label[for="comparalyzer-newSpread"]:before,
label[for="comparalyzer-currentBoost"]:before,
label[for="comparalyzer-newBoost"]:before,
label[for="comparalyzer-IULMulti"]:before,
label[for="comparalyzer-IULFloor"]:before,
label[for="comparalyzer-IULPFee"]:before,
label[for="comparalyzer-annualBonus"]:before,
label[for="custom-allocation-1"]:before,
label[for="custom-allocation-2"]:before,
label[for="custom-allocation-3"]:before,
label[for="custom-allocation-4"]:before,
label[for="custom-allocation-5"]:before,
label[for="custom-allocation-6"]:before,
label[for="custom-allocation-7"]:before,
label[for="custom-allocation-8"]:before,
label[for="custom-allocation-9"]:before,
label[for="custom-allocation-10"]:before,
label[for="comparalyzer-currentFixedRate"]:before,
label[for="comparalyzer-newFixedRate"]:before {
  content: "%";
  color: #555555;
  position: absolute;
  top: 30px;
  right: 10px;
  font-size: 14px;
}

label[for="custom-allocation-1"]:before,
label[for="custom-allocation-2"]:before,
label[for="custom-allocation-3"]:before,
label[for="custom-allocation-4"]:before,
label[for="custom-allocation-5"]:before,
label[for="custom-allocation-6"]:before,
label[for="custom-allocation-7"]:before,
label[for="custom-allocation-8"]:before,
label[for="custom-allocation-9"]:before,
label[for="custom-allocation-10"]:before {
  top: 10px;
  left: 55px;
}

label[for="comparalyzer-allocationAmount"]:before {
  content: "$";
  color: #555555;
  position: absolute;
  top: 30px;
  left: 5px;
  font-size: 14px;
}

.comparalyzer-find-data-table .CarrierID,
.comparalyzer-find-data-table .Carrier,
.comparalyzer-find-data-table .ProductID,
.comparalyzer-find-data-table .Product,
.comparalyzer-find-data-table .AMBest,
.comparalyzer-find-data-table .IndexID,
.comparalyzer-find-data-table .Reset,
.comparalyzer-find-data-table .Unknown,
.comparalyzer-find-data-table .CreditingMethod,
.comparalyzer-find-data-table .Boost,
.comparalyzer-find-data-table .MaxAge,
.comparalyzer-find-data-table .NQMaxAgeRange,
.comparalyzer-find-data-table .NQMinPrem,
.comparalyzer-find-data-table .FreeWD,
.comparalyzer-find-data-table .SurCharge,
.comparalyzer-find-data-table .MVA,
.comparalyzer-find-data-table .RMDWaive,
.comparalyzer-find-data-table .CSID,
.comparalyzer-find-data-table .PremType,
.comparalyzer-find-data-table .NQMaxPrem,
.comparalyzer-find-data-table .QMinPrem,
.comparalyzer-find-data-table .QMaxPrem,
.comparalyzer-find-data-table .Floor {
  display: none;
}

.comparalyzer-find-submit-button {
  cursor: pointer;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  margin-left: 12px;
}

.comparalyzer-find-submit-button:hover {
  opacity: 1;
}


.comparalyzer-form-required {
  color: red;
}

.comparalyzer-delete-button {
  background-color: transparent;
  border: solid 2px darkRed;
  color: darkRed;
  padding: 4px 8px;
}

.comparalyzer-delete-button:hover {
  background-color: darkRed;
  color: white;
  border: solid 2px darkRed;
}

.iul-button {
  background-color: transparent;
  border: solid 2px #2335e6;
  color: #2335e6;
  padding: 8px 18px;
}

.comparalyzer-form-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.comparalyzer-cancel-button {
  background-color: #eeeeee;
  color: #1a1a1a;
}

.clear-all-button {
  background-color: transparent;
  color: darkRed;
  border: none;
  box-shadow: none;
}

.clear-all-button:hover,
.clear-all-button:focus {
  background-color: transparent;
  color: darkRed;
  border: none;
  box-shadow: none;
  opacity: 0.7;
}

.comparalyzer-form-combo-title-wrapper {
  display: flex;
  gap: 20px;
}

.fixed-option-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
}

.fixed-option-wrapper input {
  cursor: pointer;
  -webkit-appearance: checkbox;
  transform: scale(150%);
}

/* Style for table with reduced opacity */
#comparalyzer-results-table.loading {
    opacity: 0.5;
    position: relative;
}

/* Style for the spinner */
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px; /* Center the spinner */
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top: 5px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000; /* Make sure it's above other content */
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#comparalyzer-results-table th {
  font-size: 13px;
}

.comparalyzer-client-info-wrapper {
  display: flex;
  align-items: flex-start;
}

.client-info-meta {
  font-size: 16px;
  font-weight: 400;
  display: block;
  font-family: 'Inter', sans-serif;
}

.comparalyzer-cr-body .new-report-button.client-info-button {
  background-color: transparent;
  color: #2335e6;
  border: none;
  box-shadow: none;
  padding: 8px 0 0;
}

.comparalyzer-cr-body .new-report-button.client-info-button:hover,
.comparalyzer-cr-body .new-report-button.client-info-button:focus {
  background-color: transparent;
  color: #2335e6;
  border: none;
  box-shadow: none;
  opacity: 0.7;
}

/* comparalyzer-tooltip container */
.comparalyzer-tooltip {
  position: relative;
  display: inline-block;
  color: #2335e6;
  font-size: 18px;
}

/* comparalyzer-tooltip text */
.comparalyzer-tooltip .comparalyzer-tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #555;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  text-align: center;
  padding: 5px 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* comparalyzer-tooltip arrow */
.comparalyzer-tooltip .comparalyzer-tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the comparalyzer-tooltip text when you mouse over the comparalyzer-tooltip container */
.comparalyzer-tooltip:hover .comparalyzer-tooltiptext {
  visibility: visible;
  opacity: 1;
}


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch input:hover {
  appearance: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}


.index-name-wrapper h3 {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: bold;
}

.index-name-description {
  font-size: 14px;
  color: #333333;
}

.comparalyzer-results-table-wrapper {
  overflow-x: auto; 
  display: block;
}

.comparalyzer-results-table-wrapper table {
  width: 100%;
}

.comparalyzer-results-hide {
  display: none;
}

#comparalyzerOutputReturn {
  font-weight: bold;
}

/* Overall table layout and borders */
table {
  width: 100%; /* Make the table fill its container */
  border-collapse: collapse; /* Collapse borders for a cleaner look */
  font-family: Arial, sans-serif; /* Set a basic font */
}

/* Table header */
th {
  background-color: #f0f0f0; /* Light gray background */
  text-align: left; /* Align text to the left */
  padding: 10px;        /* Cell padding */
  border: 1px solid #ddd; /* Subtle border */
  white-space: nowrap;
}

/* Table rows and data cells */
td {
  padding: 10px;  /* Cell padding */
  border: 1px solid #ddd; /* Subtle border */
  white-space: nowrap;
}

/* Zebra-striping rows */
tbody tr:nth-child(odd) { 
  background-color: #fafafa; /* Very light gray */
}

.affidavit-container {
  margin: 0 auto 60px;
  max-width: 1140px !important;
}

.affidavit-signature {
  display: flex;
  gap: 36px;
  width: 100%;
  margin-top: 60px;
}

.affadavit-signature-box {
  border-top: solid 2px #000000;
}

.affidavit-content h4 {
  margin-bottom: 8px;
}

.affidavit-content p {
  font-size: 13px;
}

hr {
  margin: 60px 0;
}

.comparalyzerTotalReturnRawTh,
#comparalyzerOutputReturnRaw,
.comparalyzerCurrentRateTh,
#comparalyzerOutputCurrentRate,
.comparalyzerIndexIdTh,
#comparalyzerOutputIndexId {
  display: none;
}

#custom-allocation-modal {
  max-width: 850px;
  left: calc(50% - 425px);
}

.comparalyzer-custom-allocation-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comparalyzer-ca-modal-content {
  padding: 24px;
}

#custom-allocation-close-button {
  margin-right: 12px;
}

#comparalyzer-find-table-container {
  padding: 0 35px;
  width: 100%;
  overflow-x: scroll;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.comparalyzer-find-data-table,
.comparalyzer-find-table-title {
  max-width: none !important;
}

.comparalyzer-find-data-table td.Index {
  white-space: normal;
}

.comparalyzer-new-annuity {
  display: none;
}

.comparalyzer-new-annuity.comparalyzer-new-annuity-show {
  display: block;
}

.comparalyzer-new-product-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none !important;
  margin-bottom: 24px;
}

h2.comparalyzer-find-table-title {
  margin-bottom: 0;
}

.comparalyzer-allocation-input {
  width: 80px !important;
}

#comparalyzer-product-details-container.comparalyzer-product-details-container-hide,
#comparalyzer-find-table-container.comparalyzer-find-table-container-hide {
  display: none;
}

.comparalyzer-hide {
  display: none !important;
}

.comparalyzer-CurrentReturnTitleWrapper,
.comparalyzer-OptimalReturnTitleWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.comparalyzer-CurrentReturnTitleWrapper h2,
.comparalyzer-OptimalReturnTitleWrapper h2 {
  margin-bottom: 0;
}

#comparalyzerCurrentReturnTotal,
#comparalyzerCombinedReturn,
#comparalyzerOptimalReturnTotal {
  display: flex;
  align-items: center;
  gap: 12px;
}

#comparalyzerCurrentReturnTotal strong,
#comparalyzer-combinedReturn,
#comparalyzerOptimalReturnTotal strong,
#comparalyzer-mygaRateOutput,
#comparalyzer-bondYieldOutput,
#comparalyzer-cdRateOutput,
#comparalyzer-taxRateOutput {
  font-size: 36px;
}

.comparalyzer-methods-buttons-hide.comparalyzer-methods-buttons-exp #comparalyzer-find-form-toggle,
.comparalyzer-methods-buttons-hide.comparalyzer-methods-buttons-comp #comparalyzer-find-form-toggle {
  display: none;
}

.comparalyzer-print-button-ca {
  margin-right: 16px;
  background-color: transparent;
  border: solid 1px #2335e6;
  color: #2335e6;
}

.comparalyzer-print-button.comparalyzer-print-button-active {
  pointer-events: auto;
  opacity: 1;
}

.comparalyzer-print-button-exp,
.comparalyzer-print-button-comp {
  display: none;
}

.comparalyzer-methods-buttons-exp .comparalyzer-print-button-exp,
.comparalyzer-methods-buttons-comp .comparalyzer-print-button-comp {
  display: inline-block;
}

#comparalyzer-optionReturn {
  font-weight: bold;
}

#comparalyzer-optionIndexOption {
  font-size: 15px;
}

label[for="comparalyzer-find-myga-rate"]:before,
label[for="comparalyzer-find-bond-yield"]:before,
label[for="comparalyzer-find-CD-rate"]:before,
label[for="comparalyzer-find-tax-rate"]:before {
  content: "%";
  color: #555555;
  position: absolute;
  top: 30px;
  right: 10px;
  font-size: 14px;
}

.comparalyzer-disclaimer {
  display: none;
}

.comparalyzer-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.comparalyzer-review-disclaimer {
    display: none;
  }

@page {
  margin-bottom: 72px;
}


@media print {
  .comparalyzer-cr-body .header-inner {
    height: 52px;
  }
  .ast-primary-header-bar,
  .site-footer {
    display: none !important;
  }
  .comparalyzer-disclaimer {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    page-break-before: always;
  }
  .comparalyzer-cr-body * {
    zoom: 95%;
  }
  .comparalyzer-header-buttons {
    display: none;
  }
  hr {
    display: none;
  }
  .table-title {
    padding-top: 24px;
  }
  .client-info-button,
  .comparalyzer-methods-buttons {
    display: none !important;
  }
  .comparalyzer-cr-body-inner {
    padding-left: 0;
    padding-right: 0;
  }
  .comparalyzer-find-data-table tbody tr {
    display: none;
  }
  .comparalyzer-find-data-table tbody tr.comparalyzer-printable {
    display: table-row;
  }
  .comparalyzer-review-disclaimer {
    margin-top: 20px;
    display: block;
    font-size: 10px;
    font-style: italic;
    text-align: center;
  }
  .comparalyzer-chartOutput canvas {
    max-width: 100% !important;
  }
  #comparalyzer-find-table-container,
  .comparalyzer-chart-container,
  #comparalyzer-product-details-container {
    padding: 0;
  }
  #comparalyzer-product-details-container {
    margin: 4px 0;
  }
  #comparalyzerCurrentReturnTotal strong,
  #comparalyzer-combinedReturn,
  #comparalyzerOptimalReturnTotal strong,
  #comparalyzer-mygaRateOutput,
  #comparalyzer-bondYieldOutput,
  #comparalyzer-cdRateOutput,
  #comparalyzer-taxRateOutput {
    font-size: 22px;
  }
  #comparalyzer-product-details-container > p {
    font-size: 12px;
  }
  .comparalyzer-cr-body h2 {
    font-size: 18px !important;
    margin-bottom: 0;
  }
  .comparalyzer-find-data-table td.Index {
    font-size: 10px;
  }
  #comparalyzer-find-table-container {
    margin-bottom: 0;
  }
  .comparalyzer-new-product-heading {
    margin-bottom: 8px;
  }
d}

@media (max-width: 1440px) {
  #comparalyzer-currentProductAllocation,
  #comparalyzer-optimalProductAllocation,
  #comparalyzer-newProductAllocation {
    font-size: 32px;
  }
}
