.loan-calculator-elementor {
    font-family: "Montserrat", Sans-serif;
}

.lc-close-button {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 20;
    color: #fff;
    cursor: pointer;
}

.lc-slide-panel {
    position: fixed;
    top: 0;
    right: -75vw;
    width: 75vw;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 16px rgb(0 0 0 / .15);
    transition: right 0.4s cubic-bezier(.77,0,.18,1);
    z-index: 1000;
    padding: 0;
    box-sizing: border-box;
    overflow-y: auto;
}
.lc-slide-panel.open {
    right: 0;
}
.lc-toggle-panel-btn {
    position: fixed;
    right: 0;
    top: 40%;
    background: #1d62f0;
    color: #fff;
    border: none;
    padding: 16px 10px;
    font-size: 18px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    z-index: 1100;
    writing-mode: vertical-lr;
    letter-spacing: 1px;
    font-weight: bold;
    transition: right 0.4s cubic-bezier(.77,0,.18,1), background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: rotate(180deg);
    outline: none;
    transition: all .4s ease-in-out;
}
.lc-toggle-panel-btn:hover,
.lc-toggle-panel-btn:focus{
    background: #000c34;
}
.lc-toggle-panel-btn.on-panel {
    right: 75vw;
    background: #000c34;
}
.lc-toggle-panel-btn .close-x {
    font-size: 1.5rem;
    margin-left: 6px;
    display: none;
    pointer-events: none;
}
.lc-toggle-panel-btn.open .close-x {
    display: inline;
    pointer-events: auto;
}


@media (max-width: 700px) {

    .lc-close-button{
        color: #000;
    }
    .lc-close-button svg {
        height: 30px;
        width: 30px;
    }
    .lc-toggle-panel-btn{
        width: 100%;
        writing-mode: horizontal-tb;
        transform: rotate(0);
        text-align: center;
        padding: 10px 0 !important;
        border-radius: 0 !important;
        bottom: 0;
        top: inherit;
        justify-content: center;
    }
    .lc-slide-panel {
        width: 100vw;
        right: -100vw;
        min-width: 0;
        max-width: 100vw;
        padding: 16px 8px;
    }
    .lc-slide-panel.open {
        right: 0;
    }
    .lc-toggle-panel-btn.on-panel {
        right: 0
    }
}