.elementor-1364 .elementor-element.elementor-element-ecefa8d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0120px;--padding-bottom:120px;--padding-left:40px;--padding-right:40px;}.elementor-1364 .elementor-element.elementor-element-ecefa8d:not(.elementor-motion-effects-element-type-background), .elementor-1364 .elementor-element.elementor-element-ecefa8d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, var( --e-global-color-5e2a70f ) 0%, var( --e-global-color-d88298d ) 100%);}.elementor-1364 .elementor-element.elementor-element-a15fbc1{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--gap:100px 100px;--row-gap:100px;--column-gap:100px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1364 .elementor-element.elementor-element-2c86a80{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--gap:35px 35px;--row-gap:35px;--column-gap:35px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1364 .elementor-element.elementor-element-2c86a80.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-1364 .elementor-element.elementor-element-b77f83a{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-1364 .elementor-element.elementor-element-f109141.elementor-element{--align-self:flex-start;}.elementor-1364 .elementor-element.elementor-element-f109141 .elementor-icon-wrapper{text-align:center;}.elementor-1364 .elementor-element.elementor-element-f109141.elementor-view-stacked .elementor-icon{background-color:#E5B64F;}.elementor-1364 .elementor-element.elementor-element-f109141.elementor-view-framed .elementor-icon, .elementor-1364 .elementor-element.elementor-element-f109141.elementor-view-default .elementor-icon{color:#E5B64F;border-color:#E5B64F;}.elementor-1364 .elementor-element.elementor-element-f109141.elementor-view-framed .elementor-icon, .elementor-1364 .elementor-element.elementor-element-f109141.elementor-view-default .elementor-icon svg{fill:#E5B64F;}.elementor-1364 .elementor-element.elementor-element-f109141 .elementor-icon{font-size:40px;}.elementor-1364 .elementor-element.elementor-element-f109141 .elementor-icon svg{height:40px;}.elementor-1364 .elementor-element.elementor-element-7dbe0a7{margin:2px 2px calc(var(--kit-widget-spacing, 0px) + 2px) 2px;}.elementor-1364 .elementor-element.elementor-element-7dbe0a7.elementor-element{--align-self:center;}.elementor-1364 .elementor-element.elementor-element-7400913{--display:flex;--min-height:179px;--gap:20px 20px;--row-gap:20px;--column-gap:20px;}.elementor-1364 .elementor-element.elementor-element-503470e{--display:flex;}.elementor-1364 .elementor-element.elementor-element-3ceeee4{--display:flex;--min-height:0px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:40px;--padding-bottom:40px;--padding-left:40px;--padding-right:40px;}.elementor-1364 .elementor-element.elementor-element-8421ec6{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-1364 .elementor-element.elementor-element-8421ec6 .elementor-heading-title{font-family:"Sora", Sans-serif;font-size:39px;font-weight:700;line-height:1.1em;letter-spacing:-0.04em;color:var( --e-global-color-primary );}.elementor-1364 .elementor-element.elementor-element-dc90f0c{width:100%;max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;font-family:"Inter", Sans-serif;font-size:15px;font-weight:400;line-height:1.6em;color:var( --e-global-color-secondary );}.elementor-1364 .elementor-element.elementor-element-dc90f0c.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-1364 .elementor-element.elementor-element-dc90f0c p{margin-block-end:0px;}.elementor-1364 .elementor-element.elementor-element-1f1fe28{width:100%;max-width:100%;font-size:13px;font-weight:500;letter-spacing:0px;word-spacing:0px;}.elementor-1364 .elementor-element.elementor-element-1f1fe28 p{margin-block-end:0px;}.elementor-1364 .elementor-element.elementor-element-b666b75{--display:flex;}.elementor-1364 .elementor-element.elementor-element-ae1352d.elementor-element{--align-self:center;--flex-grow:0;--flex-shrink:0;}.elementor-1364 .elementor-element.elementor-element-0ae06ff{--spacer-size:120px;}.elementor-1364 .elementor-element.elementor-element-93e2cf8{font-size:14px;}.elementor-1364 .elementor-element.elementor-element-debdeb5{--n-tabs-direction:column;--n-tabs-heading-direction:row;--n-tabs-heading-width:initial;--n-tabs-title-flex-basis:content;--n-tabs-title-flex-shrink:0;--n-tabs-heading-justify-content:initial;--n-tabs-title-width:100%;--n-tabs-title-height:initial;--n-tabs-title-align-items:center;--n-tabs-title-flex-grow:1;--n-tabs-heading-wrap:wrap;--n-tabs-heading-overflow-x:initial;--n-tabs-title-white-space:initial;--n-tabs-title-justify-content:center;--n-tabs-title-text-align:center;--n-tabs-title-padding-top:20px;--n-tabs-title-padding-right:20px;--n-tabs-title-padding-bottom:20px;--n-tabs-title-padding-left:20px;--n-tabs-title-color:#FFFFFF;}.elementor-1364 .elementor-element.elementor-element-debdeb5 > .e-n-tabs > .e-n-tabs-heading > .e-n-tab-title[aria-selected='false']:not( :hover ){background:var( --e-global-color-fb7a5bf );}.elementor-1364 .elementor-element.elementor-element-0367e27{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-1364 .elementor-element.elementor-element-4583245.elementor-element{--align-self:flex-start;}.elementor-1364 .elementor-element.elementor-element-4583245 .elementor-icon-wrapper{text-align:center;}.elementor-1364 .elementor-element.elementor-element-4583245.elementor-view-stacked .elementor-icon{background-color:#E5B64F;}.elementor-1364 .elementor-element.elementor-element-4583245.elementor-view-framed .elementor-icon, .elementor-1364 .elementor-element.elementor-element-4583245.elementor-view-default .elementor-icon{color:#E5B64F;border-color:#E5B64F;}.elementor-1364 .elementor-element.elementor-element-4583245.elementor-view-framed .elementor-icon, .elementor-1364 .elementor-element.elementor-element-4583245.elementor-view-default .elementor-icon svg{fill:#E5B64F;}.elementor-1364 .elementor-element.elementor-element-4583245 .elementor-icon{font-size:40px;}.elementor-1364 .elementor-element.elementor-element-4583245 .elementor-icon svg{height:40px;}.elementor-1364 .elementor-element.elementor-element-c84f811{margin:2px 2px calc(var(--kit-widget-spacing, 0px) + 2px) 2px;}.elementor-1364 .elementor-element.elementor-element-c84f811.elementor-element{--align-self:center;}.elementor-1364 .elementor-element.elementor-element-0a883ba{--display:flex;}@media(max-width:1024px){.elementor-1364 .elementor-element.elementor-element-ecefa8d{--padding-top:0px;--padding-bottom:80px;--padding-left:40px;--padding-right:40px;}.elementor-1364 .elementor-element.elementor-element-a15fbc1{--gap:50px 50px;--row-gap:50px;--column-gap:50px;}.elementor-1364 .elementor-element.elementor-element-8421ec6{margin:-7px 0px calc(var(--kit-widget-spacing, 0px) + -9px) 0px;}.elementor-1364 .elementor-element.elementor-element-8421ec6 .elementor-heading-title{font-size:45px;line-height:1.1em;letter-spacing:-0.04em;}.elementor-1364 .elementor-element.elementor-element-dc90f0c{width:var( --container-widget-width, 689px );max-width:689px;--container-widget-width:689px;--container-widget-flex-grow:0;}.elementor-1364 .elementor-element.elementor-element-ae1352d{width:var( --container-widget-width, 507.975px );max-width:507.975px;--container-widget-width:507.975px;--container-widget-flex-grow:0;}}@media(max-width:767px){.elementor-1364 .elementor-element.elementor-element-ecefa8d{--padding-top:59px;--padding-bottom:60px;--padding-left:20px;--padding-right:20px;}.elementor-1364 .elementor-element.elementor-element-a15fbc1{--gap:40px 40px;--row-gap:40px;--column-gap:40px;}.elementor-1364 .elementor-element.elementor-element-8421ec6{margin:-5px 0px calc(var(--kit-widget-spacing, 0px) + -7px) 0px;}.elementor-1364 .elementor-element.elementor-element-8421ec6 .elementor-heading-title{font-size:32px;line-height:1.1em;letter-spacing:-0.04em;}.elementor-1364 .elementor-element.elementor-element-1f1fe28{font-size:12px;}}@media(min-width:768px){.elementor-1364 .elementor-element.elementor-element-ecefa8d{--content-width:1290px;}.elementor-1364 .elementor-element.elementor-element-a15fbc1{--content-width:1290px;}.elementor-1364 .elementor-element.elementor-element-2c86a80{--width:100%;}}@media(max-width:1024px) and (min-width:768px){.elementor-1364 .elementor-element.elementor-element-2c86a80{--width:99.878%;}}/* Start custom CSS for icon, class: .elementor-element-f109141 */@media print {
  .elementor-1364 .elementor-element.elementor-element-f109141 {
    display: none !important;
  }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-1f1fe28 */body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: linear-gradient(to bottom, #f8f9fa 0%, #f3f4f6 100%);
  margin: 0;
  color: #232c31;
}
.container {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 32px 32px 24px 32px;
}
.subtitle {
  color: #6c757d;
  font-size: 1.2rem;
  margin-bottom: 32px;
}
.tabs {
  display: flex;
  margin-bottom: 32px;
  gap: 16px;
}
.tab {
  flex: 1;
  padding: 18px 0;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  background: #e6bb5a;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.tab.active {
  background: #232c31;
  color: #fff;
}
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #232c31;
}
input[type="number"] {
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #f8f9fa;
  color: #232c31;
  outline: none;
  transition: border 0.2s;
}
input[type="number"]:focus {
  border: 1.5px solid #e6bb5a;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.submit-btn {
  background: #232c31;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 0;
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
.submit-btn:hover {
  background: #1a2024;
}
.results {
  margin-top: 32px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  display: none;
}
.results h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #232c31;
}
.results-list {
  font-size: 1.15rem;
  color: #232c31;
  margin-bottom: 32px;
  min-height: 90px;
}
.bar-graph {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  height: 180px;
  margin-top: 64px;
}
.bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.bar-rect {
  width: 60px;
  border-radius: 4px 4px 0 0;
  margin-bottom: 8px;
  transition: height 0.7s cubic-bezier(.4,2,.6,1);
}
.bar-label {
  font-weight: 600;
  color: #232c31;
  margin-bottom: 2px;
}
.bar-value {
  color: #6c757d;
  font-size: 1rem;
}
.bar-graph-section {
  margin-bottom: 48px;
}
.bar-graph-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #232c31;
  margin-bottom: 8px;
  margin-top: 24px;
}

/* Tax Table Styles */
.tax-table-container {
  margin-bottom: 32px;
}

.tax-table {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.tax-column {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tax-header {
  padding: 20px;
  text-align: center;
  color: #fff;
  font-weight: 700;
}

.tax-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.employer-header {
  background: #232c31;
}

.employee-header {
  background: #e6bb5a;
}

.tax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  flex: 1;
}

.tax-row:last-child {
  border-bottom: none;
}

.total-row {
  background: #f8f9fa;
  font-weight: 700;
  font-size: 1.1rem;
  flex: 0 0 auto;
}

/* Ensure employee column rows have same height as employer column */
.tax-column:last-child .tax-row:not(.total-row) {
  flex: 1;
  min-height: 52px; /* Match the height of employer column rows */
}

.tax-label {
  color: #232c31;
  font-weight: 500;
}

.tax-amount {
  color: #232c31;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
}

.summary-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.summary-item {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  text-align: center;
}

.summary-label {
  display: block;
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.summary-amount {
  display: block;
  color: #232c31;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
}

@media (max-width: 600px) {
  .container { padding: 16px; }
  h1 { font-size: 2rem; }
  .results h2 { font-size: 1.3rem; }
  .bar-rect { width: 36px; }
  
  .tax-table {
    flex-direction: column;
    gap: 16px;
  }
  
  .summary-row {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .bar-graph {
    flex-direction: column !important;
    align-items: center !important;
    height: auto !important;
    gap: 12px !important;
    margin-top: 32px !important;
  }
  .bar {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: flex-end !important;
    margin-bottom: 0 !important;
    gap: 12px !important;
  }
  .bar-rect {
    width: 32px !important;
    min-width: 24px !important;
    max-width: 40px !important;
    height: 80px !important;
    margin-bottom: 0 !important;
  }
  .bar-label, .bar-value {
    font-size: 0.95em !important;
    margin-left: 10px !important;
    margin-bottom: 0 !important;
    text-align: left !important;
    word-break: break-word;
  }
  .results-list {
    font-size: 1em !important;
    padding: 10px 0 !important;
  }
}
@media (max-width: 600px) {
  .results {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-ae1352d */* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 4rem 20px;
}

h1 {
    font-size: 3.5rem;
    color: #2d3436;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    color: #636e72;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 800px;
}

.calculator {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
}

.calculator h2 {
    color: #2d3436;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.input-section {
    margin-bottom: 2.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3436;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
    color: #2d3436;
}

input:focus, select:focus {
    outline: none;
    border-color: #2d3436;
}

button {
    background-color: #2d3436;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1e2527;
}

/* Results Section Enhancements */
.results-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid #f0f0f0;
    opacity: 0;
    transform: translateY(-30px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    background: #fff;
    border-radius: 12px;
    padding-bottom: 2rem;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.results-section.show-results {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#final-balance {
    font-size: 2rem;
    font-weight: 700;
    background: #e9b949;
    color: #2d3436;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(233,185,73,0.08);
    transition: all 0.3s ease;
    transform: scale(1);
}

#final-balance:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(233,185,73,0.15);
}

#total-invested, #total-growth {
    font-size: 1.25rem;
    background: #f8f9fa;
    color: #2d3436;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(45,52,54,0.04);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-box {
    background: #f8f9fa;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(45,52,54,0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.result-box:hover {
    border-color: #2d3436;
    box-shadow: 0 8px 25px rgba(45,52,54,0.15);
    transform: translateY(-5px);
}

.result-box h4 {
    color: #636e72;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-box p {
    color: #2d3436;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Override any conflicting styles for result box numbers */
.result-box #initial-contribution,
.result-box #monthly-contributions,
.result-box #total-growth {
    color: #2d3436 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#growthChart {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(45,52,54,0.07);
    padding: 1rem;
    margin-top: 2rem;
}

.chart-container {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(45,52,54,0.07);
    height: 400px;
    position: relative;
}

#growthChart {
    width: 100% !important;
    height: 100% !important;
}

h3 {
    color: #2d3436;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 10px;
    }
    h1 {
        font-size: 2.2rem;
    }
    .calculator {
        padding: 1rem;
    }
    label {
        font-size: 1rem;
    }
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-box {
        padding: 1rem;
    }
    
    .result-box p {
        font-size: 1.25rem;
    }
    
    .label-tooltip {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Tooltip Styles */
.label-tooltip {
    display: inline-flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 4px;
    vertical-align: baseline;
}

.tooltip-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    height: 14px;
    background: #1976d2;
    border-radius: 50%;
    margin-left: 4px;
    position: relative;
    vertical-align: baseline;
    cursor: pointer;
    font-size: 12px;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.tooltip-icon::before {
    content: 'i';
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: normal;
    line-height: 14px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: block;
    text-transform: lowercase;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    min-width: 220px;
    max-width: 320px;
    background: #ffd966;
    color: #222;
    text-align: left;
    border-radius: 6px;
    padding: 12px 16px;
    position: absolute;
    z-index: 9999;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 0.95em;
    pointer-events: none;
    border: 1px solid #e0e0e0;
    transition: opacity 0.2s, visibility 0.2s;
}

/* Mobile-first responsive tooltip positioning */
@media (max-width: 768px) {
    .tooltip-text {
        min-width: 200px;
        max-width: 280px;
        font-size: 0.9em;
        padding: 10px 14px;
        /* Ensure tooltip stays within viewport */
        left: 0;
        right: 0;
        transform: none;
        margin-left: auto;
        margin-right: auto;
        /* Adjust position for mobile */
        bottom: calc(100% + 8px);
    }
    
    /* For very small screens, adjust positioning */
    @media (max-width: 480px) {
        .tooltip-text {
            min-width: 200px;
            max-width: 300px;
            font-size: 0.85em;
            padding: 8px 12px;
            /* Ensure tooltip doesn't go off-screen */
            left: 0;
            right: 0;
            width: auto;
            max-width: 300px;
        }
    }
}

/* Ensure tooltip doesn't go off-screen on larger screens */
@media (min-width: 769px) {
    .tooltip-text {
        /* Check if tooltip would go off left edge */
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Adjust if tooltip would go off left edge */
    .tooltip-container:hover .tooltip-text {
        left: 0;
        transform: none;
    }
    
    /* Adjust if tooltip would go off right edge */
    .tooltip-container:hover .tooltip-text {
        right: 0;
        left: auto;
        transform: none;
    }
}

.tooltip-container:hover .tooltip-text,
.tooltip-container:focus-within .tooltip-text,
.tooltip-container:active .tooltip-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #ffd966 transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08));
}

/* Mobile arrow positioning */
@media (max-width: 768px) {
    .tooltip-text::after {
        left: 50%;
        transform: translateX(-50%);
    }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-1f1fe28 */body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: linear-gradient(to bottom, #f8f9fa 0%, #f3f4f6 100%);
  margin: 0;
  color: #232c31;
}
.container {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 32px 32px 24px 32px;
}
.subtitle {
  color: #6c757d;
  font-size: 1.2rem;
  margin-bottom: 32px;
}
.tabs {
  display: flex;
  margin-bottom: 32px;
  gap: 16px;
}
.tab {
  flex: 1;
  padding: 18px 0;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  background: #e6bb5a;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.tab.active {
  background: #232c31;
  color: #fff;
}
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #232c31;
}
input[type="number"] {
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #f8f9fa;
  color: #232c31;
  outline: none;
  transition: border 0.2s;
}
input[type="number"]:focus {
  border: 1.5px solid #e6bb5a;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.submit-btn {
  background: #232c31;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 0;
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
.submit-btn:hover {
  background: #1a2024;
}
.results {
  margin-top: 32px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  display: none;
}
.results h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #232c31;
}
.results-list {
  font-size: 1.15rem;
  color: #232c31;
  margin-bottom: 32px;
  min-height: 90px;
}
.bar-graph {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  height: 180px;
  margin-top: 64px;
}
.bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.bar-rect {
  width: 60px;
  border-radius: 4px 4px 0 0;
  margin-bottom: 8px;
  transition: height 0.7s cubic-bezier(.4,2,.6,1);
}
.bar-label {
  font-weight: 600;
  color: #232c31;
  margin-bottom: 2px;
}
.bar-value {
  color: #6c757d;
  font-size: 1rem;
}
.bar-graph-section {
  margin-bottom: 48px;
}
.bar-graph-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #232c31;
  margin-bottom: 8px;
  margin-top: 24px;
}

/* Tax Table Styles */
.tax-table-container {
  margin-bottom: 32px;
}

.tax-table {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.tax-column {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tax-header {
  padding: 20px;
  text-align: center;
  color: #fff;
  font-weight: 700;
}

.tax-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.employer-header {
  background: #232c31;
}

.employee-header {
  background: #e6bb5a;
}

.tax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  flex: 1;
}

.tax-row:last-child {
  border-bottom: none;
}

.total-row {
  background: #f8f9fa;
  font-weight: 700;
  font-size: 1.1rem;
  flex: 0 0 auto;
}

/* Ensure employee column rows have same height as employer column */
.tax-column:last-child .tax-row:not(.total-row) {
  flex: 1;
  min-height: 52px; /* Match the height of employer column rows */
}

.tax-label {
  color: #232c31;
  font-weight: 500;
}

.tax-amount {
  color: #232c31;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
}

.summary-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.summary-item {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  text-align: center;
}

.summary-label {
  display: block;
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.summary-amount {
  display: block;
  color: #232c31;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
}

@media (max-width: 600px) {
  .container { padding: 16px; }
  h1 { font-size: 2rem; }
  .results h2 { font-size: 1.3rem; }
  .bar-rect { width: 36px; }
  
  .tax-table {
    flex-direction: column;
    gap: 16px;
  }
  
  .summary-row {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .bar-graph {
    flex-direction: column !important;
    align-items: center !important;
    height: auto !important;
    gap: 12px !important;
    margin-top: 32px !important;
  }
  .bar {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: flex-end !important;
    margin-bottom: 0 !important;
    gap: 12px !important;
  }
  .bar-rect {
    width: 32px !important;
    min-width: 24px !important;
    max-width: 40px !important;
    height: 80px !important;
    margin-bottom: 0 !important;
  }
  .bar-label, .bar-value {
    font-size: 0.95em !important;
    margin-left: 10px !important;
    margin-bottom: 0 !important;
    text-align: left !important;
    word-break: break-word;
  }
  .results-list {
    font-size: 1em !important;
    padding: 10px 0 !important;
  }
}
@media (max-width: 600px) {
  .results {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-ae1352d */* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 4rem 20px;
}

h1 {
    font-size: 3.5rem;
    color: #2d3436;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    color: #636e72;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 800px;
}

.calculator {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
}

.calculator h2 {
    color: #2d3436;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.input-section {
    margin-bottom: 2.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3436;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
    color: #2d3436;
}

input:focus, select:focus {
    outline: none;
    border-color: #2d3436;
}

button {
    background-color: #2d3436;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1e2527;
}

/* Results Section Enhancements */
.results-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid #f0f0f0;
    opacity: 0;
    transform: translateY(-30px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    background: #fff;
    border-radius: 12px;
    padding-bottom: 2rem;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.results-section.show-results {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#final-balance {
    font-size: 2rem;
    font-weight: 700;
    background: #e9b949;
    color: #2d3436;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(233,185,73,0.08);
    transition: all 0.3s ease;
    transform: scale(1);
}

#final-balance:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(233,185,73,0.15);
}

#total-invested, #total-growth {
    font-size: 1.25rem;
    background: #f8f9fa;
    color: #2d3436;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(45,52,54,0.04);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-box {
    background: #f8f9fa;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(45,52,54,0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.result-box:hover {
    border-color: #2d3436;
    box-shadow: 0 8px 25px rgba(45,52,54,0.15);
    transform: translateY(-5px);
}

.result-box h4 {
    color: #636e72;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-box p {
    color: #2d3436;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Override any conflicting styles for result box numbers */
.result-box #initial-contribution,
.result-box #monthly-contributions,
.result-box #total-growth {
    color: #2d3436 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#growthChart {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(45,52,54,0.07);
    padding: 1rem;
    margin-top: 2rem;
}

.chart-container {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(45,52,54,0.07);
    height: 400px;
    position: relative;
}

#growthChart {
    width: 100% !important;
    height: 100% !important;
}

h3 {
    color: #2d3436;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 10px;
    }
    h1 {
        font-size: 2.2rem;
    }
    .calculator {
        padding: 1rem;
    }
    label {
        font-size: 1rem;
    }
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-box {
        padding: 1rem;
    }
    
    .result-box p {
        font-size: 1.25rem;
    }
    
    .label-tooltip {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Tooltip Styles */
.label-tooltip {
    display: inline-flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 4px;
    vertical-align: baseline;
}

.tooltip-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    height: 14px;
    background: #1976d2;
    border-radius: 50%;
    margin-left: 4px;
    position: relative;
    vertical-align: baseline;
    cursor: pointer;
    font-size: 12px;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.tooltip-icon::before {
    content: 'i';
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: normal;
    line-height: 14px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: block;
    text-transform: lowercase;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    min-width: 220px;
    max-width: 320px;
    background: #ffd966;
    color: #222;
    text-align: left;
    border-radius: 6px;
    padding: 12px 16px;
    position: absolute;
    z-index: 9999;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 0.95em;
    pointer-events: none;
    border: 1px solid #e0e0e0;
    transition: opacity 0.2s, visibility 0.2s;
}

/* Mobile-first responsive tooltip positioning */
@media (max-width: 768px) {
    .tooltip-text {
        min-width: 200px;
        max-width: 280px;
        font-size: 0.9em;
        padding: 10px 14px;
        /* Ensure tooltip stays within viewport */
        left: 0;
        right: 0;
        transform: none;
        margin-left: auto;
        margin-right: auto;
        /* Adjust position for mobile */
        bottom: calc(100% + 8px);
    }
    
    /* For very small screens, adjust positioning */
    @media (max-width: 480px) {
        .tooltip-text {
            min-width: 200px;
            max-width: 300px;
            font-size: 0.85em;
            padding: 8px 12px;
            /* Ensure tooltip doesn't go off-screen */
            left: 0;
            right: 0;
            width: auto;
            max-width: 300px;
        }
    }
}

/* Ensure tooltip doesn't go off-screen on larger screens */
@media (min-width: 769px) {
    .tooltip-text {
        /* Check if tooltip would go off left edge */
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Adjust if tooltip would go off left edge */
    .tooltip-container:hover .tooltip-text {
        left: 0;
        transform: none;
    }
    
    /* Adjust if tooltip would go off right edge */
    .tooltip-container:hover .tooltip-text {
        right: 0;
        left: auto;
        transform: none;
    }
}

.tooltip-container:hover .tooltip-text,
.tooltip-container:focus-within .tooltip-text,
.tooltip-container:active .tooltip-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #ffd966 transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08));
}

/* Mobile arrow positioning */
@media (max-width: 768px) {
    .tooltip-text::after {
        left: 50%;
        transform: translateX(-50%);
    }
}/* End custom CSS */
/* Start custom CSS for icon, class: .elementor-element-4583245 */@media print {
  .elementor-1364 .elementor-element.elementor-element-4583245 {
    display: none !important;
  }
}/* End custom CSS */