/* =========================================================================
   Free Trial MCQs — the fourth window of #loginModal.

   It is the LOGIN popup: the card, the brand panel, the labels, the inputs and
   the submit button are all fame-auth.css, unchanged. Only two things have no
   equivalent there and live here — the three-step strip above the form and the
   exam checkbox grid.
   ========================================================================= */

/* ---- "Your details → 20 MCQs → Score + review" -------------------------- */
.fame-trial-how {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.3;
    color: var(--fa-ink-soft, #5b6b86);
}

.fame-trial-how li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* The arrow between steps (not before the first one). */
.fame-trial-how li + li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--fa-blue, #0566e3);
    border-right: 2px solid var(--fa-blue, #0566e3);
    transform: rotate(45deg);
    opacity: .7;
}

/* ---- the exam picker ---------------------------------------------------- */
.fame-trial-exams {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    /* Many exams → the list scrolls inside the form rather than pushing the
       submit button off the card. */
    max-height: 208px;
    overflow-y: auto;
    padding-right: 2px;
}

.fame-trial-exam {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 10px 12px;
    font-size: 14.5px;
    line-height: 1.3;
    font-weight: 500;
    color: var(--fa-ink, #121f3e);
    background: var(--fa-field, #f6f9fd);
    border: 1px solid var(--fa-line, #e3e9f3);
    border-radius: var(--fa-radius, 12px);
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background-color .15s ease;
}

.fame-trial-exam:hover { border-color: #cfd9e9; }

.fame-trial-exam input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--fa-blue, #0566e3);
    cursor: pointer;
}

.fame-trial-exam:has(input:checked) {
    background: #fff;
    border-color: var(--fa-blue, #0566e3);
    box-shadow: 0 0 0 2px rgba(5, 102, 227, .12);
}

.fame-trial-examname {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* How many questions that exam actually has — the honest number, live. */
.fame-trial-examqs {
    flex: 0 0 auto;
    font-size: 12.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--fa-ink-soft, #5b6b86);
}

@media (max-width: 575px) {
    .fame-trial-exams { grid-template-columns: 1fr; max-height: 176px; }
    .fame-trial-how { font-size: 13px; }
}
