body {
    font-family: Arial, sans-serif;
    background: #F2F2F2;
    margin: 0;
    padding: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.hidden {
    display: none;
}

h1 {
    color: #0033A0;
    text-align: center;
}

.subheader {
    text-align: center;
    color: #555;
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.red-btn {
    background: #C8102E;
    color: white;
    padding: 15px;
    width: 100%;
    border: none;
    font-size: 18px;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
}

.blue-btn {
    background: #0033A0;
    color: white;
    padding: 15px;
    width: 100%;
    border: none;
    font-size: 18px;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
}

#header-bar {
    background: #0033A0;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
}

/* ✅ Fixed CAP‑Style Answer Card Layout */
.answer-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border: 1px solid #0033A0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
    background: #ffffff;
    transition: background 0.2s ease;
}

.answer-card:hover {
    background: #e8f0ff;
}

.answer-card input[type="radio"] {
    margin: 0;
    transform: scale(1.2);
    cursor: pointer;
}

.answer-card span {
    font-size: 16px;
    color: #000;
    line-height: 1.4;
    flex: 1;
}

/* Navigation buttons container */
#nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

#review-question,
#review-user-answer,
#review-correct-answer {
    margin-top: 15px;
    font-size: 16px;
}

