* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #F5F7FA;
    color: #1F2937;
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 40px 20px;
}



/* GRID */

.calculator {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 30px;
}

/* PANELS */

.left,
.middle,
.right {

    background: white;
    border-radius: 30px;
    padding: 35px;

    box-shadow:
        0 20px 60px
        rgba(
            0,
            0,
            0,
            .08
        );

}

/* LABELS */

label {

    display: block;

    font-weight: 700;

    color: #0B2C6A;

    margin-bottom: 10px;
}

/* FIELD */

.field {

    margin-top: 25px;

}

/* INPUTS */

input[type="number"],
select {

    width: 100%;

    padding: 15px;

    border:
        1px solid #E5E7EB;

    border-radius: 15px;

    font-size: 16px;

    outline: none;

    transition: .3s;

}

input[type="number"]:focus,
select:focus {

    border-color: #13D8F6;

    box-shadow:
        0 0 0 4px
        rgba(
            255,
            133,
            0,
            .1
        );

}

/* RANGE */

input[type="range"] {

    width: 100%;

    margin-top: 15px;

    accent-color: #13D8F6;

    cursor: pointer;

}

/* VALUES */

#amountValue,
#rateValue,
#tenureValue {

    margin-top: 10px;

    color: #6B7280;

    font-weight: 600;

}

/* BUTTON */

.apply-btn{

    background:
    linear-gradient(
    90deg,
    #13D8F6,
    #00C7E8
    );
    
    box-shadow:
    0 10px 30px
    rgba(
    19,
    216,
    246,
    0.3
    );
    
    }

.apply-btn:hover {

    transform:
        translateY(-3px);

}

/* EMI */

.middle{

    display:flex;

    flex-direction:
    column;

    justify-content:
    center;

}

.middle h4 {

    color: #6B7280;
    font-size: 18px;

}

#emi {

    font-size: 72px;
    font-weight: 800;
    color: #0B2C6A;

    margin:
        25px 0;

    line-height: 1;

}

/* STATS */
.stats{

    display:grid;

    grid-template-columns:
    repeat(
        2,
        1fr
    );

    gap:20px;

    margin-top:30px;

}

.card:last-child{

    grid-column:
    span 2;

}

.card{

    border:
    1px solid
    rgba(
    19,
    216,
    246,
    0.15
    );
    
    }

.card p {

    color: #6B7280;

    margin-bottom: 10px;

}

.card h3 {

    color: #0B2C6A;

    font-size: 24px;

}

/* CHART */

.right{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:500px;

}

#chart {

    max-width: 320px;

}

/* SHARE */






/* TABLE */

.schedule {

    margin-top: 50px;

    background: white;

    padding: 35px;

    border-radius: 30px;

    overflow-x: auto;

    box-shadow:
        0 10px 30px
        rgba(
            0,
            0,
            0,
            .05
        );

}

.schedule h2 {

    margin-bottom: 25px;

    color: #0B2C6A;

}

table {

    width: 100%;

    border-collapse: collapse;

}

thead {

    background: #0B2C6A;

    color: white;

}

th {

    padding: 18px;

}

td {

    padding: 16px;

    border-bottom:
        1px solid #F1F1F1;

}

tr:hover {

    background: #FAFAFA;

}

/* SCROLLBAR */

::-webkit-scrollbar {

    width: 8px;
    height: 8px;

}

::-webkit-scrollbar-thumb {

    background: #D1D5DB;
    border-radius: 20px;

}

/* RESPONSIVE */

@media (max-width: 992px) {

    .calculator {

        grid-template-columns:
            1fr;

    }

    .hero h1 {

        font-size: 42px;

    }

    #emi {

        font-size: 56px;

    }

}

@media (max-width: 576px) {

    .hero {

        padding: 40px 20px;

    }

    .hero h1 {

        font-size: 32px;

    }

    .hero p {

        font-size: 15px;

    }

    #emi {

        font-size: 42px;

    }

    .left,
    .middle,
    .right,
    .schedule {

        padding: 25px;

    }



    .share-buttons {

        flex-direction:
            column;

    }

}