/* ==========================================
   Reset
========================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        sans-serif;

    background:#f7f8fb;

    color:#222;

    line-height:1.7;

}

img{

    display:block;
    max-width:100%;

}

a{

    color:inherit;
    text-decoration:none;

}

button{

    border:none;
    background:none;
    cursor:pointer;

}

input,
select,
textarea{

    font:inherit;
    outline:none;

}

ul{

    list-style:none;

}

/* ==========================================
   Layout
========================================== */

main{

    max-width:1280px;
    margin:0 auto;

}

.container{

    width:100%;
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;

}

.section{

    margin-top:70px;

}

@media(max-width:768px){

    .container{

        padding:0 16px;

    }

}

/* ==========================================
   Breadcrumb
========================================== */

.breadcrumb{

    margin-bottom:30px;

    color:#777;

    font-size:.9rem;

}

.breadcrumb a{

    color:#1565c0;

}

.breadcrumb a:hover{

    text-decoration:underline;

}

/* ==========================================
   Page Title
========================================== */

.page-title{

    margin-bottom:40px;

}

.page-title h1,
.page-title h2{

    font-size:2rem;

    margin-bottom:10px;

    color:#222;

}

.page-title p{

    color:#666;

}

/* ==========================================
   Card
========================================== */

.card{

    background:#fff;

    border:1px solid #e8edf5;

    border-radius:16px;

    overflow:hidden;

    margin-bottom:30px;

    box-shadow:0 6px 20px rgba(0,0,0,.04);

}

.card__header{

    padding:20px 24px;

    border-bottom:1px solid #edf2f7;

}

.card__header h2{

    font-size:1.2rem;

}

.card__body{

    padding:24px;

}

/* ==========================================
   Form
========================================== */

.form-group{

    margin-bottom:22px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.form-group input,
.form-group select{

    width:100%;

    height:48px;

    padding:0 14px;

    border:1px solid #d9e3ee;

    border-radius:10px;

    background:#fff;

    transition:.2s;

}

.form-group input:focus,
.form-group select:focus{

    border-color:#1565c0;

    box-shadow:0 0 0 4px rgba(21,101,192,.08);

}

/* ==========================================
   Button
========================================== */

.calculate-button{

    width:100%;

    height:54px;

    border:none;

    border-radius:12px;

    background:#1565c0;

    color:#fff;

    font-size:1rem;

    font-weight:700;

    transition:.2s;

}

.calculate-button:hover{

    background:#0d47a1;

}

/* ==========================================
   Result Card
========================================== */

.result-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:20px;

}

.result-card{

    background:#fafcff;

    border:1px solid #e8edf5;

    border-radius:14px;

    padding:24px;

    text-align:center;

}

.result-card p{

    color:#666;

    margin-bottom:10px;

}

.result-card h3,
.result-card strong{

    color:#1565c0;

    font-size:1.7rem;

}

/* ==========================================
   Table
========================================== */

table{

    width:100%;

    border-collapse:collapse;

}

th{

    background:#1565c0;

    color:#fff;

}

th,
td{

    border:1px solid #dfe6ef;

    padding:12px;

    text-align:center;

}

/* ==========================================
   Responsive
========================================== */

@media(max-width:768px){

    .page-title h1,
    .page-title h2{

        font-size:1.6rem;

    }

    .card__body{

        padding:18px;

    }

    .result-grid{

        grid-template-columns:1fr;

    }

}