#calculator-update{
    display: none;
}
.large-text {
    width: 250px;
}
.wp-list-table thead tr th, label {
    font-size: 16px; /* Adjust the font size as needed */
    font-weight: 600; /* Adjust the font weight as needed */
}

.input-container {
    margin-bottom: 10px;
    padding: 10px; /* Optional: Add padding for better spacing */
}

.input-container label {
    display: block; /* Display labels as block elements */
    margin-bottom: 5px; /* Add space between label and input field */
}

.input-container input,
.input-container select {
    width: 100%; /* Make input fields and selects fill the container */
    padding: 5px; /* Add padding inside input fields */
    box-sizing: border-box; /* Include padding and border in element's total width */
}
label.toggle_label {
    border: 1px solid #dddddd;
    padding: 15.5px;
}
/* Calculator css */
#mortgage_calculator {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    background-color: #FAFAFA; /* Background color similar to the screenshot */
    padding: 10px; /* Padding around the form */
    border-radius: 8px; /* Rounded corners */
}

.result-box-bg {
    background-color: #2E4A52;
    border-radius: 8px;
    padding: 25px;
}

#loanDetails{
    margin-top: 0;
}

.input_field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff; /* Text color */
    margin-right: 10px;
}

.input_group {
    display: block;
    align-items: center;
}

.input_group span {
    color: #182E34; /* Span text color */
    font-weight: 600;
}

.input_field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
    color: #182E34;
    font-size: 14px;
}
.sm-title {
    margin-bottom: 5px;
    font-weight: 400;
    color: #182E34;
    font-size: 15px;
}
.xl-title {
    margin-top: 5px;
    font-weight: 600;
    color: #182E34;
    font-size: 28px;
    font-family: 'Roboto';
}

.input_field input[type="number"],
.input_field input[type="text"],
.input_field select {
    background-color: #ffffff; /* Input background color */
    color: #182E34; /* Input text color */
    border: 1px solid #ccc; /* Border style */
    border-radius: 4px; /* Rounded corners */
    padding: 5px; /* Padding inside inputs */
    width: 100px; /* Fixed width for inputs */
    font-weight: 700;
}

.input_field input[type="number"]::placeholder,
.input_field input[type="text"]::placeholder {
    font-weight: 400;
    color: #A5BCC2;
}


input:disabled{
    background: #fff;
}

input#loan {
    max-width: 75%;
}
.term_input {
    max-width: 30%;
}
.interest_input {
    max-width: 45%;
}
.input_field label {margin-bottom:10px;}
/*
.loan_field .input_prefix {
    margin-right: 0.5rem;
}
*/
.flex-item {
    flex: 0 0 50%;
}
.flex-item.end .input_field{margin-right: 0;}
.flex-item.end {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.interest_field .input_suffix, .term_field .input_suffix {
    margin-left: 0.5rem;
}

span.cal-title {
    color: #182E34;
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 20px;
    font-weight: bold;
}
.flex-container {
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
}

.result-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.result-flex-container .flex-item {
    flex: 0 0 auto;
    margin: 5px;
    padding: 10px 10px 10px 0px;
}


@media (max-width: 768px) {
    #mortgage_calculator {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
        justify-content: center;
    }

    .input_field {
        flex-basis: 100%;
        margin-bottom: 10px; /* Space between rows on smaller screens */
    }
}


@media (max-width: 1420px){
    .input_field{
        flex-basis: 50%;
    }
    .input_field input[type="text"],
.input_field input[type="number"],
.input_field select {
    width: 90%;
}
.input_field select {
    width: 90%;
}
}
@media (max-width: 1025px){
    .input_field{
        flex-basis: 100%;
    }
    .input_field input[type="text"],
.input_field input[type="number"],
.input_field select {
    width: 70%;
}
.input_field select {
    width: 100%;
}
.flex-item {
    flex: 0 0 50%;    
}
}

.label {
    margin-right: 10px;
}

.toggle_switch {
    position: relative;
    display: flex;
    align-items: center;
    border: #DDDDDD;
}

.toggle_input {
    display: none;
}

.toggle_label {
    position: relative;
    width: 95px;
    height: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    margin-bottom: 0px !important;
}

.toggle_handle {
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: 25px;
    height: 25px;
    background-color: #ff991d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #182e34;
}

.toggle_input:checked + .toggle_label .toggle_handle {
    left: calc(100% - 27.5px);
}

.toggle_input:checked + .toggle_label {
    background-color: #ffffff;
    margin-bottom: 0px;
    border: 1px
    border-color: #DDDDDD;
}

.toggle_text {
    position: absolute;
    color: #182e34;
    font-size: 14px;
    font-weight: 700;
    left: 35px;
    top: 8px;
    transition: all 0.3s;
}

.toggle_input:checked + .toggle_label .toggle_text {
    left: 10px;
}

@media (max-width: 768px) {
    #mortgage_calculator {
        flex-wrap: wrap;
        justify-content: center;
    }

    .input_field {
        flex-basis: 100%;
        margin-bottom: 10px;
    }
}