*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f3f4f6;
    font-family:Arial, sans-serif;
}

/* ================= CONTAINER ================= */

.grade-container{
    max-width:1100px;
    margin:40px auto;
    padding:20px;
}

.grade-card{
    background:#fff;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

/* ================= HEADER ================= */

.grade-header{
    display:flex;
    gap:20px;
    align-items:center;
    margin-bottom:35px;
}

.grade-icon{
    width:80px;
    height:80px;
    background:#2563eb;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:40px;
    border-radius:20px;
    flex-shrink:0;
}

.grade-header h1{
    font-size:42px;
    margin-bottom:8px;
    color:#111827;
}

.grade-header p{
    font-size:16px;
    color:#666;
    line-height:1.6;
}

/* ================= INPUTS ================= */

.grade-inputs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin-bottom:30px;
}

.grade-field label{
    display:block;
    margin-bottom:10px;
    font-size:16px;
    font-weight:bold;
    color:#333;
}

.grade-field input{
    width:100%;
    height:60px;
    border:2px solid #ddd;
    border-radius:15px;
    padding:0 18px;
    font-size:18px;
    outline:none;
    transition:0.3s;
}

.grade-field input:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,0.1);
}

/* ================= BUTTON ================= */

.grade-btn{
    width:100%;
    height:65px;
    border:none;
    border-radius:18px;
    background:#2563eb;
    color:#fff;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.grade-btn:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

/* ================= RESULT ================= */

.grade-result{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:35px;
}

.result-box{
    background:#f8fafc;
    border:2px solid #e5e7eb;
    border-radius:20px;
    padding:30px;
    text-align:center;
}

.result-box span{
    display:block;
    font-size:15px;
    color:#666;
    margin-bottom:10px;
}

.result-box h2{
    font-size:38px;
    color:#2563eb;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .grade-card{
        padding:25px;
    }

    .grade-header{
        flex-direction:column;
        text-align:center;
    }

    .grade-header h1{
        font-size:32px;
    }

    .grade-inputs{
        grid-template-columns:1fr;
    }

    .grade-result{
        grid-template-columns:1fr;
    }

    .result-box h2{
        font-size:30px;
    }

}