 .tab-toggle {
     display: flex;
     justify-content: center;
     background: #eaeaea;
     border-radius: 25px;
     overflow: hidden;
     margin-bottom: 40px !important;
     max-width: 768px;
     margin: 0 auto;
 }

 .tab-toggle button {
     flex: 1;
     border: none;
     background: none;
     padding: 10px;
     cursor: pointer;
     font-weight: 600;
     transition: 0.3s;
     color: #000;
 }

 .tab-toggle button.active {
     background: var(--main-color);
     border-radius: 25px;
     color: var(--white-color);
 }

 .slider-label {
     font-size: 14px;
     margin-top: 10px;
 }

 .slider-input {
     display: flex;
     align-items: center;
     gap: 10px;
     position: relative;
 }

 .slider-input span {
     position: absolute;
     right: 0;
     top: 0;
     width: 15%;
     text-transform: capitalize;
     color: var(--white-color);
     display: flex;
     justify-content: center;
     align-items: center;
     height: 100%;
     background-color: var(--main-color);
 }

 .card-info {
     background: #f3f7ff;
     padding: 10px 15px;
     border-left: 5px solid #7a38cb;
     margin: 20px 0;
     border-radius: 5px;
 }

 .highlight {
     font-weight: bold;
     color: #7a38cb;
 }

 .results {
     font-size: 18px;
 }

 .results p {
     margin-bottom: 10px !important;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .chart-placeholder {
     height: 300px;
     background: #fff;
     border: 1px solid #ccc;
     border-radius: 8px;
     display: flex;
     justify-content: center;
     align-items: center;
     color: #999;
     margin-bottom: 20px ;
 }

 .chart-container {
     height: 300px;
     background: #fff;
     border: 1px solid #ccc;
     border-radius: 8px;
     padding: 15px;
 }

 .calclulator_wrapper label {
     margin-bottom: 10px ;
     font-weight: 500;
 }

 .chart-container canvas {
     width: 100% !important;
 }

 .calclutor_box {
     box-shadow: 0 0 4px rgba(0, 0, 0, .4);
     padding: 20px;
     border: 1px solid #ccc;
     border-radius: 10px;
 }







 /* related-calclutor-box */
 .related-calclutor-box {
     padding: 26px 28px 24px;
     background-color: #fff;
     border-radius: 12px;
     border: 1px solid rgba(0, 58, 93, 0.1);
 }

 .related-calclutor-box h3 {
     font-size: 24px;
     color: #003a5d;
     font-weight: 500;
 }

 .related-calclutor-box p {
     margin-top: 10px;
     font-size: 14px;
 }

 .calclutor-info ul {
     padding-left: 20px !important;
 }

 .calclutor-info ul li {
     list-style: disc !important;
 }

 .calclutor-info p,
 .calclutor-info ul li {
     margin-bottom: 14px !important;
     font-size: 16px;
 }

 .calclutor-info h6 {
     margin-bottom: 12px !important;
     font-size: 24px;
     font-weight: 600;

 }



 /* cost of investment css */
 .form-section {
     display: flex;
     flex-wrap: wrap;
     gap: 16px;
     justify-content: space-between;
     margin-bottom: 20px ;
 }

 .form-group {
     flex: 1;
     min-width: 180px;
 }

 .form-group label {
     display: block;
     margin-bottom: 6px ;
     font-weight: 600;
     font-size: 14px;
 }

 .form-group input,
 .form-group select {
     width: 100%;
     padding: 8px;
     border: 1px solid #ccc;
     border-radius: 8px;
 }

 .center {
     text-align: center;
     margin: 20px 0;
 }

 .btn {
     background-color: #00c6aa;
     border: none;
     color: #fff;
     padding: 12px 24px;
     font-weight: 600;
     border-radius: 8px;
     cursor: pointer;
 }

 .card {
     border-radius: 12px;
     padding: 16px;
     margin-bottom: 16px ;
 }

 .success {
     background: #e7f9f2;
     border-left: 6px solid #2ecc71;
 }

 .error {
     background: #fdecea;
     border-left: 6px solid #e74c3c;
 }

 .output-section {
    
    transition: .4s ease all;
    grid-template-columns: repeat(2, 1fr);
     gap: 16px;
     display: grid;
 }


 .output-half {
     flex: 1;
     min-width: 300px;
     padding: 25px;
     border-radius: 10px;
     overflow: hidden;
     margin-bottom: 12px;
 }
 .output-section-right{
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 0 1px rgba(0, 0, 0, .4);
    border-radius: 10px;
 }

 .result-box {
     background: #fff;
     padding: 16px;
     border-radius: 12px;
     text-align: center;
     margin-top: 1rem;
 }
 .result-box p{
    max-width: 600px;
    margin: 0 auto;
    margin-top: 10px;
 }

 .result-box h2 {
   margin-top: 10px;
     color: #e74c3c;
 }

 .final-buttons {
     display: flex;
     justify-content: center;
     gap: 16px;
     flex-wrap: wrap;
     margin-top: 20px;
 }
.final-buttons a:nth-child(1){
    background-color: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}
.final-buttons a:nth-child(1):hover{
    color: var(--white-color);
}
 .secondary-btn {
     background: #fff;
     color: #00c6aa;
     border: 2px solid #00c6aa;
 }
 .output-half h3,.output-half h4{
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px !important;
 }


 @media(max-width:992px) {
     .related-calclutor-box {
         margin-bottom: 12px ;
     }
 }

 @media(max-width: 768px) {
     .slider-input input {
         width: 100%;
     }
       .form-section {
         flex-direction: column;
         gap: 0;
     }
     .output-half h3, .output-half h4{
        font-size: 18px;
        margin-bottom: 6px !important;
     }
     .result-box h2,.result-box h4{
        font-size: 22px;
     }
     .result-box p{
        font-size: 15px;
     }
     .result-box{
        margin-top: 0;
        padding: 0;
     }
     .output-section-right{
        padding: 20px;
     }
     .center{
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
     }
     .final-buttons{
        margin-top: 1rem;
     }
     .output-section{
        grid-template-columns: repeat(1,1fr);
     }

     .related-calclutor-box h3 {
         font-size: 20px;
     }

     .related-calclutor-box p {
         margin-top: 6px;
     }

     .calclutor-info p,
     .calclutor-info ul li {
         font-size: 14px;
         margin-bottom: 7px !important;
     }

     .calclutor-info h6 {
         margin-bottom: 7px !important;
         font-size: 20px;
     }
 }