﻿.calculator-card {
    width: 100%;
    padding: 20px;
    position: relative;
    cursor: pointer;
    background: linear-gradient(140deg, #F3F1FF 95%, transparent 0);
}

.calculator-card:hover {
    background: linear-gradient(140deg, white 95%, transparent 0);
    filter: drop-shadow(0px 4px 8px rgba(203, 194, 255, 0.26));
}

#output1 {
    color: #436AF5;
}

#output2 {
    color: #8D78FF;
}

#output3 {
    color: #33C659;
}

#output4 {
    color: #FF5733;
}

#output5 {
    color: #FFC300;
}

#output6 {
    color: #900C3F;
}

.calculator-icon {
    height: 45px;
    width: 45px;
    margin-right: 10px;
}

.calculator-card-header {
    font-weight: 600;
    font-size: 1.2rem;
    color: #2A394E;
}

.calculator-card-header img {
    align-self: start;
    visibility: hidden;
}

.calculator-card:hover div img {
    visibility: visible;
}

.calculator-card-subHeader {
    color: #747E8B;
    overflow: auto;
    height: 100px;
}

.faq-section {
    display: none;
    width: 0;
    height: 0;
}

.faq-section:first-child,
.faq-section:last-child {
    width: 100%;
    display: block;
    height: auto;
}

.panel-group {
    margin-bottom: 0;
}

.panel-group .panel {
    border-radius: 0;
    box-shadow: none;
}

.panel-group .panel .panel-heading {
    padding: 0;
}

.panel-group .panel .panel-heading h4 a {
    background: #FBFBFE;
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 29px;
    text-decoration: none;
    transition: 0.15s all ease-in-out;
    color: #2A394E;
}

.panel-body p {
    padding-left: 29px;
    padding-right: 29px;
}

.panel-group .panel .panel-heading h4 a:not(.collapsed) i:before {
    content: "\f056";
    color: #436AF5;
}

.panel-group .panel .panel-heading h4 a i {
    color: #6A7582;
    font-size: 21px;
}

.panel-group .panel .panel-body {
    padding-top: 0;
}

.panel-group .panel .panel-heading+.panel-collapse>.list-group,
.panel-group .panel .panel-heading+.panel-collapse>.panel-body {
    border-top: none;
}

.panel-group .panel+.panel {
    border-top: none;
    margin-top: 0;
}

.calculator-card-content {
    margin-left: 23px;
}

.panel-group {
    margin-bottom: 0;
}

.overflow-text-class {
    overflow-wrap: anywhere;
    text-align: left;
    line-height: 1.5rem;
}

.panel-group .panel {
    border-radius: 0;
    box-shadow: none;
}

.panel-group .panel .panel-heading {
    padding: 0;
}

.panel-group .panel .panel-heading h4 a {
    background: #FBFBFE;
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 29px;
    text-decoration: none;
    transition: 0.15s all ease-in-out;
    color: #2A394E;
}

.panel-body p {
    padding-top: 2px;
    padding-left: 29px;
    padding-right: 29px;
    text-align: left;
}

.panel-group .panel .panel-heading h4 a:not(.collapsed) i:before {
    content: "\f056";
    color: #6A7582;
}

.panel-group .panel .panel-heading h4 a i {
    color: #6A7582;
    font-size: 21px;
}

.panel-group .panel .panel-body {
    padding-top: 0;
}

.panel-group .panel .panel-heading+.panel-collapse>.list-group,
.panel-group .panel .panel-heading+.panel-collapse>.panel-body {
    border-top: none;
}

.panel-group .panel+.panel {
    border-top: none;
    margin-top: 0;
}

.page-header {
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    color: #747E8B;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.output_styling {
    font-size: 13px imo !important;
    font-family: 'Inter';
}

.description {
    text-align: center;
    display: flex;
    justify-content: center;
}

.description p {
    display: flex;
    justify-content: center;
    max-width: 650px;
    color: #747E8B;
}

.heading {
    text-align: center;
}

.page-header p {
    margin: 0;
    padding: 8px 0;
}

.share-container {
    position: relative;
    display: inline-block;
}

.share-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 10px;
}

.share-btn img {
    width: 19.2px;
    height: 19.2px;
    margin-right: 10px;
}

.social-icons {
    display: none;
    position: absolute;
    top: -12px;
    right: -120px;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    z-index: 20;
}

.social-icons a {
    margin-right: 10px;
    text-decoration: none;
}

.social-icons a img {
    width: 24px;
    height: 24px;
}

.share-container:hover .social-icons {
    display: flex;
}

.cal-input label {
    position: absolute;
    top: -10px;
    left: 10px;
    padding: 0px 10px;
    background: #fff;
    font-size: 12px;
    color: #2A394E;
    z-index: 10;
}

.cal-input {
    padding-top: 5px;
}

.cal_input_box {
    width: 150px;
    height: 42px;
}

.cal_input_box input {
    color: red !important;
}

.cal_input_box {
    position: relative;
    z-index: 2;
    background-color: transparent;
    color: transparent;
    caret-color: black;
}

.data_type_meter {
    padding-top: 35px;
    padding-bottom: 20px;
}

.data_type_meter p {
    margin-bottom: 0px;
    font-size: 16px;
    font-weight: 500;
}

.page-header-hover {
    color: #747E8B;
}

.page-header-hover:hover {
    color: #747E8B;
    font-weight: bold;
}

.popular_cal_topic {
    font-size: 24px;
    font-weight: 600;
    color: #2a394d;
}

.related-calculator{
    font-size: 14px;
    padding: 8px 0px 8px 8px;
    font-weight: 500;
}

.related-calculator:hover {
    background-color: #f5f8fe;
}

input {
    text-align: right;
}

input::placeholder {
    color: #2A394E !important;
    font-size: 16px;
}

.blur-background {
    width: auto;
    position: absolute;
    top: 150px;
    left: 300px;
    width: 500px;
    height: 800px;
    background-color: rgba(192, 181, 255, 0.3);
    border-radius: 45%;
    filter: blur(180px);
    z-index: -1;
    pointer-events: none;
}

#graph_heading {
    font-size: 15px;
}

.calculator-container {
    display: flex;
    min-height: 570px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: content-box;
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400 !important;
    justify-content: center;
}

.meter_input_data {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #2A394E;
    padding-bottom: 10px;
    align-items: center;
    position: relative;
}

.error-message {
    color: red;
    font-size: 12px;
    position: absolute;
    bottom: -9px;
    right: 0px;
}

.value_slider {
    -webkit-appearance: none;
    appearance: none;
    width: 400px;
    height: 6px;
    outline: none;
    border-radius: 5px;
}

.value_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    outline: 4px solid rgba(67, 106, 245, 0.44);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
}

.value_slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #3a86ff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
}

.position-relative {
    position: relative;
}

.amount-input {
    text-align-last: end;
    position: relative;
    background-color: transparent;
    z-index: 0;
    color: transparent !important;
    caret-color: black;
    letter-spacing: 1.2px;
}

.amount-input::selection {
    position: absolute;
    left: -8px;
    background-color: #3367D1;
    color: transparent;
}

.percentage-input {
    padding-right: 27px;
    text-align-last: end;
    position: relative;
    background-color: transparent;
    z-index: 0;
    color: transparent !important;
    caret-color: black;
}

.percentage-input::selection {
    background-color: #3367D1;
    color: #3367D1;
}

.year-input {
    padding-right: 30px;
    text-align-last: end;
    position: relative;
    background-color: transparent;
    z-index: 0;
    color: transparent !important;
    caret-color: black;
}

.year-input::selection {
    background-color: #436AF5;
    color: #436AF5;
}

.formatted-amount, .formatted-percentage, .formatted-year {
    flex-direction: row-reverse;
    position: absolute;
    top: 3px;
    z-index: 1;
    pointer-events: none;
    color: #2A394E;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.formatted-amount {
    left: -5px;
    margin-left: -10px;
    font-family: 'Inter';
}

.formatted-percentage, .formatted-year {
    left: -16px;
    margin-left: 0px;
}

.result_value {
    display: flex;
    flex-direction: column;
    padding : 10px 20px;
    font-size: 12px;
    justify-content: space-between;
}

.output_fields {
    padding-top: 10px;
    display: flex;
    width: fit-content;
    background-color: #FBFBFC;
    border-radius: 10px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.output_fields p {
    margin-bottom: 0 !important;
    width: 120px;
}

.section {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    min-height: 200px;
}

.divider {
    width: 1px;
    background-color: #ddd;
    margin: 0 20px;
}

.toggle-group {
    display: flex;
    border: 1px solid #CACACB;
    height: 38px;
    border-radius: 3px;
    overflow: hidden;
    width: fit-content;
    padding: 2px;
    margin-bottom: 20px;
}

.toggle-group input[type="radio"] {
    display: none;
    height: 32px;
    width: 100px;
}

.toggle-group label {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    color: #2A394E;
    margin: 0;
}

.toggle-group input[type="radio"] + label {
    display: flex;
    height: 32px;
    width: 100px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 3px;
}

.toggle-group input[type="radio"]:checked + label {
    background-color: #436AF5;
    color: white;
}

.toggle-group input[type="radio"] + label {
    background-color: white;
    color: black;
}

.toggle-group label:hover {
    background-color: #ddd;
}

#section1 {
    border-right: 1px solid rgb(234, 235, 237);
    max-width: 464px;
    padding-left: 40px;
    padding-right: 32px;
    margin: 0px;
}

#section2 {
    max-width: 656px;
    padding-right: 40px;
    margin: 0px;
    padding-left: 32px;
}

#chart1-container {
    width: 574px;
}

.table-section {
    width: 574px;
}

.chart-section,
.table-section {
    display: none;
}

.chart-section.active,
.table-section.active {
    display: block;
}

.popular_calculators {
    text-align: left;
}

#chart2 {
    width: 270px !important;
    height: 270px !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    table-layout: fixed;
}

table p {
    color: red;
}

.table-container {
    max-height: 400px;
}

thead {
    background-color: #DDD6FF;
    color: #3a3a3a;
    position: sticky;
    top: 0;
    z-index: 1;
    display: table;
    width: 100%;
    table-layout: fixed;
}

thead th {
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    word-wrap: break-word;
    text-align: right;
}

tbody {
    display: block;
    max-height: 295px;
    overflow-y: auto;
    width: 100%;
    table-layout: fixed;
}

tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-bottom: 1px solid #dddddd;
}

tbody tr:nth-child(even) {
    background-color: #FDFCFF;
}

tbody td {
    padding: 12px 8px 12px 2px;
    font-weight: 400;
    font-size: 12px;
    color: #2A394E;
    word-wrap: break-word;
    text-align: right;
    font-family: 'Inter';
}

thead th:first-child,
tbody td:first-child {
    width: 52px;
    padding: 12px 5px;
    text-align: right;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #eceaff;
}

.invest_now_button {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    padding-bottom: 20px;
    padding-right: 10px;
}

#calculator_cta_button {
    background-color: #436AF5;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

#calculator_cta_button:hover {
    background-color: #3555c5;
}

tbody::-webkit-scrollbar {
    width: 4px;
}

tbody::-webkit-scrollbar-track {
    background-color: #f0f0f0;
    border-radius: 10px;
}

tbody::-webkit-scrollbar-thumb {
    background-color: #436AF5;
    border-radius: 10px;
}

tbody::-webkit-scrollbar-thumb:hover {
    background-color: #3555c5;
}

.calculator_content h1 {
    font-size: 28px;
}

.calculator_content h2 {
    font-size: 24px;
}

.calculator_content h3 {
    font-size: 20px;
}

.calculator_content p {
    font-size: 16px;
}

.calculator_content {
    padding-right: 40px;
    max-width: 768px;
}

.explore_section {
    max-width: 360px;
    height: max-content;
    position: sticky;
    padding-right: 0px !important;
}

.explore_section::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.explore_section::-webkit-scrollbar-track {
    display: none;
}

.explore_section::-webkit-scrollbar-thumb {
    display: none;
}

#explore_products h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
}

.explore_image {
    position: relative;
    left: -32px;
    width: 350px;
}

.calculator-body {
    display: flex;
    justify-content: space-between;
}

.calculator-item {
    display: flex;
    border-bottom: 1px solid rgb(234, 235, 237);
    padding: 5px 0px;
    align-items: center;
}

.calculator_details:hover .arrow-left-header {
        visibility: visible;
}

.calculator_details:hover h5{
    color: #436AF5;
}

.calculator_details h5 {
    margin: 0px !important;
}

.calculator_details p {
    margin: 0px !important;
}

.calculator_details p {
    color: #2A394E;
}

.calculator_details {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.sign_up {
    padding-bottom: 50px;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.sign_up h2 {
    font-size: 32px;
    color: #2A394E;
    margin-bottom: 10px;
}

.sign_up p {
    font-size: 16px;
    color: #747E8B;
    margin-bottom: 20px;
}

.sign_up_button {
    background-color: #436AF5;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.sign_up_button:hover {
    color: white !important;
    background-color: #3555c5;
}

.calculator_name {
    font-size: 14px;
    font-weight: 500;
    color: #2A394E;
}

.calculator_description {
    color: #949CA6 !important;
    font-size: 12px;
}

.faq_styling h3 {
    font-size: 20px !important;
    font-weight: 500;
}

.faq_styling h2 {
    font-size: 24px !important;
}

@media (max-width: 1400px) {
    .social-icons {
        right: 50px;
    }
}

@media (max-width: 1199.98px) {
    .calculator-body {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding-top: 20px;
        align-items: center;
    }

    .calculator_content {
        padding-right: 0px;
        padding-left: 0px;
        max-width: fit-content;
    }

    .data_type_meter p {
        max-width: 150px;
    }

    #chart1-container {
        width: 490px;
    }

    .explore_section {
        overflow-y: unset;
        max-height: none;
        padding-top: 70px;
        padding-right:15px !important;
        margin-bottom: 60px !important;
    }

    #chart2 {
        width: 250px !important;
        height: 250px !important;
    }

    .table-section {
        width: 490px;
    }

    .result_value {
        display: flex;
        flex-direction: column;
        padding-right: 15px;
        padding-left: 15px;
        font-size: 12px;
    }

    #section1 {
        padding-left: 30px;
    }

    .value_slider {
        width: -webkit-fill-available;
    }
}

@media (max-width: 991.98px) {
    .blur-background {
        position: fixed;
    }

    .data_type_meter p {
        max-width: 300px;
    }

    .invest_now_button {
        margin-top: 10px;
    }

    .input_fields {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .data_type_meter {
        width: min-content;
    }

    .calculator-container {
        flex-direction: column;
        align-items: center;
    }

    #section2 {
        max-width: fit-content;
        padding-left: 40px !important;
        padding-right: 40px;
        margin-bottom: 40px;
        margin: auto;
    }

    .invest_now_button {
        display: flex;
        justify-content: flex-start;
    }

    .formatted-amount, .formatted-percentage,.formatted-year  {
        position: absolute;
    }

    #chart1-container {
        width: 520px;
    }

    .table-section {
        width: 520px;
        margin-right: 0px;
    }

    .result_value {
        padding-right: 10px;
        padding-left: 10px;
    }

    #section1 {
        border-right: 0px solid rgb(234, 235, 237);
        border-bottom: 1px solid rgb(234, 235, 237);
        max-width: fit-content;
        padding-left: 40px;
        padding-right: 40px;
        margin-bottom: 40px
    }

    .output_fields {
        padding-top: 10px;
        display: flex;
        width: 510px;
        background-color: #FBFBFC;
        border-radius: 10px;
    }

    .value_slider {
        width: 600px;
    }
}

@media (max-width: 767.98px) {
    #section2 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .value_slider {
        width: 400px;
    }

    #chart1-container {
        width: 390px;
    }

    .output_fields {
        width: 390px;
    }

    .table-section {
        width: 480px;
    }

    tbody td {
        padding: 12px 4px 12px 2px;
    }

    thead th {
        padding: 12px 4px 12px 2px;
    }
}

@media (max-width: 575.98px) {
    .description p {
        display: flex;
        justify-content: center;
    }

    .output_fields p {
        margin-bottom: 0 !important;
        width: 80px;
    }

    .output_fields {
        display: flex !important;
        flex-direction: row !important;
        width: 400px !important;
    }

    .graph-styling {
        flex-direction: column;
    }

    tbody td {
        padding: 12px 4px 12px 2px;
    }

    thead th {
        padding: 12px 4px 12px 2px;
    }

    .calculator-container {
        align-items: center;
    }

    .value_slider {
        width: 400px;
    }

    .table-section {
        width: 400px;
    }

    #chart1-container {
        width: 350px;
    }

    #section1 {
        max-width: fit-content;
        margin-left: 20px;
        margin-right: 20px;
        padding-left: 0px;
        padding-right: 0px;
    }

    #section2 {
        margin: 0px;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .meter_input_data p {
        max-width: 175px;
        padding-right: 10px;
        margin-bottom: 0px !important;
    }

    .chart-info {
        width: auto !important;
    }
}

@media (max-width: 479.98px) {
    .table-section {
        width: 340px;
        height: 432px;
    }

    #chart1-container {
        width: 320px;
    }

    .output_fields {
        width: 360px !important;
    }

    .heading {
        text-align: left;
    }

    .description {
        text-align: left;
    }

    #section2 {
        padding: 0px !important;
    }

    .result_value {
        padding-right: 5px;
        padding-left: 5px;
    }

    .table-container {
        height: 432px
    }

    .value_slider {
        width: 350px;
    }
}

@media (max-width: 400.98px) {

    .amount-input, .percentage-input, .year-input{
        font-size: 1.3rem;
    }

    .value_slider {
        width: 270px;
    }

    .output_fields {
        width: 316px !important;
    }

    .table-section {
        width: 316px;
    }
}