/* --- Global Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700&family=Rubik:wght@400;500;600;700&display=swap');

h1 {
    text-align: center;
}

body {
    background: #F4FBFF;
}
#mega-menu-item-64427{
    display: none !important;
}
/* --- Define CSS Variables for Theming --- */
:root {
    --primary-color: #007bff;
    --accent-color: #28a745;
    --background-light: #F8F9FA;
    --card-background: #FFFFFF;
    --text-dark: #343A40;
    --text-medium: #6C757D;
    --border-color: #DEE2E6;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --border-radius-soft: 8px;
    --font-family-body: 'Rubik', 'Assistant', sans-serif;
}

select, .btnNativ, .infoRibit button {
    font-family: var(--font-family-body) !important;
}

/* --- Specific Styles from Your Original CSS (kept as is, or slightly adjusted for consistency) --- */
.buttonCal {
    display: flex;
    justify-content: center;
    gap: 27px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.headerApp {
    max-width: 1050px;
    display: flex;
    gap: 10px;
    position: absolute;
    top: 15px;
    right: 5px;
}

.iconBox img {
    width: 50px;
    height: 50px;
    margin-right: auto;
    margin-left: auto;
    display: block;
    padding-bottom: 7px;
}

.mashkanta {
    margin-top: 75px;
}

.titleSimulator {
    text-align: right;
    max-width: 600px;
    color: #000000;
    font-weight: 500;
    display: block;
    padding-top: 7px;
    margin-right: 9%;
    font-size: 20px;
}

.cardApp {
    max-width: 1140px;
    padding: 10px 48px;
    margin-bottom: 20%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    background: #FFFFFF;
    box-shadow: 0px 7px 5px rgba(202, 202, 202, 0.25);
    border-radius: 20px;

}

.btnCompare {
    position: absolute;
    left: 4px;
    top: 15px;
}

.btnCompare button {
    background: url(/wp-content/themes/wp-qs-theme-master/Mortgage_simulator/img/Compare.png) no-repeat center left 11px, #F2F2F2;
    color: black;
    font-weight: 400;
    background-size: 19px;
    padding: 7px 16px 7px 38px;
    border-radius: 30px;
}

.btnNativ {
    background-color: #F4FBFF;
    color: black;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 30px;
    outline: none;
    padding: 5px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
    min-width: 120px;
}

.btnNativ:hover {
    color: #0D89F1;
    border: 1px solid #0D89F1 !important;
    font-weight: 700;
    transition: background-color 0.3s;
    background: white;
}

.btnNativ.active {
    color: #0D89F1;
    border: 1px solid #0D89F1 !important;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btnChiose img {
    margin-top: -5px;
    width: 40px;
    display: block;
    padding-top: 5px;
}

.btnChiose {
    min-width: 200px;
}

.options {
    display: none;
}

.options + label {
    padding: 4px !important;
    justify-content: center !important;
    z-index: 10 !important;
    position: relative !important;
    color: black !important;
    text-align: center !important;
    font-weight: 600 !important;
    background-color: #fff !important;
    cursor: pointer !important;
    transition: all 200ms ease !important;
    font-size: 17px !important;
    border-radius: 0 !important;
    border: 1px solid #F0F0F0 !important;
    display: block !important;
}

.options:checked + label {
    background: #E9F8F9 !important;
}

.options + label:hover {
    background: #E9F8F9 !important;
}

.ribit {
    display: none;
}

.ribit + label {
    justify-content: center !important;
    z-index: 10 !important;
    position: relative !important;
    color: #181823 !important;
    text-align: center !important;
    font-weight: 500 !important;
    background-color: white !important;
    cursor: pointer !important;
    transition: all 200ms ease !important;
    font-size: 14px !important;
    padding: 0px 20px !important;
    border-radius: 3px !important;
    border: 1px solid #BBBBBF !important;
}

.ribit + label:hover {
    background: #E9F8F9 !important;
}

.ribit:checked + label {
    background: #E9F8F9 !important;
}

.tool {
    cursor: help;
    position: relative;
}

.tool::before, .tool::after {
    left: 50%;
    opacity: 0;
    position: absolute;
    z-index: -100;
}

.tool:hover::before, .tool:focus::before,
.tool:hover::after, .tool:focus::after {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 100;
}

/*== pointer tip ==*/
.tool::before {
    border-style: solid;
    border-width: 1em 0.75em 0 0.75em;
    border-color: #3e474f transparent transparent transparent;
    bottom: 100%;
    content: "";
    margin-left: -0.5em;
    transition: all .65s cubic-bezier(.84, -.18, .31, 1.26), opacity .65s .5s;
    transform: scale(.6) translateY(-90%);
}

.tool:hover::before, .tool:focus::before {
    transition: all .65s cubic-bezier(.84, -0.18, .31, 1.26) .2s;
}

/*== speech bubble ==*/
.tool::after {
    background: #3e474f;
    border-radius: 0.25em;
    bottom: 130%;
    color: #edeff0;
    content: attr(data-tip);
    margin-left: -8.75em;
    padding: 1em;
    transform: scale(.6) translateY(50%);
    width: 12.5em;
}

.tool:hover::after, .tool:focus::after {
    transition: all .65s cubic-bezier(.84, -0.18, .31, 1.26);
}

.info {
    color: white;
    border-radius: 30px;
    z-index: 1;
    width: 20px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-top: -4px;
}

.toolRibit {
    cursor: help;
    margin-right: 9px;
    width: 100%;
    position: relative;
    text-align: center;
}

.toolRibit::before, .toolRibit::after {
    left: 50%;
    opacity: 0;
    position: absolute;
    z-index: -100;
}

.toolRibit:hover::before, .toolRibit:focus::before,
.toolRibit:hover::after, .toolRibit:focus::after {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 100;
}

/*== pointer tip ==*/
.toolRibit::before {
    border-style: solid;
    border-width: 1em 0.75em 0 0.75em;
    border-color: #3e474f transparent transparent transparent;
    bottom: 100%;
    content: "";
    margin-right: 6.5em;
    transition: all .65s cubic-bezier(.84, -.18, .31, 1.26), opacity .65s .5s;
    transform: scale(.6) translateY(-90%);
}

.toolRibit:hover::before, .toolRibit:focus::before {
    transition: all .65s cubic-bezier(.84, -0.18, .31, 1.26) .2s;
}

.infoRibit button {
    color: white;
    border-radius: 3px;
    color: black;
    background: url(https://mashkantaguru.co.il/wp-content/uploads/2023/07/4-1.svg) #E9F8F9 no-repeat left -1% center;
    background-size: 18px;
    padding: 3px 20px;
}

/*== speech bubble ==*/
.toolRibit::after {
    background: #3e474f;
    border-radius: 0.25em;
    bottom: 130%;
    color: #edeff0;
    content: attr(data-tip);
    margin-left: -10.25em;
    padding: 1em;
    transform: scale(.6) translateY(50%);
    width: 12.5em;
}

.toolRibit:hover::after, .toolRibit:focus::after {
    transition: all .65s cubic-bezier(.84, -0.18, .31, 1.26);
}

.infoRibit {
    display: flex;
    color: white;
    background: #E9F8F9;
    border-radius: 5px;
    border: 1px solid #537fe7;
}

.infomationRibit {
    grid-column: 2 / 4;
    margin-right: 43px;
    margin-top: 8px;
}

.mimon {
    display: none;
    color: #181823;
    background: transparent;
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    margin-right: auto;
    margin-left: auto;
    margin-top: -3px;
}

.titleSelect {
    margin-top: 30px;
    text-align: center;
    font-size: 2em;
    font-weight: 600;
    color: #000000;
}

.fieldCal {
    max-width: 641px;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.conSlider {
    display: grid;
    grid-template-columns: 1fr;
}

.shkel {
    text-align: center;
    background: red;
    color: white;
    font-size: 20px;
}

.range {
    background: linear-gradient(to right, #00A2FF 0%, #00A2FF 8%, #E5F6FF 0%, #E5F6FF 100%);
    direction: ltr;
    -webkit-appearance: none;
    width: 95% !important;
    height: 14px;
    border: none;
    outline: none;
    opacity: 1;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 30px;
    margin-left: 0;
    top: 0 !important;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px !important;
    height: 20px !important;
    background: white; /* Uses variable */
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Uses variable */
    transition: background-color 0.2s ease;
}

.range::-webkit-slider-thumb:hover {
    outline: none;
    background: white !important;
    border: none !important;
}

.range :hover::-webkit-slider-thumb {
    background-image: url("https://mashkantaguru.co.il/wp-content/uploads/2023/05/code.svg");
    background: #A600FF;
}

.range:hover {
    opacity: 1;
}

.range:focus {
    outline: none;
}

.minMaxRange {
    display: flex;
    justify-content: space-between;
    padding-top: 13px;
    font-size: 12px;
    color: #6E6E6E;
    padding-right: 3px;
    padding-left: 3px;
}


.sliderRange label {
    color: #181823;
    font-size: 15px;
    font-weight: 400;
    padding-top: 10px;
}

.conSlider input[type=text] {
    font-size: 17px;
    color: #181823;
    font-weight: 500;
    text-align: center;
    border: 1px solid #BBBBBF;
    max-height: 28px;
    border-radius: 3px;
}

.btnRunCal {
    display: none;
    justify-content: center;
    margin: 20px 0;
}

.btnRunCal button {
    cursor: pointer;
    background: url("https://mashkantaguru.co.il/wp-content/uploads/2023/07/down-filled-triangular-arrow-2.png") no-repeat center left 11px, #A600FF;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 6px 0px #0000004d;
    width: 100%;
    border: 1px solid #D7E2FF;
    max-width: 350px;
    display: inline-block;
    transition: 0.3s all;
    padding: 10px;
    margin: 0 auto;
    font-size: 20px;
}

.btnRunCalMslol {
    display: flex;
    justify-content: center;
    margin: 35px 0;
}

.btnRunCalMslol button {
    cursor: pointer;
    background: url("/wp-content/themes/wp-qs-theme-master/Mortgage_simulator/img//Down_Button.png") no-repeat center left 11px, #0D20F1;
    color: #fff;
    width: 100%;
    max-width: 200px;
    display: inline-block;
    transition: 0.3s all;
    padding: 6px;
    margin: 0 auto;
    font-weight: 500;
    font-size: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.17);
    border-radius: 100px;
}

.result {
    margin-bottom: 27px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background: white;
}

.tableSilokin {
    height: 70vh;
    overflow-y: scroll;
    margin-top: 25px;
}

.tableSilokin::-webkit-scrollbar {
    width: 0.3em;
}

.tableSilokin::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.tableSilokin::-webkit-scrollbar-thumb {
    border-radius: 30px;
    background-color: #537FE7;
    outline: 1px solid slategrey;
}

table {
    border: none !important;
}

.heading {
    text-align: center;
}

.heading h1 {
    font-weight: 500;
    font-size: 2.3rem;
    color: #000000;
}

.heading p {
    font-size: 20px;
    margin-top: -16px;
    font-weight: 400;
    color: #000000;
}

.addcolorBorder {
    display: none;
    width: 36px;
    height: 24px;
    position: absolute;
    right: 0;
    background: #E5E7FF;
    transform: rotate(89deg) translate(14px, -6px);
    z-index: -1;
    border-top-right-radius: 30px;
}

.addcolorBorderLeft {
    display: none;
    width: 36px;
    height: 24px;
    position: absolute;
    left: 0;
    background: #C9CBF5;
    transform: rotate(89deg) translate(10px, 6px);
    z-index: -1;
    border-top-right-radius: 30px;
}

.backgroundColor {
    background: #D1D3FF;
    max-width: 300px;
    width: 100%;
    height: 20px;
    margin-right: auto;
    margin-left: auto;
    margin-top: -22px;
    border-radius: 8px;
    display: none;
}

.backgroundColor2 {
    background: #F2D9FF;
    max-width: 499px;
    width: 100%;
    height: 22px;
    margin-right: auto;
    margin-left: auto;
    margin-top: -25px;
    border-radius: 8px;
}

.backgroundColorHazer {
    background: radial-gradient(circle, rgba(208, 184, 253, 1) 59%, rgba(224, 208, 254, 1) 94%);
    max-width: 200px;
    width: 100%;
    height: 14px;
    margin-right: auto;
    margin-left: auto;
    margin-top: -13px;
    border-radius: 8px;
}

.callTo {
    text-align: center;
    font-size: 19px;
    font-weight: 400;
    padding-bottom: 15px;
}

.flexInGrid {
    display: grid;
    grid-template-columns: 26% 17% 1% 57%;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
    padding-top: 5px;
    gap: 5px;
}

.flexTitle {
    display: flex;
    justify-content: start;
    align-items: center;
}

.checkboxZmod {
    margin-right: -11px;
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    align-items: end;
}

.labelCheckbox label {
    color: #181823;
    font-size: 16px;
    font-weight: 400;
}

.resultMontly {
    border-right: 5px solid #C0EDF2;
    background: #2861e7;
    text-align: center;
    font-size: 25px;
    padding: 16px 0 13px 0;
    font-weight: 500;
    color: white;
}

.resultMontly span {
    font-size: 25px;
    font-weight: 500;
}

.gridResult {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.titleResult {
    font-size: 20px;
    color: #000000;
    text-align: center;
    border-bottom: 3px solid #DFE0FF;
    max-width: 150px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    font-weight: 600;
}

.conRow {
    text-align: center;
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
}

.titleSecResult {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    font-weight: 400;
}

.titleSecResult .tool {
    margin-top: -5px;
}

.conRow span {
    font-size: 17px;
    color: #181823;
    font-weight: 600;
}

table th, table td {
    text-align: center;
}

.headerTable th {
    text-align: center;
}

.mobileFlex {
    display: flex;
    gap: 5px;
}

div.ins img {
    margin-bottom: 3px;
}

div.ins {
    width: 16px;
}

.containerSilokin {
    display: none;
}

.mobileC-Row {
    display: flex;
    border: 1px solid #A2DAFF !important;
    border-radius: 15px;
}

.conHazerC {
    background: #A2DAFF !important;
    border-radius: 15px !important;
}

@media (max-width: 600px) {
    .headerApp {
        display: block;
    }

    .btnCompare button {
        font-size: 13px;
        font-weight: 500;
        padding: 4px;
    }

    .btnCompare {
        left: 0 !important;
        top: 2px;
    }

    .mobileC-Row {
        margin-top: 9px;
        max-width: 94%;
        grid-column: 1 / 4;
        margin-right: auto;
        margin-left: auto;
    }

    .silokTable th, .silokTable td {
        font-size: 14px;
    }

    .titleSilokin {
        font-size: 20px !important;
    }

    .conGridStart {
        grid-template-columns: 1fr !important;
    }

    .popupBtnStickyMobile {
        display: none !important;
    }

    .toolRibit::after {
        margin-left: -4.25em;
    }

    .range::-webkit-slider-thumb {
        width: 25px !important;
        height: 25px !important;
    }

    .flexImageText {
        display: block !important;
    }

    .titleSimulator {
        font-size: 1.2em;
        margin-right: 0;
        text-align: center;
    }

    .backgroundColor {
        max-width: 235px;
    }

    .btnNativ {
        font-size: 13px;
        min-width: 45px;
        padding: 5px;
        font-weight: 400;
    }

    .btnChiose {
        min-width: auto;
    }

    .cardApp {
        padding: 10px;
    }

    .buttonCal {
        gap: 3px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .options + label {
        width: 100%;
        height: 65px;
    }

    .btnChiose img {
        width: 25px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 2px;
    }

    .labelButton div {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.1;
    }

    .sliderRange label {
        font-size: 13px;
        line-height: 14px;
    }

    .flexTitle .tool {
        display: none;
    }

    .tool::after {
        margin-left: -2.75em !important;
    }

    info img {
        width: 14px;
    }

    .shkelDisplay {
        background-size: 15px !important;
    }

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

    .titleSelect {
        font-size: 20px;
    }

    .boxField {
        padding: 5px !important;
    }

    .flexInGrid {
        grid-template-columns: 32% 5% 59%;
        align-items: baseline;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .mobileFlex {
        display: flex;
        gap: 5px;
    }

    .gridResult {
        grid-template-columns: 1fr 1fr;
    }

    .ribit + label {
        font-size: 13px !important;
        padding: 0px 17px !important;
    }

    .labelCheckbox label {
        font-size: 13px;
    }

    .checkboxZmod {
        margin-right: 0;
        display: grid;
        gap: 3px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .resultMontly {
        display: flex;
        justify-content: center;
        font-size: 25px !important;
        gap: 8px;
        padding: 11px 0 4px 0;
        font-size: 20px !important;
    }


    .conRow span {
        font-size: 14px;
    }

    .resultMontly span {
        font-size: 20px;
    }

    .conSlider input[type=text] {
        text-align: center;
        height: 28px;
        font-size: 14px;
        grid-row: 2/3;
    }

    .ins {
        grid-row: 2/3;
    }

    .range {
        grid-row: 2/4;
    }

    .titleResult {
        padding-top: 10px;
    }

    .mimon {
        font-size: 12px !important;
        padding: 5px;
    }

    .resultMashkanta div {
        font-size: 25px;
    }

    .titleScomMashkanta {
        padding-top: 0 !important;
        margin-bottom: 7px !important;
    }
}

.fieldContainer {
    margin: 20px 0;
    max-width: 575px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    margin-right: auto;
    margin-left: auto;
}

.niceInput {
    width: 85%;
    margin-right: auto;
    border: none !important;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    background: transparent !important;
    max-height: 50px;
    border-bottom: 1px solid black !important;
    margin-left: auto;
    display: block;
}

.titleBox {
    padding-top: 8px;
    font-size: 21px;
    font-weight: 400;
    text-align: center;
    color: black;
}

.boxField {
    padding: 15px;
    background: #FFFFFF;
    box-shadow: 0px 7px 5px rgba(202, 202, 202, 0.25);
    border-radius: 20px;
}

.backgroundColorNiceInput {
    display: none;
    background: #FFD7D7;
    max-width: 200px;
    width: 100%;
    height: 24px;
    margin-right: auto;
    margin-left: auto;
    margin-top: -34px;
    border-radius: 8px;
}

.rangeMslolim {
    margin-top: 20px;
}

.fildMslolim {
    display: grid;
    grid-template-columns: 9% 15% 15% 10% 10% 10% 23%;
    gap: 9px;
    align-items: end;
    padding: 10px 10px 10px 10px;
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    box-shadow: 0px 4px 5px rgba(202, 202, 202, 0.25);
    border-radius: 20px;

}

.mix-card-header {
    align-items: baseline;
    max-height: 40px;
}

.fildMslolim input {
    width: 100%;
    border: none;
    height: 42px;
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    background: #FBFBFB;
    border-bottom: 2px solid #EFEFEF;
    border-radius: 5px;

}

.conHazerH, .conHazerC {
    padding: 3px;
}

.fildMslolim label {
    font-size: 17px;
    width: 100%;
    text-align: center;
    font-weight: 400;
    color: #6E6E6E;
}

.fildMslolim select {
    width: 100%;
    border: none;
    height: 42px;
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    background: #FBFBFB;
    border-bottom: 2px solid #EFEFEF;
    border-radius: 5px;
}

.loopMslols {
    position: relative;
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
}

.addMslol {
    font-size: 19px;
    font-weight: 400;
    max-width: 140px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    cursor: pointer;
}

.addMslol span {
    font-size: 22px;
    color: white;
    padding: 0 6px;
    font-weight: 600;
    background: #00A2FF;
    border-radius: 75px;
}

.removeMslol {
    position: absolute;
    left: 0;
    top: 26px;
}

.removeMslol img {
    margin-left: 10px;
    margin-top: 10px;
    width: 17px;
    z-index: 9;
    cursor: pointer;
}

.flexResultMslol {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    border-top: 1px solid #A600FF;
}

.flexResultMslol span {
    font-size: 17px;
}

.resultMslols {
    max-width: 1054px;
    margin-right: auto;
    margin-left: auto;
    padding: 15px 0;
    background: #FFFFFF;
    box-shadow: 0px 4px 5px rgba(202, 202, 202, 0.25);
    border-radius: 20px;
    border: 1px solid #EAEAEA;
}

.resultMslols h2 {
    text-align: center;
    font-size: 27px;
    font-weight: 500;
}

.titleAndIcon {
    display: flex;
    align-items: center;
    padding-top: 15px 0;
    border-right: 5px solid #C0EDF2;
    background: #537FE7;
    color: white;
}

.titleAndIcon img {
    width: 60px;
}

.gridDynamic {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 0 15px;
    text-align: center;
}

.conGridStart {
    display: grid;
    width: 100%;
    grid-template-columns: 17% 1fr;
}

.resultMslolim .title {
    text-align: center;
    margin-top: -30px;
    font-size: 20px;
}

.resultMslolim {
    border: 1px solid #A600FF;
    padding: 10px;
    border-radius: 8px;
}

.backgorundMslol {
    height: 13px;
    width: 150px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-top: -14px;
}

.titleMslol {
    text-align: center;
    font-size: 20px;
}

.ntonResult {
    text-align: center;
    font-size: 22px; /* Make the value larger */
    color: black; /* Primary color for numbers */
    font-weight: 700;
    margin-bottom: 0; /* Remove old margin */
    margin-top: 2px;
}

.img_iconR {
    width: 50px;
    height: 50px;
}

.ntonResult div {
    font-weight: 600;
}

#skom {
    background: url(https://mashkantaguru.co.il/wp-content/uploads/2023/08/shekel-5.png), #FBFBFB;
    background-repeat: no-repeat;
    background-size: 14px;
    background-position: center left 8px;
}

.shkelDisplay {
    background: url(https://mashkantaguru.co.il/wp-content/uploads/2023/12/shekel-9.png), #FBFBFB !important;
    background-repeat: no-repeat !important;
    background-size: 15px !important;
    background-position: center left !important;
}

@media (max-width: 600px) {
    .comparison-container {
        padding: 10px !important;
    }

    .flexTitle {
        grid-row: 1;
    }

    .labelCheckbox {
        display: none;
    }

    label[for="zmod"] {
        display: none !important;
    }

    label[for="nozmod"] {
        display: none !important;
    }

    .infomationRibit {
        margin-right: 0;
        grid-column: 1/3;
    }

    .tool::after {
        font-size: 14px !important;
    }

    .numberMslol {
        font-size: 14px !important;
    }

    .fildMslolim label {
        font-size: 14px;
    }

    .resultMslols {
        grid-template-columns: 1fr; /* This was causing conflict, now removed from here as handled below */
        padding: 15px; /* Adjust padding for mobile */
    }

    .spicalField {
        font-size: 17px !important;
    }

    .fildMslolim select {
        font-size: 14px !important;
    }

    .fildMslolim input {
        font-size: 14px !important;
    }

    .mobileGridSame {
        display: grid;
        gap: 5px;
        grid-template-columns: 1fr 1fr;
        align-items: baseline;
    }

    .infoRibit button {
        font-size: 13px !important;
    }

    .infoRibit {
        max-width: 170px !important;
    }

    .titleResultMontly {
        margin-top: 0 !important;
    }

    .resultBox {
        display: block !important;
    }

    .rangeMslolim {
        margin: 16px 0 10px;
    }

    .removeMslol {
        top: 2px !important;
    }

    .resultMslols h2 {
        font-size: 21px;
    }

    .titleAndIcon img {
        width: 50px;
    }

    .titleAndIcon {
        justify-content: space-around;
    }

    .titleBox {
        margin-top: -5px !important;
        font-size: 14px;
    }

    .niceInput {
        font-size: 19px;
    }

    .backgroundColorNiceInput {
        height: 16px;
        margin-top: -26px;
    }

    .fieldContainer {
        margin-top: 30px;
        gap: 17px;
    }

    .fildMslolim {
        grid-template-columns: 20% 1fr 1fr;
    }
}

.errorMsG {
    text-align: center;
    border: 1px solid #A600FF;
    border-radius: 8px;
    margin-bottom: 10px;
}

.errorMsG span {
    font-weight: 700;
    color: #A600FF;
}

.titleScomMashkanta {
    padding-top: 10%;
    margin-bottom: 14px !important;
}

.flexImageText {
    display: flex;
    align-items: center;
    gap: 3px;
}

.mobileBottomSticky{
    background: rgb(251, 255, 250);
    width: 100%;
    position: fixed;
    padding: 5px;
    z-index: 999;
    bottom: 0;
    right: 0;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
}
@media (min-width: 1150px) {
    .mobileBottomSticky{
        display: none;
    }
    h1 {
        margin-bottom: 22px !important;
    }

    .options + label {
        min-height: 61px;
    }
}

.spicalField {
    background: #A2DAFF !important;
    color: black;
    font-weight: 500 !important;
    font-size: 19px;
    border-radius: 15px !important;
    border-bottom: none !important;
    height: 35px !important;
}

.spicalFieldB {
    border-radius: 15px !important;
    background: white !important;
    font-weight: 500 !important;
    font-size: 19px;
    border-bottom: none !important;
    height: 35px !important;
}

.fildMslolim div {
    text-align: center;
}

.info img {
    width: 17px;
    margin-bottom: -3px;
}

.titleSilokin {
    text-align: center;
    color: #444444;
    font-weight: 500;
    font-size: 24px;
    padding-bottom: 16px;
    margin-top: 16px;
}

.numberMslol {
    margin-bottom: -8px;
    color: black;
    margin-top: 3px;
    font-size: 15px;
    text-align: center;
}

table td {
    border: 1px solid #EEEEEE !important;
}

.resultBox {
    max-width: 671px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    display: grid;
    background: white;
    border-radius: 2px;
    border: 2px solid #E8F7F8;
    grid-template-columns: 27% 73%;
}

.titleResultMslol {
    line-height: 1.3em;
}

.titleResultMslol .tool {
    margin-top: -5px;
}

.titleResultMontly {
    margin-top: 31%;
}

.ahozMslols {
    background: #FBFBFB !important;
    color: black !important;
    border-bottom: none !important;
}

#ribit {
    background: url(https://mashkantaguru.co.il/wp-content/uploads/2023/12/percentage-4.png), #FBFBFB !important;
    background-repeat: no-repeat !important;
    background-size: 10px !important;
    background-position: center right 7px !important;
}

.btnSilokin {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 11px;
}

.btnSilokin button {
    max-width: 300px;
    font-size: 19px;
    border-radius: 5px;
    background: #2861E7;
    color: white;
    font-weight: 600;
    font-family: var(--font-family-body) !important;
}

.g-flx {
    display: flex;
    flex-direction: column; /* Stack label and value vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 12px; /* Internal padding */
    text-align: center; /* Ensure text is centered within the item */
    height: 100%; /* Ensure all items have same height */
    transition: all 0.2s ease-in-out; /* Smooth transition for hover effects */
    border-radius: 20px;
    box-shadow: 0px 4px 5px rgba(202, 202, 202, 0.25);
}

.g-flx-start {
    display: flex;
    flex-direction: column; /* Stack label and value vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    background-color: var(--card-background); /* White background for each item */
    border-radius: var(--border-radius-soft); /* Rounded corners */
    box-shadow: 0 2px 8px var(--shadow-light); /* Subtle shadow for each item */
    padding: 12px; /* Internal padding */
    text-align: center; /* Ensure text is centered within the item */
    height: 100%; /* Ensure all items have same height */
    transition: all 0.2s ease-in-out; /* Smooth transition for hover effects */
}

/* Hover effect for summary items */
.g-flx:hover {
    box-shadow: 0 4px 12px var(--shadow-medium); /* Slightly more prominent shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Ensure font family is applied where it might be missed */
* {
    font-family: var(--font-family-body) !important;
}

/* Specific styling for the summary section title */
.summary-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color); /* Stronger bottom border */
    display: inline-block; /* Make border only as wide as text */
    margin-right: auto; /* Center the inline-block */
    margin-left: auto; /* Center the inline-block */
    width: auto; /* Allow content to dictate width */
}

/* Regulation alert container style - keep as is */
.regulation-alert-container {
    border: 2px solid #ff0000;
    background-color: #ffe6e6;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    color: #cc0000;
    margin-bottom: 10px;
}

.regulation-alert-container h3 {
    color: #cc0000;
    margin-top: 0;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.regulation-alert-container ul {
    list-style: disc inside;
    padding-left: 0;
    margin-bottom: 10px;
}

.regulation-alert-container li {
    margin-bottom: 5px;
}
.titleResultMslolStart{
    font-weight: 600 !important;
    color: black !important;
}
.conComparison-mixes{
    margin-top: 3%;
}
@media (max-width: 600px) {
    .mobileOnlyS{
        position: static;
        display: none;
        margin-top: 10px;
     justify-content: center;
    }
    .mobileOnlyS button{
        padding: 10px 20px;
        font-size: 16px;
        width: 75%;
    }
    .iconSmallM{
        width: 40px !important;
        height: 40px !important;
    }
    .iconBigM{
        width: 70px !important;
        height: 70px !important;
    }
    .titleResultMslolStart br{
      display: none;
    }

    .spicalField {
        height: 27px !important;
    }

    .spicalFieldB {
        height: 27px !important;
    }

    .gridDynamic {
        padding: 4px;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    .resultMslols {
        padding: 10px !important;
        box-shadow: none !important;
    }

    .summary-section-title {
        font-size: 1.3rem !important;
        margin-bottom: 20px !important;
    }

    .g-flx {
        padding: 15px !important;
    }

    .titleResultMslol {
        font-size: 0.9rem !important;
    }
    .titleResultMslolStart{
        font-size: 20px !important;
        color: black;
    }

    .ntonResult {
        font-size: 18px !important;
    }
}

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


/* CSS Variables for easy theming */
:root {
    --primary-color: #007bff; /* Blue */
    --secondary-color: #6c757d; /* Gray */
    --accent-color: #28a745; /* Green for good */
    --danger-color: #dc3545; /* Red for bad/remove */
    --warning-color: #ffc107; /* Yellow for medium risk */
    --background-light: #f8f9fa; /* Light gray */
    --card-background: #ffffff;
    --border-color: #e9ecef;
    --text-color-dark: #343a40;
    --text-color-light: #6c757d;
    --font-family: 'Heebo', 'Arial', sans-serif; /* Prefer Heebo for Hebrew */
    --spacing-small: 8px;
    --spacing-medium: 16px;
    --spacing-large: 24px;
    --border-radius: 8px;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.12);
}

/* Base Styles */
.comparison-section-container {
    font-family: var(--font-family);
    direction: rtl; /* Right-to-left for Hebrew */
    text-align: right; /* Default text alignment */
    color: var(--text-color-dark);
    padding: var(--spacing-large);
    background-color: var(--background-light);
}

.comparison-container {
    max-width: 1200px;
    margin: 3% auto;
    background-color: white;
}

.section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: var(--spacing-large);
    text-align: center;
    position: relative;
    padding-bottom: var(--spacing-small);
    margin-top: 20px !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Card Styling for sections/mixes */
.card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: var(--spacing-large);
    margin-bottom: var(--spacing-large);
    overflow: hidden; /* For table scroll */
}

.no-mixes-message {
    text-align: center;
    padding: var(--spacing-large) *2;
    font-size: 1.2em;
    color: var(--text-color-light);
}

/* Mix Card (Individual Mix Details) */
.mix-card {
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.mix-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.mix-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-medium);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-small);
}

.mix-title {
    font-size: 1.6em;
    color: var(--text-color-dark);
    margin: 0;
}

/* Tables */
.mix-table-container, .comparison-table-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling for tables on smaller screens */
    border-radius: var(--border-radius);
    /* background-color: var(--card-background); /* If not already in .card */
}

.mix-table, .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-medium);
    font-size: 0.95em;
    background-color: var(--card-background); /* Ensure table background is white */
}

.mix-table th, .comparison-table th,
.mix-table td, .comparison-table td {
    padding: var(--spacing-small) var(--spacing-medium);
    border-bottom: 1px solid var(--border-color);
    text-align: right;
    white-space: nowrap; /* Prevent wrapping in table cells */
}

.mix-table thead th, .comparison-table thead th {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky; /* Make headers sticky for comparison table */
    top: 0;
    z-index: 1; /* Ensure header is above scrolling content */
}

.comparison-table thead th.sticky-header {
    left: 0; /* Make the "פרמטר" header sticky horizontally */
    z-index: 2; /* Higher z-index for this specific header */
}

.mix-table tbody tr:last-child td, .comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.mix-table tbody tr:nth-child(even) {
    background-color: var(--background-light); /* Zebra striping */
}

/* Comparison Table Specifics */
.comparison-summary-section .section-title {
    margin-top: var(--spacing-large) *1.5; /* More space above comparison summary */
}

.comparison-table {
    /* More compact for comparison */
}

.comparison-table th .mix-name {
    flex-grow: 1; /* Allow mix name to take available space */
    text-align: right;
}

.total-row {
    font-weight: bold;
    background-color: rgba(var(--primary-color-rgb), 0.1); /* Slightly tinted background for total row */
    font-size: 1.1em;
    color: var(--primary-color);
}

/* Highlighting for best values */
.highlight-good {
    color: var(--accent-color);
    font-weight: bold;
    /* background-color: rgba(var(--accent-color-rgb), 0.1); */ /* Optional: subtle background */
}

.highlight-good-total {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2em;
    background-color: rgba(var(--accent-color-rgb), 0.15); /* Stronger background for total */
}

/* Risk & Flexibility Styling */
.risk-low, .flex-high {
    color: var(--accent-color);
    font-weight: bold;
}

.risk-medium, .flex-medium {
    color: var(--warning-color);
    font-weight: bold;
}

.risk-high, .flex-low {
    color: var(--danger-color);
    font-weight: bold;
}

.info-icon {
    font-size: 0.8em;
    color: var(--text-color-light);
    cursor: help;
    margin-right: 5px; /* Adjust as needed for RTL */
}

/* Buttons */
.button-group {
    text-align: center;
    margin-top: var(--spacing-large);
}

.primary-button, .icon-button {
    padding: var(--spacing-small) var(--spacing-medium);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-weight: bold;
    box-shadow: var(--shadow-light);
}

.mix-comparison-header div {
    display: flex;
    align-items: baseline;
}

.primary-button:hover {
    background-color: var(--primary-color);
    filter: brightness(1.1);
    box-shadow: var(--shadow-medium);
}

.icon-button {
    background: none;
    border: none;
    color: black;
    font-size: 1.5em;
    width: 30px;
    height: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.icon-button:hover {
    color: var(--danger-color);
    background-color: rgba(var(--danger-color-rgb), 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .desktopC {
        display: none;
    }

    .section-title {
        font-size: 1.8em;
    }

    .mix-table th, .comparison-table th,
    .mix-table td, .comparison-table td {
        padding: var(--spacing-small);
        font-size: 0.9em;
    }

    .mix-card, .card {
        padding: var(--spacing-medium);
    }
}

/* Utility to extract RGB for rgba colors */
:root {
    --primary-color-rgb: 0, 123, 255;
    --accent-color-rgb: 40, 167, 69;
    --danger-color-rgb: 220, 53, 69;
    --warning-color-rgb: 255, 193, 7;
}


/* SVG Icon Styling */
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    color: var(--text-color-light);
    cursor: help;
    margin-right: 5px;
    vertical-align: middle;
    padding: 2px;
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.info-icon:hover {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.info-icon svg {
    display: block;
}

/* Custom Tooltip Styling */
.custom-tooltip {
    position: absolute;
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-small) var(--spacing-medium);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    max-width: 250px;
    text-align: right;
    z-index: 1000;
    pointer-events: none;
    white-space: normal;
    line-height: 1.4;
    font-size: 0.9em;
}

.custom-tooltip p {
    margin: 0;
}

/* Transition for tooltip */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter, .fade-leave-to {
    opacity: 0;
}

/* Responsive adjustment for tooltip on mobile */
@media (max-width: 768px) {
    .custom-tooltip {
        left: 50% !important;
        transform: translateX(-50%) translateY(-100%) !important;
        bottom: auto;
        top: auto;
        max-width: 80%;
        pointer-events: auto;
    }

    .custom-tooltip::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid var(--primary-color);
        left: 50%;
        transform: translateX(-50%);
        bottom: -10px;
    }
}


/* notification-toast Styles */
.notification-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    z-index: 2000;
    min-width: 280px;
    max-width: 90%;
    text-align: right;
    direction: rtl;
}

/* סגנונות לפי סוג ההתראה */
.notification-success {
    background-color: var(--accent-color); /* ירוק */
}

.notification-error {
    background-color: var(--danger-color); /* אדום */
}

.notification-info {
    background-color: var(--primary-color); /* כחול */
}

.notification-toast p {
    margin: 0;
    flex-grow: 1; /* מאפשר לטקסט לתפוס מקום זמין */
}

.close-notification {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: opacity 0.2s ease;
}

.close-notification:hover {
    opacity: 0.7;
}

/* Vue Transition Styles */
.notification-fade-enter-active, .notification-fade-leave-active {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.notification-fade-enter-from, .notification-fade-leave-to {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px); /* תזוזה קלה למעלה בזמן היעלמות/הופעה */
}

.app-tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap; /* Prevent text from wrapping */
    z-index: 1000; /* Ensure it's on top of other elements */
    pointer-events: none; /* Allow clicks to pass through */
    opacity: 0.9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.app-tooltip p {
    margin: 0;
}

canvas {
    max-width: 100% !important;
    height: 500px !important;
    display: block !important;
    min-height: unset !important;
}

.chartBtn {
    justify-content: center;
    margin-top: 20px;
}

.chartBtn button {
    cursor: pointer;
    background: url(/wp-content/themes/wp-qs-theme-master/Mortgage_simulator/img//Down_Button.png) no-repeat center left 11px, #0D20F1;
    color: #fff;
    width: 100%;
    max-width: 200px;
    display: inline-block;
    transition: 0.3s all;
    padding: 6px;
    margin: 0 auto;
    font-weight: 500;
    font-size: 20px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.17);
    border-radius: 100px;
}

.titleSilokin {
    font-size: 1.7em;
    line-height: 1.111em;
    margin-top: 32px;
    margin-bottom: 12px;
}

.chartTitleSection {
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
    color: #444444;
    margin-top: 20px;
    margin-bottom: 20px;
}

.titleChart {
    font-size: 1.3rem;
    font-weight: 500;
}

.ahozCon {
    background: #FBFBFB;
    border-radius: 15px;
    padding: 3px;
    border: 1px solid #EFEFEF
}