body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}
.calculator {
    background: #fff;
    padding: 20px;
    border-radius: 00px;
    box-shadow: 0 20px 15px rgba(0, 0, 0, 0.2);
    width: 520px;
    height: 670px;
    position: relative;
}
/* input, select, button {
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    border-color: #2AB87F;
} */

input{
    width: 96%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid;
    border-radius: 10px;
    border-color: #2AB87F;
}
select{
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid;
    border-radius: 10px;
    border-color: #2AB87F;
}
button{
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid;
    border-radius: 10px;
    border-color: #2AB87F;
    background-color: #2AB87F;
    font-weight: 700;
    color: white;
}
button:hover{
    cursor: pointer;
}
.tab {
    display: none;
    height: 100%;
}
.active {
    display: block;
}
.tabs {
    position: absolute;
    top: -60px;
    left: 0px;
    display: flex;
    gap: 0px;
}
.tabs button {
    padding: 10px 20px;
    border: none;
    background: #2AB87F;
    color: white;
    font-weight: bold;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-left: 0px;
}
.tabs button.active {
    background: White;
    color: #2AB87F;
    font-weight: bold;

}
.result-box {
    border: 2px solid #2AB87F;
    border-radius: 10px;
    padding: 15px;
    min-height: 120px;
    margin-top: 20px;
    background: #fff;
}

@media screen and (max-width: 600px) {
    body {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .calculator {
        width: 100%;
        height: auto;
        padding: 15px;
    }

    select, button {
        width: 100%;
    }
    input {
        width: 94%;
    }

    .tabs {
        position: relative;
        top: 0;
        flex-direction: column;
        align-items: center;
    }

    .tabs button {
        width: 100%;
        margin-bottom: 5px;
    }
}

