*{ margin:0; }
body{
  display: flex;
  align-items: center;
  background-color: #ffffff;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
}

#container{
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.12);
  text-align: left; 
  width: 700px;
  max-width: 95vw;
  padding: 12px 16px 16px;
}

#timer{
  margin: 10px 0 6px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 18px;
  color: #b91c1c;
}

#question{
  margin: 10px 0;
  font-family: 'Times New Roman', Times, serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
}

#options{
  margin: 10px 0 4px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
}

#score{
  color: #065f46;
  margin: 10px 0 0;
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
}
#percentText{
  margin-top: 6px;
  color: #111827;
  font-size: 18px;
}
#summaryText{
  margin-top: 4px;
  color: #374151;
  font-size: 16px;
}

button{
  color: white;
  background-color: blue;
  margin: 10px 10px 0 0;
  min-width: 120px;
  height: 36px;
  cursor: pointer;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  padding: 6px 12px;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
button:hover{ transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,255,0.15); }
button:disabled{ opacity: .6; cursor: not-allowed; }

.optBtn{
  background-color: #0284c7;
  color: white;
  cursor: pointer;
  min-height: 38px;
  width: 100%;
  border-radius: 6px;
  margin: 6px 0;
  text-align: left;
  padding: 10px 12px;
}

/* Analysis styles */
#analysis{
  margin-top: 14px;
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
}
#analysis h3{
  margin: 0 0 8px;
  font-size: 20px;
  color: #111827;
  font-family: 'Times New Roman', Times, serif;
}
.analysis-item{
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
}
.analysis-q{ font-weight: 600; margin-bottom: 6px; }
.analysis-your, .analysis-corr{ margin: 2px 0; }
.analysis-status{ margin: 6px 0; font-weight: 600; }
.analysis-status.ok{ color: #065f46; }
.analysis-status.no{ color: #991b1b; }
.analysis-expl{ color: #4b5563; }
