/* ==========================
   GLOBAL
========================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial, Helvetica, sans-serif;
background:#f5f7fb;
color:#111827;
overflow-x:hidden;
line-height:1.5;
}

header{
background:#2563eb;
color:white;
padding:18px;
text-align:center;
font-size:22px;
font-weight:bold;
box-shadow:0 2px 10px rgba(0,0,0,0.15);
}

/* ==========================
   MAIN CONTAINER
========================== */

.container{
max-width:1400px;
margin:auto;
padding:20px;
}

/* ==========================
   TEST BOX
========================== */

#mock-test-box,
#result-box{
background:white;
padding:25px;
border-radius:15px;
box-shadow:0 4px 20px rgba(0,0,0,0.08);
}

/* ==========================
   TIMER
========================== */

#timer{
position:sticky;
top:10px;
z-index:999;
font-size:32px;
font-weight:bold;
text-align:center;
background:white;
padding:15px;
margin-bottom:20px;
border-radius:12px;
box-shadow:0 3px 12px rgba(0,0,0,0.08);
color:#dc2626;
}

/* ==========================
   QUESTION
========================== */

#question-number{
font-size:18px;
font-weight:bold;
margin-bottom:15px;
color:#2563eb;
}

#question{
font-size:24px;
line-height:1.7;
margin-bottom:25px;
}

/* ==========================
   OPTIONS
========================== */

.option{
padding:16px;
border:1px solid #d1d5db;
margin-bottom:12px;
border-radius:10px;
cursor:pointer;
font-size:17px;
transition:0.3s;
background:white;
}

.option:hover{
background:#eff6ff;
border-color:#2563eb;
}

.selected{
background:#bfdbfe !important;
border-color:#2563eb !important;
}

/* ==========================
   BUTTONS
========================== */

button{
min-height:50px;
padding:12px 20px;
border:none;
background:#2563eb;
color:white;
border-radius:10px;
cursor:pointer;
font-size:16px;
font-weight:600;
transition:0.3s;
}

button:hover{
opacity:0.9;
}

button:active{
transform:scale(0.98);
}

/* ==========================
   TIMER BUTTONS
========================== */

.timer-buttons{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-bottom:20px;
}

.timer-buttons button{
flex:1;
min-width:120px;
}

/* ==========================
   NEXT BUTTON
========================== */

#mock-test-box button{
margin-top:20px;
}

/* ==========================
   RESULT BOX
========================== */

#result-box{
margin-top:20px;
}

#result-box h2{
color:#2563eb;
margin-bottom:15px;
}

#result-box p{
margin-bottom:10px;
line-height:1.7;
}

/* ==========================
   TABLET
========================== */

@media(max-width:1024px){

.container{
padding:15px;
}

#question{
font-size:22px;
}

}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

.container{
padding:10px;
}

header{
font-size:20px;
padding:15px;
}

#timer{
font-size:28px;
}

#question{
font-size:20px;
}

.option{
font-size:16px;
padding:14px;
}

button{
width:100%;
font-size:16px;
}

.timer-buttons{
flex-direction:column;
}

}

/* ==========================
   SMALL MOBILE
========================== */

@media(max-width:480px){

#timer{
font-size:24px;
}

#question{
font-size:18px;
}

.option{
font-size:15px;
}

button{
font-size:15px;
}

}