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

body{
    font-family:Arial,sans-serif;
    background:#f5f6fa;
    color:#333;
}

.container{

    width:95%;
    max-width:1200px;

    margin:10px auto 40px;

}

.logo{
    width:320px;
    max-width:90%;
    height:auto;
    display:block;
    margin:20px auto 20px;
}

h1{

    text-align:center;

    color:#ff6b00;

    font-size:34px;

    margin-bottom:35px;

}

/* -------------------- */

.form-card{

    background:#ffffff;

    border-radius:18px;

    padding:30px;

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

}

/* -------------------- */

.form-grid{

    display:grid;

    gap:20px;

    margin-bottom:22px;

}

.form-grid-2{

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

}

.form-grid-3{

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

}

label{

    display:block;

    margin-bottom:8px;

    font-size:15px;

    font-weight:600;

    color:#555;

}

input{

    width:100%;

    height:50px;

    padding:0 15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:18px;

    outline:none;

    transition:.2s;

}

input:focus{

    border-color:#ff6b00;

    box-shadow:0 0 0 3px rgba(255,107,0,.15);

}

/* ========================= */
/* BUTTON */
/* ========================= */

.button-group{

    display:flex;

    gap:20px;

    margin-top:30px;

}

.button-group button{

    flex:1;

    height:55px;

    border:none;

    border-radius:12px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.25s;

}

.button-group button:first-child{

    background:#ff6b00;

    color:#fff;

}

.button-group button:first-child:hover{

    background:#e55d00;

}

.reset-btn{

    background:#888;

    color:#fff;

}

.reset-btn:hover{

    background:#666;

}

/* ========================= */
/* RESULT */
/* ========================= */

.result{

    margin-top:35px;

}

.result-title{

    text-align:center;

    font-size:30px;

    font-weight:bold;

    margin-bottom:25px;

}

.result-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:25px;

}

.result-box{

    background:#fff;

    border-radius:18px;

    padding:25px;

    box-shadow:0 4px 18px rgba(0,0,0,.08);

    display:flex;

    flex-direction:column;

    gap:18px;

}

/* ========================= */
/* CARD HEADER */
/* ========================= */

.card-header{

    color:#fff;

    text-align:center;

    padding:14px;

    border-radius:12px;

    font-size:20px;

    font-weight:bold;

}

.orange{

    background:#ff7a00;

}

.blue{

    background:#2196F3;

}

.green{

    background:#16a34a;

}

/* ========================= */
/* RESULT ROW */
/* ========================= */

.result-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px 0;

    border-bottom:1px solid #ececec;

}

.result-row:last-child{

    border-bottom:none;

}

.result-row span{

    font-size:16px;

    color:#666;

    font-weight:500;

}

.result-row strong{

    font-size:24px;

    color:#ff6b00;

    font-weight:700;

}

/* ========================= */
/* SUMMARY */
/* ========================= */

.summary-box{

    margin-top:30px;

    background:#fff;

    border-radius:18px;

    padding:25px;

    box-shadow:0 4px 18px rgba(0,0,0,.08);

}

.summary-box .result-row{

    padding:18px 0;

}

.summary-box .result-row span{

    font-size:18px;

    font-weight:600;

}

.summary-box .result-row strong{

    font-size:30px;

    color:#16a34a;

}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width:900px){

    .result-grid{

        grid-template-columns:1fr;

    }

}

@media (max-width:768px){

    .container{

        width:95%;

    }

    .form-grid-2,
    .form-grid-3{

        grid-template-columns:1fr;

    }

    .button-group{

        flex-direction:column;

    }

    .result-title{

        font-size:24px;

    }

    .card-header{

        font-size:18px;

    }

    .result-row strong{

        font-size:20px;

    }

    .summary-box .result-row strong{

        font-size:24px;

    }

}

/* ========================= */
/* METHOD BADGE */
/* ========================= */

.method{

    display:inline-block;

    margin-top:6px;

    padding:5px 12px;

    border-radius:30px;

    font-size:13px;

    font-weight:bold;

    color:#fff;

}

.method-weight{

    background:#2196F3;

}

.method-cbm{

    background:#ff7a00;

}