body {
font-family: 'Segoe UI', Arial, sans-serif;
background: #f8f9fa;
margin: 0;
padding: 0;
}
#main-content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px; /* space between timer and questions */
    max-width: 900px;
    margin: 0 auto;
}
#timer-container {
    min-width: 120px;
    background: #fff8f0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 24px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#questions-container {
    flex: 1;
}
#timer {
font-size: 1.3em;
font-weight: bold;
color: #b00;
background: none;
padding: 0;
border-radius: 0;
border: none;
}
#questions-container {
max-width: 700px;
margin: 40px auto;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
padding: 32px 24px;
}
.question-block {
margin-bottom: 32px;
padding-bottom: 20px;
border-bottom: 1px solid #e0e0e0;
}
.question-block:last-child {
border-bottom: none;
}
.question-block h3 {
margin: 0 0 16px 0;
font-size: 1.15em;
color: #333;
}
.question-block label {
display: block;
margin: 2px 0;
padding: 2px;
border-radius: 4px;
cursor: pointer;
transition: background 0.2s;
width: auto;
}
.choice-row {
display: flex;
align-items: center;
margin-bottom: 4px;
}
.choice-row input[type="radio"] {
margin-top: 0;
margin-right: 8px;
align-self: center;
}
.question-block input[type="radio"] {
margin-left: 0;
margin-right: 4px;
vertical-align: middle;
}
.question-block label:hover {
background: #f0f4fa;
}
.submit-btn {
display: block;
margin: 12px auto;
padding: 14px;
font-size: 1.1em;
font-weight: 600;
color: #fff;
background: linear-gradient(90deg, #0b0 40%, #3e3 100%);
border: none;
border-radius: 6px;
box-shadow: 0 2px 8px rgba(200,0,0,0.08);
cursor: pointer;
transition: background 0.2s, transform 0.1s;
}
.submit-btn:hover {
background: linear-gradient(90deg, #3e3 40%, #0b0 100%);
transform: translateY(-2px) scale(1.03);
}