/* Free online English level test (fc4a09e92e) — loaded only by page.php on
   /{lang}/ingilis-dili-seviyye-testi, so it ships without touching head.php
   (prod's head.php has drifted from the repo). Same flat panel language as
   .wa-cta / .answer-box: radius 2px, brand tint, orange accent rule. */
.level-test,
.level-test__result {
    --lt-accent: #FF8C00;
    margin: 34px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line, #E8E4E0);
    border-top: 3px solid var(--lt-accent);
    border-radius: var(--radius, 2px);
}
.level-test__title { margin-top: 0; }
.level-test__list { margin: 0; padding: 0; list-style: none; }
.level-test__q { margin: 0 0 14px; }
.level-test__q fieldset {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--line, #E8E4E0);
    border-radius: var(--radius, 2px);
    min-width: 0;
}
.level-test__q legend {
    float: left;          /* keeps the legend inside the fieldset border */
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink, #020202);
}
.level-test__q legend + * { clear: both; }
.level-test__num { display: block; font-size: 13px; font-weight: 400; color: #6b6b6b; }
.level-test__q label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 8px 8px 0;
    padding: 8px 14px;
    border: 1px solid var(--line, #E8E4E0);
    border-radius: var(--radius, 2px);
    cursor: pointer;
    font-weight: 400;
    line-height: 1.3;
}
.level-test__q label:has(input:checked) { border-color: var(--lt-accent); background: var(--tint, #FFECDB); }
.level-test__q .level-test__dk { color: #6b6b6b; }
.level-test__error { margin: 8px 0; color: #b42318; font-weight: 600; }
.level-test__submit,
.level-test__retry {
    padding: 13px 26px;
    border: 0;
    border-radius: var(--radius, 2px);
    background: var(--lt-accent, #FF8C00);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.level-test__retry { background: transparent; color: #A85A00; border: 1px solid currentColor; font-size: 14px; padding: 9px 18px; }
.level-test__submit:focus-visible,
.level-test__retry:focus-visible { outline: 2px solid #A85A00; outline-offset: 2px; }
.level-test__result-label { margin: 0; color: #6b6b6b; }
.level-test__level { margin: 4px 0; font-size: 48px; font-weight: 700; line-height: 1.1; color: var(--lt-accent); }
.level-test__score { margin: 0 0 12px; font-weight: 600; }
.level-test__caveat { font-size: 14px; color: #6b6b6b; }
.level-test__result .wa-cta { margin: 20px 0; }
.level-test [hidden], .level-test__result[hidden], .level-test[hidden] { display: none !important; }

@media (max-width: 575px) {
    .level-test, .level-test__result { padding: 16px; }
    .level-test__q fieldset { padding: 12px; }
    .level-test__q label { display: flex; margin-right: 0; }
    .level-test__submit { width: 100%; }
}
