

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Poppins:wght@700&display=swap');

/* WRAPPER */
.calc-wrapper{
    display:flex;
    gap:48px;
    justify-content:center;
    font-family:Inter, sans-serif;
    align-items:flex-start;
    border: 1px solid #FFFFFF01;
    padding: 10px;
    
}

/* BOTH PANELS FIXED SIZE */
.calc-left
{
    width:375px;
    height:285px;
}
.calc-right{
    width: 375px;
    height: 365px;
}

/* LEFT */
.calc-left{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

/* FIELD */
.field{
    margin-bottom:18px;
}

/* LABEL */
.label-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:6px;
    font-family: Poppins;
}

.label-row span{
    font-size:16px;
    font-weight:600;
    color:#364153;
    font-family: Poppins;
}

.label-row strong{
    font-family: Poppins;
    color:#2A93CE;
    font-weight:700;
}

/* =========================
   ⭐ MODERN RANGE SLIDER
   ========================= */

input[type=range]{
    width:100%;
    -webkit-appearance:none;
    height:6px;
    border-radius:10px;
    background:#2A93CE33;
    outline:none;
    position:relative;
    border: none !important;
    padding: 0px !important;
}

/* TRACK FILL (modern effect) */
input[type=range]::-webkit-slider-runnable-track{
    height:6px;
    border-radius:10px;
    background:linear-gradient(to right, #2A93CE 0%, #2A93CE var(--value,50%), #2A93CE33 var(--value,50%), #2A93CE33 100%);
}

/* THUMB */
input[type=range]::-webkit-slider-thumb{
    -webkit-appearance:none;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#2A93CE;
    cursor:pointer;
    box-shadow:0 0 0 4px rgba(42,147,206,0.2);
    margin-top:-6px;
}

/* SCALE */
.scale{
    display:flex;
    justify-content:space-between;
    font-size:12px;
    color:#99A1AF;
    font-weight:500;
    margin-top:6px;
}

/* DROPDOWN LABEL */
.dropdown-label{
    display:block;
    margin-bottom:8px;
    font-size:16px;
    font-weight:600;
    color:#364153;
    font-family:Poppins;
}

/* MODERN SELECT WRAPPER */
.modern-select{
    position:relative;
    width:100%;
}

/* SELECT */
.modern-select select{
    width:100%;
    height:52px;

    padding:0 45px 0 16px;

    border-radius:14px;
    border:1px solid #D7DFE9;

    background:
        linear-gradient(180deg,#FFFFFF 0%, #F7FAFC 100%);

    font-size:14px;
    font-weight:500;
    font-family:Inter, sans-serif;

    color:#364153;

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    outline:none;
    cursor:pointer;

    transition:all .25s ease;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.04);
}

/* HOVER */
.modern-select select:hover{
    border-color:#2A93CE88;
}

/* FOCUS */
.modern-select select:focus{
    border-color:#2A93CE;
    box-shadow:
        0 0 0 4px rgba(42,147,206,0.12);
}

/* ARROW */
.select-arrow{
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);

    pointer-events:none;

    font-size:12px;
    color:#2A93CE;

    transition:.25s ease;
}

/* ROTATE ARROW ON FOCUS */
.modern-select select:focus + .select-arrow{
    transform:translateY(-50%) rotate(180deg);
}

/* OPTION STYLING */
.modern-select select option{
    background:#2A93CE;
    color:#fff;
    font-size:14px;
    padding:10px;
}
/* RIGHT SIDE */
.calc-right{
    background:#2A93CE;
    padding:32px;
    border-radius:18px;
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items: center;
}

/* TEXT STYLES */
.small-text{
    font-size:12px;
    font-weight:400;
    text-transform: uppercase;
}

.big-value{
    font-family:Poppins;
    font-size:46px;
    font-weight:700;
        text-shadow:
        0 0 6px rgba(255, 215, 0, 0.4),
        0 0 12px rgba(255, 215, 0, 0.3),
        0 0 18px rgba(255, 215, 0, 0.2);
}

/* INFO */
.info-box{
    font-size:14px;
    background:rgba(255,255,255,0.15);
    padding:12px;
    border-radius:10px;
    line-height:1.4;
    margin-bottom: 10px;
}

/* BUTTON */
/*.cta-btn{*/
/*    font-family: Poppins;*/
/*    font-size:14px;*/
/*    font-weight:400;*/
/*    line-height:18px;*/
/*    padding:10px 24px;*/
/*    border:none;*/
/*    border-radius:10px;*/
/*    background:#55AB8E;*/
/*    color:#ffff;*/
/*    cursor:pointer;*/
/*    width: 100%;*/
/*}*/

.cta-link {
    text-decoration: none !important;
    display: block; /* Changed from inline-block to block */
    width: 100%;    /* Added this to force the link to be full width */
    cursor: pointer;
}

/* 2. Ensure the Right Panel stretches the link */
.calc-right {
    background: #2A93CE;
    padding: 32px;
    border-radius: 18px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch; /* CHANGED from center to stretch */
    text-align: center;
    box-sizing: border-box;
}

/* 3. The Button (Already good, but keep this) */
.cta-btn {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 600; /* Bumped to 700 for better look */
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    background: #55AB8E;
    color: #ffffff;
    cursor: pointer;
    width: 100% !important; /* Now this has a wide parent to fill! */
}

/* RESPONSIVE */
@media(max-width:900px){
    .calc-wrapper{
        flex-direction:column;
        align-items:center;
        gap: 5px !important;
    }

    .calc-left,
    .calc-right{
        width:100%;
        height:auto;
        /*padding: 10px;*/
    }
}

