/* ======================================
   Make It Easy
   RRB JE CBT-2 Predictor
====================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:30px;

    background:linear-gradient(135deg,#0f172a,#1d4ed8,#2563eb);

}

/* =============================== */

.container{

    width:100%;
    max-width:900px;

}

/* =============================== */

.card{

    background:rgba(255,255,255,0.12);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,0.20);

    border-radius:20px;

    padding:35px;

    color:white;

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

/* =============================== */

h1{

    text-align:center;

    font-size:34px;

    margin-bottom:8px;

}

h2{

    text-align:center;

    font-size:24px;

}

.subtitle{

    text-align:center;

    color:#dbeafe;

    margin:10px 0 30px;

}

/* =============================== */

.input-group{

    margin-bottom:18px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.input-group select,

.input-group input{

    width:100%;

    padding:13px;

    border:none;

    outline:none;

    border-radius:10px;

    font-size:16px;

}

/* =============================== */

.button-group{

    display:flex;

    gap:15px;

    margin-top:25px;

}

button{

    flex:1;

    padding:14px;

    border:none;

    border-radius:10px;

    font-size:17px;

    font-weight:bold;

    cursor:pointer;

    transition:.30s;

}

.predict-btn{

    background:#22c55e;

    color:white;

}

.predict-btn:hover{

    background:#16a34a;

    transform:translateY(-3px);

}

.reset-btn{

    background:#ef4444;

    color:white;

}

.reset-btn:hover{

    background:#dc2626;

    transform:translateY(-3px);

}

/* =============================== */

.results{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:18px;

    margin-top:35px;

}

/* =============================== */

.result-card{

    background:rgba(255,255,255,.15);

    border-radius:15px;

    padding:20px;

    text-align:center;

    transition:.3s;

}

.result-card:hover{

    transform:translateY(-5px);

}

.result-card h3{

    color:#e2e8f0;

    margin-bottom:12px;

    font-size:18px;

}

.value{

    font-size:32px;

    font-weight:bold;

    color:#facc15;

}

.chance{

    font-size:26px;

    font-weight:bold;

}

.status{

    font-size:22px;

    font-weight:bold;

    padding:8px;

    border-radius:8px;

    color:white;

    background:#2563eb;

}

/* =============================== */

.progress-container{

    margin-top:30px;

    height:24px;

    background:#cbd5e1;

    border-radius:50px;

    overflow:hidden;

}

.progress-bar{

    width:0%;

    height:100%;

    border-radius:50px;

    background:#22c55e;

    transition:width .8s;

}

.progress-text{

    text-align:center;

    margin-top:12px;

    font-size:18px;

    font-weight:600;

}

/* =============================== */

.note{

    margin-top:30px;

    padding:18px;

    border-radius:12px;

    background:rgba(255,255,255,.12);

    line-height:1.7;

    color:#f8fafc;

    font-size:14px;

}

/* =============================== */

.safe{

    background:#16a34a;

}

.high{

    background:#22c55e;

}

.good{

    background:#eab308;

    color:#000;

}

.border{

    background:#f97316;

}

.low{

    background:#dc2626;

}

/* =============================== */

@media(max-width:768px){

    .card{

        padding:20px;

    }

    .button-group{

        flex-direction:column;

    }

    h1{

        font-size:28px;

    }

    h2{

        font-size:20px;

    }

    .value{

        font-size:28px;

    }

}