body{
    font-family:Arial, sans-serif;
}

.mcq-wrapper{
    max-width:900px;
    margin:50px auto;
    background:#fff;
    padding:40px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.mcq-wrapper h2{
    text-align:center;
    margin-bottom:30px;
    color:#1d3557;
    font-size:32px;
}

.student-info{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:20px;
    margin-bottom:40px;
}

.student-info input{
    width:100%;
    padding:14px;
    border:1px solid #dbe2ea;
    border-radius:10px;
    font-size:15px;
    background:#fafcff;
}

.question-box{
    margin-bottom:30px;
    padding:25px;
    border-radius:14px;
    background:#f9fbff;
    border:1px solid #e2e8f0;
    transition:0.3s;
}

.question-box:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

.question-box h3{
    margin-bottom:20px;
    color:#1d3557;
    font-size:20px;
    line-height:1.5;
}

.question-box label{
    display:block;
    margin-bottom:14px;
    padding:12px 14px;
    border-radius:10px;
    background:#fff;
    border:1px solid #dfe7f1;
    cursor:pointer;
    transition:0.3s;
}

.question-box label:hover{
    background:#edf4ff;
}

.question-box input[type="radio"]{
    margin-right:10px;
}

.submit-btn{
    width:100%;
    background:#1d4ed8;
    color:#fff;
    border:none;
    padding:16px;
    border-radius:12px;
    font-size:18px;
    cursor:pointer;
    transition:0.3s;
    margin-top:20px;
}

.submit-btn:hover{
    background:#153ea7;
}

.success-message{
    background:#d1fae5;
    color:#065f46;
    padding:18px;
    border-radius:12px;
    text-align:center;
    font-size:18px;
    margin-top:30px;
}

/* Submission Viewer */

.submission-wrapper{
    max-width:1200px;
    margin:50px auto;
    background:#fff;
    padding:40px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.submission-wrapper h2{
    margin-bottom:30px;
    color:#1d3557;
    text-align:center;
}

.submission-table{
    width:100%;
    border-collapse:collapse;
}

.submission-table th{
    background:#1d4ed8;
    color:#fff;
    padding:16px;
    text-align:left;
}

.submission-table td{
    padding:14px;
    border-bottom:1px solid #e5e7eb;
}

.submission-table tr:hover{
    background:#f8fbff;
}

.answer-box{
    background:#f9fbff;
    border:1px solid #dbeafe;
    padding:15px;
    border-radius:10px;
    margin-top:10px;
}

@media(max-width:768px){

    .student-info{
        grid-template-columns:1fr;
    }

    .mcq-wrapper,
    .submission-wrapper{
        margin:20px;
        padding:20px;
    }

    .question-box h3{
        font-size:18px;
    }
}




.question-image{

    margin:20px 0;
}

.question-image img{

    max-width:100%;

    border-radius:12px;

    border:1px solid #dbe2ea;
}

.option-image{

    display:block;

    margin-top:10px;

    max-width:250px;

    border-radius:10px;

    border:1px solid #dbe2ea;
}



.mcq-options{

    margin-top:20px;
}

.mcq-options p{

    background:#fff;

    padding:14px;

    border-radius:10px;

    border:1px solid #e2e8f0;

    margin-bottom:12px;

    line-height:1.7;
}

.answer-field{

    margin-top:25px;
}

.answer-field label{

    display:block;

    margin-bottom:10px;

    font-weight:600;

    color:#1d3557;
}

.answer-input{

    width:100%;

    padding:16px;

    border-radius:12px;

    border:1px solid #dbe2ea;

    background:#fff;

    font-size:16px;
}

.answer-input:focus{

    outline:none;

    border-color:#2563eb;

    box-shadow:0 0 0 3px rgba(37,99,235,0.1);
}



.mcq-option-item{

    background:#fff;

    border:1px solid #dbe2ea;

    border-radius:12px;

    padding:16px;

    margin-bottom:18px;
}

.mcq-option-item p{

    margin-bottom:10px;

    line-height:1.7;

    font-size:16px;
}

.option-image{

    display:block;

    margin-top:10px;

    max-width:300px;

    width:100%;

    border-radius:10px;

    border:1px solid #dbe2ea;
}




















/* =========================
MCQ TEST PAGE
========================= */

.mcq-wrapper{
    max-width:900px;
    margin:50px auto;
    padding:40px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
}

.mcq-wrapper h2{
    text-align:center;
    margin-bottom:40px;
    font-size:34px;
    font-weight:700;
}

.student-info{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:20px;
    margin-bottom:40px;
}

.student-info input{
    width:100%;
    height:55px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 18px;
    font-size:16px;
}

.question-box{
    padding:30px;
    margin-bottom:35px;
    border:1px solid #eee;
    border-radius:12px;
    background:#fafafa;
}

.question-box h3{
    font-size:22px;
    margin-bottom:20px;
    line-height:1.8;
}

.question-number{
    color:#0d6efd;
    font-weight:700;
}

.question-image img{
    width:100%;
    max-width:500px;
    margin-top:15px;
    margin-bottom:20px;
    border-radius:10px;
}

.mcq-options{
    margin-top:20px;
}

.mcq-option-item{
    padding:15px;
    margin-bottom:20px;
    background:#fff;
    border-radius:10px;
    border:1px solid #e5e5e5;
}

.mcq-option-item p{
    margin-bottom:12px;
    line-height:1.8;
}

.option-image{
    max-width:250px;
    border-radius:8px;
    display:block;
}

.answer-field{
    margin-top:25px;
}

.answer-field label{
    display:block;
    margin-bottom:10px;
    font-weight:600;
}

.answer-input{
    width:100%;
    height:55px;
    border:1px solid #ccc;
    border-radius:8px;
    padding:0 18px;
    font-size:16px;
}

.submit-btn{
    width:100%;
    height:60px;
    border:none;
    border-radius:10px;
    background:#0d6efd;
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
}

.submit-btn:hover{
    background:#084dbf;
}

.success-message{
    background:#d1e7dd;
    color:#0f5132;
    padding:18px;
    margin-bottom:30px;
    border-radius:8px;
    font-weight:600;
}

@media(max-width:768px){

    .student-info{
        grid-template-columns:1fr;
    }

    .mcq-wrapper{
        padding:20px;
    }

    .question-box{
        padding:20px;
    }

    .question-box h3{
        font-size:18px;
    }
}






/* =========================
PAGINATION
========================= */

.mcq-pagination{
    margin-top:40px;
    text-align:center;
}

.mcq-pagination .page-numbers{
    display:inline-block;
    margin:0 5px;
    padding:12px 18px;
    border-radius:8px;
    background:#f1f1f1;
    color:#333;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.mcq-pagination .page-numbers:hover{
    background:#0d6efd;
    color:#fff;
}

.mcq-pagination .current{
    background:#0d6efd;
    color:#fff;
}