/* =========================================================
   TCF CANADA — EXPRESSION ÉCRITE SIMULATOR
   PREMIUM PROFESSIONAL INTERFACE
   ========================================================= */

.tcf-simulator {
    width: 100%;
    max-width: 1080px;
    margin: 35px auto;
    background: #ffffff;
    border: 1px solid #d7e2eb;
    border-radius: 18px;
    box-shadow:
        0 12px 35px rgba(15, 45, 70, 0.08),
        0 2px 8px rgba(15, 45, 70, 0.04);
    overflow: hidden;
    color: #243447;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   HEADER
   ========================================================= */

.tcf-simulator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 25px 32px;
    background: linear-gradient(
        135deg,
        #0b3d62 0%,
        #125b89 55%,
        #1974a8 100%
    );
    color: #ffffff;
}

.tcf-simulator-label {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    opacity: 0.82;
}

.tcf-simulator-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.tcf-simulator-timer {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 17px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap;
}

.tcf-timer-icon {
    font-size: 19px;
}


/* =========================================================
   TASK NAVIGATION
   ========================================================= */

.tcf-task-navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 22px 28px 18px;
    background: #f4f7fa;
    border-bottom: 1px solid #dfe7ee;
}


/* =========================================================
   TASK BUTTONS
   ========================================================= */

.tcf-task-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 74px;
    padding: 12px 18px;
    border: 1px solid #d3dfe8;
    border-radius: 12px;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f8fafc 100%
    );
    color: #40586b !important;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(20, 50, 70, 0.04);
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.tcf-task-button span {
    display: block;
    color: #40586b !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 16px;
    font-weight: 700;
}

.tcf-task-button small {
    display: block;
    color: #788996 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 12px;
    font-weight: 500;
}

.tcf-task-button:hover {
    transform: translateY(-3px);
    border-color: #79afd0;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #eef7fc 100%
    );
    color: #0e5a88 !important;
    box-shadow: 0 7px 18px rgba(18, 91, 137, 0.12);
}

.tcf-task-button:hover span {
    color: #0e5a88 !important;
}

.tcf-task-button:hover small {
    color: #4d7d9b !important;
}


/* =========================================================
   ACTIVE TASK
   ========================================================= */

.tcf-task-button.active {
    border-color: #126695;
    background: linear-gradient(
        135deg,
        #0e5079 0%,
        #1675a8 100%
    );
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(18, 91, 137, 0.25);
    transform: translateY(-2px);
}

.tcf-task-button.active span {
    color: #ffffff !important;
}

.tcf-task-button.active small {
    color: rgba(255,255,255,0.88) !important;
}

.tcf-task-button.active:hover {
    transform: translateY(-3px);
    border-color: #0c4d72;
    background: linear-gradient(
        135deg,
        #0d4b70 0%,
        #146d9d 100%
    );
    box-shadow: 0 9px 22px rgba(18, 91, 137, 0.30);
}

.tcf-task-button.active:hover span,
.tcf-task-button.active:hover small {
    color: #ffffff !important;
}

.tcf-task-button.active::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
    pointer-events: none;
}

.tcf-task-button.active::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 13px;
    height: 13px;
    background: #1675a8;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
}


/* =========================================================
   TASK CONTENT
   ========================================================= */

.tcf-task-content {
    display: none;
    padding: 32px;
}

.tcf-task-content.active {
    display: block;
}


/* =========================================================
   TASK HEADING
   ========================================================= */

.tcf-task-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3eaf0;
}

.tcf-task-number {
    color: #123f60;
    font-size: 21px;
    font-weight: 700;
}

.tcf-task-limit {
    padding: 7px 13px;
    border-radius: 20px;
    background: #eaf4fa;
    color: #14618e;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   INSTRUCTION
   ========================================================= */

.tcf-instruction-box {
    margin-bottom: 20px;
    padding: 20px 22px;
    border: 1px solid #d8e5ee;
    border-left: 4px solid #1675a8;
    border-radius: 10px;
    background: #f8fbfd;
}

.tcf-box-title {
    margin-bottom: 9px;
    color: #123f60;
    font-size: 15px;
    font-weight: 700;
}

.tcf-instruction-box p {
    margin: 6px 0;
    color: #465d6e;
    font-size: 15px;
    line-height: 1.65;
}

.tcf-instruction-box strong {
    color: #123f60;
}


/* =========================================================
   SUBJECT
   ========================================================= */

.tcf-subject-box {
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid #d3e3ed;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        #f4f9fc 0%,
        #edf6fb 100%
    );
}

.tcf-subject-box .tcf-box-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.tcf-subject-box p {
    margin: 0;
    color: #334f63;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   SPECIAL CHARACTERS
   ========================================================= */

.tcf-character-section {
    margin-bottom: 14px;
}

.tcf-character-title {
    margin-bottom: 8px;
    color: #526978;
    font-size: 13px;
    font-weight: 700;
}

.tcf-special-characters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
    border: 1px solid #d7e1e8;
    border-radius: 10px;
    background: #f7f9fb;
}

.tcf-special-characters button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 4px 8px;
    border: 1px solid #c9d6df;
    border-radius: 6px;
    background: #ffffff;
    color: #294355 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.16s ease;
}

.tcf-special-characters button:hover {
    border-color: #4b9ac5;
    background: #e9f5fb;
    color: #0e5a88 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 7px rgba(20,80,110,0.10);
}


/* =========================================================
   WRITING AREA
   ========================================================= */

.tcf-writing-section {
    margin-top: 10px;
}

.tcf-writing-area {
    display: block;
    width: 100%;
    min-height: 320px;
    box-sizing: border-box;
    padding: 18px 20px;
    resize: vertical;
    border: 1px solid #c8d6df;
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: #263f51;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.tcf-writing-area:hover {
    border-color: #a9becd;
}

.tcf-writing-area:focus {
    border-color: #1974a8;
    box-shadow: 0 0 0 3px rgba(25,116,168,0.12);
}

.tcf-writing-area::placeholder {
    color: #98a8b4;
}


/* =========================================================
   WORD COUNTER
   ========================================================= */

.tcf-writing-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 9px;
}

.tcf-word-counter {
    color: #687d8b;
    font-size: 13px;
    font-weight: 600;
}

.tcf-word-count {
    color: #12618f;
    font-weight: 700;
}


/* =========================================================
   PREVIOUS / NEXT BUTTONS
   ========================================================= */

.tcf-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 32px 30px;
    border-top: 1px solid #e3eaf0;
    background: #f8fafc;
}

.tcf-navigation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 150px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #166b99 !important;
    border-radius: 10px !important;
    background: linear-gradient(
        135deg,
        #0e567f 0%,
        #1979ad 100%
    ) !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(18,91,137,0.18);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

#tcf-previous,
#tcf-next {
    border-color: #166b99 !important;
    background: linear-gradient(
        135deg,
        #0e567f 0%,
        #1979ad 100%
    ) !important;
    color: #ffffff !important;
}

#tcf-previous *,
#tcf-next * {
    color: #ffffff !important;
}

#tcf-previous:hover,
#tcf-next:hover {
    transform: translateY(-3px);
    border-color: #0c4c71 !important;
    background: linear-gradient(
        135deg,
        #0b496d 0%,
        #126b99 100%
    ) !important;
    box-shadow: 0 8px 18px rgba(18,91,137,0.25);
}


/* =========================================================
   IMPORTANT:
   ALWAYS SHOW PREVIOUS / NEXT BUTTONS
========================================================= */

#tcf-previous:disabled,
#tcf-next:disabled {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* =========================================================
   SUBMIT AREA
   ========================================================= */

.tcf-submission {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 10px 32px 30px !important;
    text-align: center !important;
}

.tcf-submission .tcf-submit-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 190px !important;
    min-height: 48px !important;
    margin: 0 auto !important;
    padding: 12px 24px !important;
    box-sizing: border-box !important;
    border: 1px solid #166b99 !important;
    border-radius: 10px !important;
    background: linear-gradient(
        135deg,
        #0e567f 0%,
        #1979ad 100%
    ) !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(18,91,137,0.18) !important;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.tcf-submission .tcf-submit-button:hover {
    transform: translateY(-3px) !important;
    background: linear-gradient(
        135deg,
        #0b496d 0%,
        #126b99 100%
    ) !important;
    box-shadow: 0 8px 18px rgba(18,91,137,0.25) !important;
}


/* =========================================================
   RESULTS
   ========================================================= */

.tcf-results {
    width: 100%;
    box-sizing: border-box;
    padding: 35px 32px 40px;
    background: #f8fafc;
}

.tcf-results-header {
    text-align: center;
    margin-bottom: 30px;
}

.tcf-results-label {
    margin-bottom: 7px;
    color: #1675a8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tcf-results-header h2 {
    margin: 0 0 10px;
    color: #123f60;
    font-size: 26px;
    font-weight: 700;
}

.tcf-results-header p {
    margin: 0;
    color: #607586;
    font-size: 15px;
    line-height: 1.6;
}

.tcf-results-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.tcf-result-card {
    padding: 22px;
    border: 1px solid #d7e3eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(20,50,70,0.06);
    text-align: center;
}

.tcf-result-card-title {
    margin-bottom: 12px;
    color: #123f60;
    font-size: 17px;
    font-weight: 700;
}

.tcf-result-card-count {
    margin-bottom: 7px;
    color: #1675a8;
    font-size: 18px;
}

.tcf-result-card-count strong {
    font-size: 25px;
}

.tcf-result-card-count span {
    color: #718391;
    font-size: 13px;
}

.tcf-result-card-range {
    margin-bottom: 12px;
    color: #718391;
    font-size: 12px;
}

.tcf-result-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #e8f6ef;
    color: #16734a;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   RESULTS ANSWERS
   ========================================================= */

.tcf-results-answers {
    max-width: 900px;
    margin: 0 auto;
}

.tcf-results-answers h3 {
    margin: 0 0 18px;
    color: #123f60;
    font-size: 20px;
    font-weight: 700;
}

.tcf-result-answer {
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid #d7e3eb;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 9px rgba(20,50,70,0.04);
}

.tcf-result-answer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 18px;
    border-bottom: 1px solid #e3ebf1;
    background: #f4f8fb;
    color: #123f60;
    font-size: 14px;
    font-weight: 700;
}

.tcf-result-answer-header span:last-child {
    color: #1675a8;
    font-size: 13px;
}

.tcf-result-answer-content {
    min-height: 60px;
    padding: 18px;
    color: #334f63;
    font-size: 15px;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}


/* =========================================================
   RESULTS ACTION
   ========================================================= */

.tcf-results-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}

.tcf-results-actions .tcf-navigation-button {
    min-width: 220px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .tcf-simulator {
        margin: 20px auto;
        border-radius: 12px;
    }

    .tcf-simulator-header {
        padding: 20px;
    }

    .tcf-simulator-title {
        font-size: 21px;
    }

    .tcf-simulator-timer {
        padding: 9px 12px;
        font-size: 18px;
    }

    .tcf-task-navigation {
        gap: 8px;
        padding: 15px;
    }

    .tcf-task-button {
        min-height: 66px;
        padding: 9px 8px;
    }

    .tcf-task-button span {
        font-size: 14px;
    }

    .tcf-task-button small {
        font-size: 11px;
    }

    .tcf-task-content {
        padding: 24px 18px;
    }

    .tcf-writing-area {
        min-height: 280px;
    }

    .tcf-navigation {
        padding: 18px;
    }

    .tcf-results {
        padding: 28px 18px 32px;
    }

    .tcf-results-summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 480px) {

    .tcf-simulator {
        margin: 12px auto;
        border-radius: 10px;
    }

    .tcf-simulator-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .tcf-simulator-title {
        font-size: 20px;
    }

    .tcf-simulator-timer {
        align-self: stretch;
        justify-content: center;
        font-size: 18px;
    }

    .tcf-task-navigation {
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
        padding: 14px 10px 16px;
    }

    .tcf-task-button {
        min-height: 62px;
        padding: 9px 5px;
        border-radius: 10px;
    }

    .tcf-task-button span {
        font-size: 13px;
    }

    .tcf-task-button small {
        font-size: 10px;
    }

    .tcf-task-content {
        padding: 20px 14px;
    }

    .tcf-task-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .tcf-task-number {
        font-size: 19px;
    }

    .tcf-instruction-box,
    .tcf-subject-box {
        padding: 17px;
    }

    .tcf-writing-area {
        min-height: 260px;
        padding: 15px;
        font-size: 16px;
    }

    .tcf-special-characters {
        gap: 5px;
        padding: 10px;
    }

    .tcf-special-characters button {
        min-width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .tcf-navigation {
        gap: 10px;
        padding: 18px 14px 22px;
    }

    .tcf-navigation-button {
        min-width: 0;
        width: 50%;
        min-height: 46px;
        padding: 11px 8px;
        font-size: 13px;
    }

    .tcf-submission {
        padding: 8px 14px 22px !important;
    }

    .tcf-submission .tcf-submit-button {
        min-width: 170px !important;
        min-height: 46px !important;
        font-size: 13px !important;
    }

    .tcf-results {
        padding: 24px 14px 28px;
    }

    .tcf-results-header h2 {
        font-size: 20px;
    }

    .tcf-results-header p {
        font-size: 14px;
    }

    .tcf-result-card {
        padding: 18px;
    }

    .tcf-result-answer-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .tcf-results-actions .tcf-navigation-button {
        width: 100%;
        min-width: 0;
    }
}


/* =========================================================
   PHASE 1 — SCORE / PERCENTAGE / LEVEL / NCLC
   ========================================================= */

.tcf-score-panel {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 35px;
    padding: 28px;
    box-sizing: border-box;
    border: 1px solid #d7e3eb;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f5f9fc 100%
    );
    box-shadow:
        0 5px 16px rgba(20, 50, 70, 0.06),
        0 1px 4px rgba(20, 50, 70, 0.03);
}


/* SCORE HEADER */

.tcf-score-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.tcf-score-panel-title {
    color: #123f60;
    font-size: 18px;
    font-weight: 700;
}

.tcf-score-percentage {
    color: #1675a8;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}


/* PROGRESS BAR */

.tcf-score-progress {
    width: 100%;
    height: 16px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4edf3;
    box-shadow:
        inset 0 1px 3px rgba(20, 50, 70, 0.08);
}

.tcf-score-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #0e567f 0%,
        #1979ad 55%,
        #2b91c3 100%
    );
    box-shadow:
        0 2px 7px rgba(25, 116, 168, 0.25);
    transition: width 1s ease;
}


/* SCORE DETAILS */

.tcf-score-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.tcf-score-detail {
    padding: 17px;
    border: 1px solid #dce6ed;
    border-radius: 11px;
    background: #ffffff;
    text-align: center;
}

.tcf-score-detail-label {
    margin-bottom: 7px;
    color: #718391;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.tcf-score-detail-value {
    color: #123f60;
    font-size: 20px;
    font-weight: 800;
}


/* LEVEL BADGE */

.tcf-estimated-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eaf4fa;
    color: #12618f;
    font-size: 15px;
    font-weight: 800;
}


/* NCLC */

.tcf-estimated-nclc {
    color: #1675a8;
}


/* EXPLANATION */

.tcf-score-note {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #e3ebf1;
    color: #718391;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}


/* =========================================================
   MOBILE SCORE PANEL
   ========================================================= */

@media (max-width: 480px) {

    .tcf-score-panel {
        padding: 20px 16px;
        margin-bottom: 25px;
    }

    .tcf-score-panel-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .tcf-score-percentage {
        font-size: 27px;
    }

    .tcf-score-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tcf-score-progress {
        height: 14px;
    }
}


/* =========================================================
   TCF SIMULATOR — VALIDATION STATES
   ========================================================= */

.tcf-validation-message {
    display: none;
    margin: 20px 0;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid #f0b4b4;
    background: #fff5f5;
    color: #8a1c1c;
    font-size: 15px;
    line-height: 1.6;
}

.tcf-validation-message.show {
    display: block;
}

.tcf-validation-message strong {
    font-weight: 700;
}


/* Word-count states */

.tcf-writing-area.tcf-under-limit {
    border-color: #e0a800 !important;
}

.tcf-writing-area.tcf-over-limit {
    border-color: #dc3545 !important;
}

.tcf-writing-area.tcf-valid-length {
    border-color: #198754 !important;
}


/* Validation error animation */

.tcf-writing-area.tcf-validation-error {
    border-color: #dc3545 !important;
    animation: tcf-validation-shake 0.35s ease-in-out;
}

@keyframes tcf-validation-shake {

    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}


/* Evaluation state */

.tcf-submit-button.tcf-is-evaluating {
    opacity: 0.75;
    cursor: wait;
}


/* Timer states */

.tcf-timer-value.tcf-timer-warning {
    font-weight: 700;
}

.tcf-timer-value.tcf-timer-danger {
    font-weight: 800;
}


/* Results task score */

.tcf-result-card-score {
    margin-top: 10px;
    font-weight: 700;
    font-size: 16px;
}


/* General evaluation */

.tcf-results-general-evaluation {
    margin: 25px 0;
    padding: 22px;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
}

.tcf-results-general-evaluation h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.tcf-general-evaluation-text {
    line-height: 1.7;
}


/* Corrections */

.tcf-corrections-container {
    margin: 18px 0 30px;
}

.tcf-corrections-title {
    margin: 0 0 18px;
}

.tcf-no-corrections {
    padding: 15px;
    border-radius: 8px;
    background: #f7f9fc;
}

.tcf-correction-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.tcf-correction-number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: #e5e7eb;
}

.tcf-correction-content {
    flex: 1;
}

.tcf-correction-block {
    margin-bottom: 12px;
    line-height: 1.6;
}

.tcf-correction-block:last-child {
    margin-bottom: 0;
}

.tcf-correction-block strong {
    display: block;
    margin-bottom: 4px;
}