/* Prefixed styles for pbry-calc */
.pbry-calc .gutter {
  padding-left: 0;
  @media (min-width: 768px) {
    padding-left: 14px;
  }
}

.pbry-calc .tabs {
  /* margin-top: 1rem; */
}

.pbry-ccalc .tabs-menu {
  display: flex;
  justify-content: space-between;
}

.pbry-calc .tabs-menu div {
  padding: 10px;
  cursor: pointer;
}

.pbry-calc .tab-content {
  display: none;
}

.pbry-calc .tab-content.active {
  display: block;
}

/* Responsive layout */
@media (min-width: 768px) {
  .pbry-calc .pure-g > .pure-u {
    box-sizing: border-box;
  }

  .pbry-calc .col-1-3 {
    width: calc(33.333% - 14px);
  }

  .pbry-calc .col-2-3 {
    width: calc(66.666% - 14px);
  }
}

@media (max-width: 768px) {
  .pbry-calc .pure-g > .pure-u {
    width: 100%;
    margin-bottom: 14px;
  }

  .pbry-calc .col-1-3,
  .pbry-calc .col-2-3 {
    width: 100%;
  }
}

.pbry-calc .tabs-menu {
  display: flex;
  border-radius: 4px 4px 0 0;
  border-width: 0 0 1px 0;
  border-style: solid;
}

.pbry-calc .tabs-menu div.active {
  border-radius: 4px 4px 0 0;
  border-width: 0px 0px 4px 0px;
  border-style: solid;
  border-color: #d90105;
  font-weight: bold;
  color: #d90105;
}

.pbry-calc .largetext {
  font-size: 4.1rem;
}

.pbry-calc h2.largetext {
  margin-top: 10px;
}

.pbry-calc .mediumtext {
  font-size: 1.4rem;
  line-height: 2.2rem;
}
.summary-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: bold;

  @media (min-width: 468px) {
    font-size: 1.5rem;
  }
}

.pbry-calc .label {
  font-size: 1rem;
  font-weight: normal;
}

#toggleAdvanced, 
#arm_toggleAdvanced  {
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #d90105;
  padding: 5px 0;
}

#toggleAdvancedIcon {
  font-weight: bold;
  margin-left: 5px;
}

.p-1 {
  padding: 0.2em;
  @media (min-width: 768px) {
    padding: 0.7em;
  }
}

.l-0 {
  padding-left: 0em;
  @media (min-width: 768px) {
    padding-left: 0em;
  }
}

.p-2 {
  padding: 0.5em;
  @media (min-width: 768px) {
    padding: 1em;
  }
}
.ph-2 {
  padding: 0.5em;
  @media (min-width: 768px) {
    padding: 1em 0;
  }
}

.pt-1 {
  padding: 0.1em 0;
  /* @media (min-width: 768px) {
    padding: 1em 0;
  } */
}
.pt-2 {
  padding: 0.5em 0;
  @media (min-width: 768px) {
    padding: 1em 0;
  }
}

.p-r-2 {
  padding: 0.5em;
  @media (min-width: 768px) {
    padding: 0 1em 0 0;
  }
}

.nobg {
  background-color: transparent !important;
}

.noborder {
  border: none !important;
}
.pbry-calc > .hidden {
  display: none;
}
/* 
.currency {
  padding-left: 12px;
}

.currency-symbol {
  position: absolute;
  padding: 5px 5px;
}


.percentage {
  padding-left: 12px;
} */

.percentage-symbol {
  position: absolute;
  padding: 5px 2px;
  font-size: 0.8em;
  /* margin: 0px 0px 0px 20px; */
}

.percent-input {
  position: relative; /* Required for absolute positioning of ::after */
}

.percent-input::after {
  content: "%";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

/* .currency-symbol {
  display: inline-block;
} */
.currency-input input[type="number"] {
  padding: 0.5rem 1rem 0.5rem 1.25rem;
}

.currency-input {
  position: relative;
  /* width: 100%; */
}

.currency-input::before {
  content: "$";
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}
.filedownload {
  color: #c8102e;
  cursor: pointer;
  padding-right: 10px;
}

#apexchartsexpenseBreakdownChart text {
  font-size: 1.5rem !important;

  @media (max-width: 468px) {
    font-size: 1rem !important;
  }

  @media (min-width: 1080px) {
    font-size: 2.8rem !important;
  }
  fill: #000000 !important;

  color: #000000;
  font-size: 50px;
  text-shadow: -2px 2px 0 #fff, 2px 2px 0 #fff, 2px -2px 0 #fff,
    -2px -2px 0 #fff;
}
.inputgroup {
  margin: 0.4rem 0;
}

input.currency {
  padding: 0.5rem 0.5rem 0.5rem 1.2rem !important;
  border-radius: 4px !important;
}

.currency-split {
  padding: 0.5rem 0.5rem 0.5rem 1.2rem !important;
  border-radius: 4px 0 0 4px !important;
}

.downpaymentPercentage {
  padding: 0.5rem 0.6rem !important;
  border-radius: 0 4px 4px 0 !important;
  border-left: none !important;
}

select.term , select.adjustmentInterval{
  padding: 0.5rem 1rem 0.5rem 0.4rem !important;
}

.earlyPayOffDate {
  color: var(--e-global-color-primary);
}

.additionalPayOffDate {
  padding: 0.43rem !important;
  border-radius: 0 4px 4px 0 !important;
  border-left: none !important;
}

.inputgroup label {
  margin: 0.2rem 0 0.3rem 0;
}

button.tabulator-page {
  color: #555;
}
button.tabulator-page.active {
  color: white;
  background: #c8102e;
}

.tabulator {
  background-color: #cbcbcb;
  border-radius: 5px;
}
.tabulator-footer {
  background-color: #eee;
}
.filedownload {
  padding: 10px;
  border: solid 1px;
  border-radius: 5px;
}

.grayboxbg {
  background: #1111;
  border: 1px solid #1111;
  padding: 10px;
  border-radius: 7px;
}

/* tooltips */

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: black;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 1rem;
  font-size: 0.8rem;
  /* Position the tooltip */
  position: absolute;
  top: -25px;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

#chart,
.chart-box {
  padding: 0.8rem 0.8rem 1rem 0 !important;
  background: #fff;
  border-radius: 5px !important;
  border: 1px solid #999 !important;
  box-shadow: none !important;
  margin: 0 0 0.2rem 0 !important;
}

.apexcharts-canvas {
  margin: 0 !important;
}

.gray-bottom-border {
  border: solid;
  border-width: 0 0 2px 0;
  border-color: #d2d2d2;
  padding: 5px;
}

.loan-container {
  background: #fff;
  padding: 20px;
  border-radius: 7px 7px 0 0;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  border-color: var(--e-global-color-4589d04);
  border: solid;
  border-width: 1px 1px 0 1px;
  /* max-width: 600px; */
  width: 100%;
}

.loan-container-noaccordion{
  background: #fff;
  padding: 20px;
  border-radius: 7px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  border-color: #e6e6e6 !important;
  border: solid;
  border-width: 1px 1px 1px 1px;
  /* max-width: 600px; */
  width: 100%;
}



.loan-header {
  text-align: left;
  margin-bottom: 20px;
}
.loan-item-left {
  /* padding: 15px; */
  /* border-bottom: 1px solid #ddd; */
  text-align: left;
}

.loan-item {
  /* padding: 15px; */
  border-bottom: 1px solid #ddd;
  text-align: left;
}

/* .loan-item:last-child {
  border-bottom: none;
} */

.loan-item h3 {
  margin: 0;
  font-size: 16px;
  /* color: #555; */
}

.loan-item h2 {
  margin: 5px 0 0;
  font-size: 20px;
  /* font-weight: bold; */
}


.loan-subheader h2 {
  margin: 5px 0 20px 0; 
  font-size: 20px;
  /* font-weight: bold; */
}
/* Two-column Layout */
.pure-g {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.col-1 {
  width: 100%;
}

.col-2 {
  width: 100%;
}

@media (min-width: 600px) {
  .col-1 {
    width: 50%;
  }

  .col-2 {
    width: 50%;
  }
}
.redval {
  color: var(--e-global-color-primary);
}
#toggle-fropAmortizationAccordion,
#toggle-expenseBreakdownAccordion,
#toggle-amortizationAccordion,
#arm_toggle-amortizationAccordion,
#toggle-autoloanAmortizationAccordion,
#toggle-helocAmortizationAccordion,
#toggle-rentvsbuyAccordion,
#toggle-armvsfixedAccordion {
  cursor: pointer;
  background-color: #e6e6e645;
  padding: 5px;
  border: solid;
  border-width: 0 1px 1px 1px;
  border-radius: 0 0 7px 7px;
}

#calc-cta {
  margin-top: 1rem;
  background-color: #e6e6e645;
  padding: 5px;
  border: solid;
  border-width: 1px;
  border-radius: 7px;
}

/* add Kris styles */

.loan-item .gray-bottom-border {
  border-bottom: 1px dotted #ddd !important;
}

.loan-item h3 {
  font-weight: 600;
  border: none;
  padding: 5px 0;
}

.loan-header h2, .comparison-box h2 {
  font-size: 1.5rem !important;
  font-family: "gelica", serif !important;
}

.elementor-heading-title h3 {
  font-size: 1rem !important;
  font-weight: 500 !important;
}

#calc-cta {
  /* display: none; */
}
#toggle-amortizationAccordion,
#toggle-expenseBreakdownAccordion,
#arm_toggle-amortizationAccordion,
#toggle-autoloanAmortizationAccordion, 
#toggle-helocAmortizationAccordion,
#toggle-rentvsbuyAccordion,
#toggle-armvsfixedAccordion ,
#toggle-fropAmortizationAccordion {
  padding: 10px;
  border-width: 1px;
  border-radius: 0 0 7px 7px;
  border-color: #e6e6e6;
  font-size: 1rem;
  font-weight: 600;
  color: #c7102e;
}
#calc-cta {
  padding: 10px;
  border-width: 1px;
  border-radius: 7px;
  border-color: #e6e6e6;
  font-size: 1rem;
  font-weight: 600;
  color: #c7102e;
}

.grayboxbg {
  border: none;
}

.loan-container {
  border-color: #e6e6e6;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

#totalToShow,#arm_totalToShow, #rentvsbuy_totalToShow, #autoloan_totalToShowm, .totalToShow,  .elementor-heading-title.elementor-size-default.largetext {
  font-family: "gelica", Sans-serif;
  font-size: 3.3rem;
  font-weight: 300;
  color: var(--e-global-color-primary);
}

.e-n-accordion-item-title-text {
  font-size: 1rem;
  color: #c7102e;
  margin-bottom: 10px;
}

.summary-wrapper {
  font-size: 1.3rem;
  padding: 20px 0;
}

.tabulator-row-even {
  background-color: #efefef !important;
}

.grayboxg h3 {
  font-family: "gelica", serif;
}

#chart,
.chart-box {
  border: 1px solid #e6e6e6 !important;
}

.tabulator-row-even {
  background-color: #efefef;
}

.tabulator {
  border: none;
}

.tabulator .tabulator-header .tabulator-col {
  display: inline-flex;
  border-right: none;
  background: white;
}

.tabulator-row .tabulator-cell {
  border: none;
}

.inputgroup label {
  margin: 5px 0 0 0;
}

select.term, select.adjustmentInterval {
  padding: 0.5rem 1rem 0.5rem 0.4rem !important;
  border: 1px solid #adadad;
}

.currency-input::before {
  left: 6px;
}

.stickytabs {
  position: relative;
  top: 0;
  /* height: 100vh;  */
  /* Full height to stay sticky */
  overflow-y: auto; 
  }

@media (min-width: 1025px) {
  input[type="range"] {
    display: none;
  }
  .stickytabs {
    position: sticky;
    top: 0;
    /* height: 100vh; Full height to stay sticky */
    overflow-y: auto; /* Enable scroll inside if needed */
    align-self: flex-start;
    height: auto;
  }
}

/* end kris styles */



#advanced-options.hidden {
  display: none;
}

/* Or for smoother transitions: */
#advanced-options {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

#advanced-options:not(.hidden) {
  max-height: 1000px;
  opacity: 1;
}



/* Add to your stylesheet */
#pbry-mortgage-calc.calculating {
  position: relative;
  opacity: 0.8;
  pointer-events: none;
}

#pbry-mortgage-calc.calculating::after, #pbry-arm-calc.calculating::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.7);
  z-index: 10;
}

#pbry-mortgage-calc.calculating::before, #pbry-arm-calc.calculating::before {
  content: 'Calculating...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  font-weight: bold;
}


/* Ensure charts are visible in editor */
.elementor-edit-mode #chart,
.elementor-edit-mode #expenseBreakdownChart {
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 300px;
  background-color: #f8f9fa;
  border: 1px dashed #ddd;
}

/* Loading state */
.calculator-loading {
  position: relative;
  min-height: 200px;
}
.calculator-loading::after {
  content: "Loading calculator...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #666;
}

input::placeholder {
  color: #999;
  font-style: italic;
}



/* Tabulator Pagination Styles */
.tabulator-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tabulator-page-size {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ddd;
  margin-right: 10px;
}

.tabulator-page {
  padding: 5px 10px;
  margin: 0 2px;
  border-radius: 4px;
  border: 1px solid #ddd;
  cursor: pointer;
  background: white;
}

.tabulator-page.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.tabulator-page[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.tabulator-pagination-controller {
  display: flex;
  align-items: center;
}

.tabulator-pagination-counter {
  margin: 0 10px;
  font-size: 0.9em;
  color: #6c757d;
}

.chevron-down {
  display: inline-block;
  width: 16px; /* Adjust to match your icon size */
  height: 16px; /* Adjust to match your icon size */
  background-image: url('../images/chevron-down-solid.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
  margin-left: 4px; /* Optional spacing */
  transition: transform 0.2s ease; /* Optional animation for rotation */
}

/* Optional: Rotate when active (for accordions) */
.chevron-down.active {
  transform: rotate(180deg);
}

.debtbutton { width: 100%; min-width: 100%; margin: 5px 0;}


/* Add to your CSS file */
#avf_amortization_table {
    margin-top: 30px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

#avf_amortization_table .tabulator-header {
    background-color: #f8f9fa;
    font-weight: bold;
}

#avf_amortization_table .tabulator-row {
    transition: background-color 0.2s;
}

#avf_amortization_table .tabulator-row:hover {
    background-color: #f1f1f1 !important;
}

#avf_amortization_table .tabulator-cell {
    padding: 10px 12px;
    border-right: 1px solid #dee2e6;
}

#avf_amortization_table .tabulator-col-title {
    text-align: center;
}


/* Monthly Expense Calculator Styles */
.pbry-monthly-expense-calc {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.expense-input-group {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.expense-input-group label {
  flex: 1;
  margin-right: 10px;
  font-weight: 500;
}

.expense-input-group input {
  flex: 2;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.expense-calc-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  margin-left: 10px;
  font-size: 18px;
}

.expense-total {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 4px;
}

/* Modal Styles */
.expense-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.expense-modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  max-height: 80vh;
  overflow-y: auto;
}

.expense-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.expense-modal-close:hover {
  color: black;
}

.expense-modal-footer {
  margin-top: 20px;
  text-align: right;
}

.expense-modal-footer button {
  padding: 8px 16px;
  margin-left: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.expense-modal-footer .expense-calculate-btn {
  background-color: #4CAF50;
  color: white;
}

.expense-modal-footer .expense-cancel-btn {
  background-color: #f44336;
  color: white;
}

.expense-subcategories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 768px) {
  .expense-subcategories {
    grid-template-columns: 1fr;
  }
}

.calculatorsvg {
   display: inline-block;
  width:  20px; /* Adjust to match your icon size */
  height: 20px; /* Adjust to match your icon size */
  /* background-image: url('../images/chevron-down-solid.svg'); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
  margin-left: 4px; /* Optional spacing */
  transition: transform 0.2s ease;  
  background-image: url('../images/calculator.svg');
}
.expense-calc-btn { padding: 5px 7px 5px 5px !important; }
.flex.pure-u-1 { display: flex; }



/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.pbry-calc .modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  border-radius: 5px;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: black;
}

/* Debt table styles */
.debt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.debt-table th, .debt-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.debt-table th {
  background-color: #f2f2f2;
}

.debt-table input, .debt-table select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

/* Debt summary styles */
.debt-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.debt-summary-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.debt-summary-list li span {
  flex: 1;
}

/* Modal actions */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pbry-calc .modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .debt-table {
    display: block;
    overflow-x: auto;
  }
}

.w35p {min-width: 10rem;}
 
.dppercentage{
  border-width: 1px 1px 1px 0;
  border-radius: 0px 4px 4px 0;
 }

.loan-container .pure-u-1 , .loan-container-noaccordion  .pure-u-1{
    padding: 0 20px 0 0;
}


/* Loading spinner styles */
.pbry-loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.pbry-loading-spinner.active {
    display: block;
}

.pbry-loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #008FFB;
    animation: pbry-spin 1s ease-in-out infinite;
}

@keyframes pbry-spin {
    to { transform: rotate(360deg); }
}

/* Add this to make the calculator container relative for positioning */
#pbry-heloc_calc {
    position: relative;
    min-height: 200px;
}

/* Blur effect while loading */
.pbry-loading-blur {
    filter: blur(2px);
    opacity: 0.7;
    pointer-events: none;
 
}

.conversational-results {
    padding: 15px;
    line-height: 1.6;
}
.result-text {
    font-size: 16px;
    margin: 0;
}
.highlight-value {
    font-weight: bold;
}
/* Keep your existing opacity styles */
#pbry-debt-payoff-calc .opacity-highlight {
    opacity: 1;
    transition: opacity 0.3s ease;
}
#pbry-debt-payoff-calc .opacity-highlight.dimmed {
    opacity: 0.2;
}

#payoff-chart {
    margin-top: 20px;
}

/* Existing opacity styles */
#pbry-debt-payoff-calc .opacity-highlight {
    opacity: 1;
    transition: opacity 0.3s ease;
}
#pbry-debt-payoff-calc .opacity-highlight.dimmed {
    opacity: 0.2;
}



/* Add chart opacity styles */
#payoff-chart .apexcharts-series path {
    transition: opacity 0.3s ease;
}
#payoff-chart.dim-current .apexcharts-series-0 path {
    opacity: 1;
}
#payoff-chart.dim-current .apexcharts-series-1 path {
    opacity: 0.2;
}
#payoff-chart.dim-goal .apexcharts-series-0 path {
    opacity: 0.2;
}
#payoff-chart.dim-goal .apexcharts-series-1 path {
    opacity: 1;
}
.pbry-calc #payoff-chart .apexcharts-datalabel {
    /* mix-blend-mode: difference; */
    font-size: 11px;
    @media (min-width: 768px) {
      font-size: 15px;
    }
}

.product-switch-notification {
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 4px solid #008FFB;
    margin-bottom: 15px;
    font-size: 14px;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Chart styling */
/* #payoff-chart {
    margin-top: 20px;
}
.apexcharts-legend {
    padding-top: 15px !important;
}
.apexcharts-tooltip {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    border: 1px solid #ddd !important;
} */

/* more kris */

.input-disabled {background-color: #d0d0d0 !important;}

.pbry-calc input:not([type='button']):not([type='submit']),
.pbry-calc textarea,
.pbry-calc .elementor-field-textual {
    font-weight: 400;
}

.pbry-calc select {
    font-size: 1rem !important;
}

.pbry-calc select.basicCalcInput {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: right 6px center;
}

.pbry-calc button,
.pbry-calc input[type='button'],
.pbry-calc input[type='submit'] {
    width: 100%;
}

/* Number Inputs: Remove Spin Buttons */
.pbry-calc input[type='number']::-webkit-outer-spin-button,
.pbry-calc input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pbry-calc input[type='number'] {
    -moz-appearance: textfield;
}


/* ----------------------------------------------
   General UI Elements
---------------------------------------------- */
.pbry-calc .chevron-down {
    width: 14px !important;
    height: 14px !important;
    margin-top: -3px !important;
}

.pbry-calc .e-n-accordion-item-title-text {
    font-size: 1rem;
    color: #c7102e;
    margin-bottom: 10px;
    font-weight: 600;
}

.pbry-calc .apexcharts-datalabel {
    font-weight: 600;
    font-size: 1.3rem;
}

.pbry-calc .calc-description {
    font-size: 1rem;
    line-height: 1.3rem;
    padding-top: 1rem;
}

.pbry-calc .tabulator .tabulator-footer .tabulator-page {
    width: fit-content;
}

/* ----------------------------------------------
   Scoped Specific Calculators
---------------------------------------------- */

/* Rent vs Buy Calculator */
#pbry-rentvsbuy-calc .comparison-results {
    padding: 1rem 0 3rem 0;
}

/* Monthly Expense Calculator */
#pbry-monthly-expense-calc .expense-calc-btn {
    padding: 7px;
    width: fit-content;
}

#pbry-monthly-expense-calc .expense-export-btn,
#pbry-monthly-expense-calc .filedownload {
    width: fit-content;
    background-color: var(--e-global-color-6eb5380);
    font-family: var(--e-global-typography-df9e774-font-family), Sans-serif;
    font-size: var(--e-global-typography-df9e774-font-size);
    font-weight: var(--e-global-typography-df9e774-font-weight);
    text-transform: var(--e-global-typography-df9e774-text-transform);
    letter-spacing: var(--e-global-typography-df9e774-letter-spacing);
    fill: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    border: none !important;
    border-radius: 49px !important;
    padding: 10px 10px 8px 10px;
}

#pbry-monthly-expense-calc .expense-export-btn:hover {
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-d02e1c1);
}

#pbry-monthly-expense-calc .calculatorsvg {
    margin-left: 2px;
    margin-bottom: 1px;
}


/* ----------------------------------------------
   Modals (Expense / Debt)
---------------------------------------------- */
#debtModalTableBody .remove-debt-row {
    padding: 7px;
    border: 1px solid;
    border-color: var(--e-global-color-primary);
    background: unset;
    font-weight: 400;
    font-size: 1rem;
    color: var(--e-global-color-primary);
}

#expense_housing_modal .expense-modal-footer .expense-calculate-btn {
    background-color: var(--e-global-color-accent);
    color: black;
}

#expense_housing_modal .expense-modal-footer .expense-cancel-btn {
    background-color: unset;
    color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
}

#expense_housing_modal .expense-modal-footer button {
    padding: 8px 16px;
    margin-left: 10px;
    border: solid;
    border-radius: 4px;
    cursor: pointer;
    border-color: var(--e-global-color-accent);
}


