body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.worksheet-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.header-banner {
    background-color: #2b9cb0;
    color: white;
    padding: 25px 30px;
}

.header-banner h1 { 
    margin: 0 0 5px 0; 
    font-size: 26px; 
    font-weight: 600; 
}

.header-banner p { 
    margin: 0; 
    font-size: 14px; 
    opacity: 0.9; 
}

.focus-box {
    background-color: #eef8fa;
    border-left: 4px solid #2b9cb0;
    padding: 12px 20px;
    margin: 20px 30px 10px 30px;
    font-size: 14px;
    color: #2c3e50;
}

.content { 
    padding: 20px 30px 30px 30px; 
}

h2 {
    color: #2b9cb0;
    font-size: 16px;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eef8fa;
    padding-bottom: 6px;
}

.ordering-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.ordering-item input[type="number"] {
    width: 40px;
    height: 35px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #ccc;
    border-radius: 6px;
    margin-right: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.ordering-item input[type="number"]:focus {
    border-color: #2b9cb0;
}

.question-block { 
    margin-bottom: 22px; 
}

.question-title { 
    font-weight: 600; 
    font-size: 15px; 
    margin-bottom: 10px; 
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 5px;
}

.option-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
    user-select: none;
    border: 1px solid transparent;
}

.option-label:hover { 
    background-color: #eef8fa; 
}

.option-label input[type="radio"] { 
    margin-right: 12px; 
    width: 18px; 
    height: 18px; 
    accent-color: #2b9cb0; 
    cursor: pointer;
}

.svg-banner {
    width: 100%;
    height: 120px;
    background: #eef8fa;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-btn {
    display: block;
    width: 100%;
    background-color: #2b9cb0;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.2s;
}

.submit-btn:hover { 
    background-color: #238091; 
}

#score-board {
    display: none;
    margin-top: 25px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.score-pass { 
    background-color: #d4edda; 
    color: #155724; 
    border: 1px solid #c3e6cb; 
}

.score-fail { 
    background-color: #f8d7da; 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
}

.is-correct { 
    border-color: #28a745 !important; 
    background-color: #d4edda !important; 
}

.is-incorrect { 
    border-color: #dc3545 !important; 
    background-color: #f8d7da !important; 
}

label.is-correct { 
    border: 1px solid #28a745 !important; 
    color: #155724; 
}

label.is-incorrect { 
    border: 1px solid #dc3545 !important; 
    color: #721c24; 
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #2b9cb0;
    font-weight: bold;
    text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}