.dtsa2-question {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    scroll-margin-top: 130px;
}

.dtsa2-question ul {
    list-style: none;
    padding: 0;
}

.dtsa2-option {

    width: 100%;
    text-align: left;

    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;

    background: white;
    color: #222;

    cursor: pointer;

    transition: 0.2s;
}

.dtsa2-option:hover {
    background: #f3f3f3;
}

.dtsa2-option.selected:not(.correct):not(.incorrect) {

    background: #2563eb;
    border-color: #1d4ed8;
    color: white;

}
#dtsa2-correct-btn {

    padding: 14px 20px;

    background: #0f766e;
    color: white;

    border: none;
    border-radius: 10px;

    cursor: pointer;

    font-size: 16px;
    font-weight: bold;

    margin-top: 20px;
}

#dtsa2-correct-btn:hover {
    background: #115e59;
}

.dtsa2-option:focus-visible,
.dtsa2-option:focus:not(.selected):not(.correct):not(.incorrect) {
    outline: none !important;
    box-shadow: none !important;
    background: #fff;
    border-color: #cbd5e1;
    color: #222;
}

.dtsa2-option.correct {

    background: #16a34a;
    border-color: #15803d;
    color: white;

}

.dtsa2-option.incorrect {

    background: #dc2626;
    border-color: #b91c1c;
    color: white;

}

#dtsa2-results {

    margin-top: 30px;

    font-size: 22px;
    font-weight: bold;

}
.dtsa2-option:disabled {

    cursor: default;

}
.dtsa2-actions {

    display: flex;
    gap: 15px;

    margin-top: 20px;

}

#dtsa2-reload-btn {

    padding: 14px 20px;

    background: #2563eb;
    color: white;

    border: none;
    border-radius: 10px;

    cursor: pointer;

    font-size: 16px;
    font-weight: bold;

}

#dtsa2-reload-btn:hover {
    background: #1d4ed8;
}
.dtsa2-explanation {

    display: none;

    margin-top: 15px;
    padding: 15px;

    background: #f3f4f6;

    border-left: 4px solid #2563eb;

    border-radius: 8px;

    line-height: 1.5;

}
.dtsa2-option.unanswered-correct {

    background: #facc15;
    border-color: #eab308;
    color: #111827;

}
.dtsa2-topbar {

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 30px;

    flex-wrap: wrap;

}

.dtsa2-amount-selector {

    display: flex;
    gap: 10px;

    flex-wrap: wrap;

}

.dtsa2-amount-btn {

    display: inline-block !important;

    padding: 10px 18px !important;

    border: none !important;
    border-radius: 10px !important;

    background: #334155 !important;

    color: #e5e7eb !important;

    cursor: pointer !important;

    font-weight: 600 !important;

    transition: all 0.2s ease !important;

    opacity: 0.72;

}

/* 10 preguntas */





/* 20 preguntas */



/* 40 preguntas */



.dtsa2-amount-btn:hover {

    background: #f3f4f6;

}
.dtsa2-topbar h2 {

    color: #1e293b;

    margin: 0;

    font-size: 32px;

}
.dtsa2-amount-btn.active {

    opacity: 1;

    background: #1d4ed8 !important;

    border-bottom: 4px solid #14b8a6 !important;

    color: white !important;

}
/* =========================
   CENTRO DE TESTS
========================= */

.dtsa2-center {

    max-width: 1000px;

    margin: 50px auto;

    padding: 30px;

}

.dtsa2-center-header {

    text-align: center;

    margin-bottom: 40px;

}

.dtsa2-center-header h1 {

    font-size: 42px;

    color: #1e293b;

    margin-bottom: 15px;

}

.dtsa2-center-header p {

    font-size: 18px;

    color: #64748b;

    max-width: 700px;

    margin: 0 auto;

    line-height: 1.6;

}

/* GRID TEMAS */

.dtsa2-topic-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    margin-bottom: 40px;

}

.dtsa2-topic-card {

    background: white;

    border-radius: 18px;

    padding: 30px 20px;

    text-align: center;

    cursor: pointer;

    border: 2px solid transparent;

    box-shadow: 0 4px 14px rgba(0,0,0,0.06);

    transition: all 0.2s ease;

}

.dtsa2-topic-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 8px 24px rgba(0,0,0,0.10);

}

.dtsa2-topic-card span {

    font-size: 42px;

    display: block;

    margin-bottom: 15px;

}

.dtsa2-topic-card h3 {

    font-size: 20px;

    color: #1e293b;

    margin: 0;

}

/* TARJETA ACTIVA */

.dtsa2-topic-card.active {

    border: 3px solid #14b8a6;

    background: #dffaf5;

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(20,184,166,0.25);

}

/* PARTE INFERIOR */

.dtsa2-center-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

}

/* BOTONES CANTIDAD */

.dtsa2-center-amounts {

    display: flex;

    gap: 12px;

}

.dtsa2-center-amount {

    padding: 12px 18px;

    border: none;

    border-radius: 10px;

    background: #334155;

    color: white;

    font-weight: bold;

    cursor: pointer;

    opacity: 0.7;

    transition: 0.2s;

}

.dtsa2-center-amount.active {

    opacity: 1;

    background: #1d4ed8;

    border-bottom: 4px solid #14b8a6;

}

/* BOTON PRINCIPAL */

#dtsa2-start-test {

    padding: 16px 28px;

    border: none;

    border-radius: 14px;

    background: #111827;

    color: white;

    font-size: 17px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;

}

#dtsa2-start-test:hover {

    background: #1f2937;

    transform: translateY(-2px);

}

/* RESPONSIVE */

@media (max-width: 768px) {

    .dtsa2-center {

        padding: 20px;

    }

    .dtsa2-center-header h1 {

        font-size: 34px;

    }

    .dtsa2-center-bottom {

        flex-direction: column;

        align-items: stretch;

    }

    #dtsa2-start-test {

        width: 100%;

    }

    .dtsa2-center-amounts {

        width: 100%;

        justify-content: center;

    }

}

/* =========================
   VERSIÓN A2 2.0
========================= */

#dtsa2-app,
.dtsa2-center {
    color: #1e293b;
}

.dtsa2-center {
    max-width: 1040px;
    margin: 0 auto 50px;
    padding: 10px 0 0;
}

.dtsa2-topic-prompt {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin: 0 0 18px;
    padding: 13px 18px;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #1d4ed8;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    color: #334155;
}

.dtsa2-topic-prompt-label {
    flex-basis: 100%;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dtsa2-topic-prompt strong {
    color: #0f172a;
    font-size: 16px;
}

.dtsa2-topic-prompt > span:last-child {
    color: #475569;
    font-size: 14px;
}

.dtsa2-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 28px;
}

.dtsa2-topic-card {
    min-height: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #dbe4ee;
    outline: none;
}

.dtsa2-topic-card:focus-visible {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22);
}

.dtsa2-topic-card .dtsa2-topic-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 18px;
    background: #eff6ff;
    font-size: 34px;
    line-height: 1;
}

.dtsa2-topic-card.active {
    border: 3px solid #0f766e;
    background: #ecfdf5;
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.18);
}

.dtsa2-topic-card.active .dtsa2-topic-icon {
    background: #ccfbf1;
}

.dtsa2-difficulty-block {
    margin: 0 0 28px;
    padding: 22px;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    background: #f8fafc;
}

.dtsa2-field-label {
    display: block;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
}

.dtsa2-difficulty-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dtsa2-difficulty-btn {
    min-height: 48px;
    padding: 11px 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    opacity: 0.64;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.dtsa2-difficulty-btn:hover,
.dtsa2-difficulty-btn.active {
    opacity: 1;
    transform: translateY(-2px);
}

.dtsa2-difficulty-btn.active {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--difficulty-color);
}

.dtsa2-difficulty-btn.is-easy {
    --difficulty-color: #16845b;
    background: var(--difficulty-color);
    color: #fff;
}

.dtsa2-difficulty-btn.is-medium {
    --difficulty-color: #b96808;
    background: var(--difficulty-color);
    color: #fff;
}

.dtsa2-difficulty-btn.is-hard {
    --difficulty-color: #b42318;
    background: var(--difficulty-color);
    color: #fff;
}

.dtsa2-difficulty-btn.is-mixed {
    --difficulty-color: #1d4ed8;
    background: var(--difficulty-color);
    color: #fff;
}

.dtsa2-center-bottom {
    padding: 20px 22px;
    border-radius: 18px;
    background: #0f2742;
}

.dtsa2-center-amount {
    background: #dbeafe;
    color: #17365d;
    opacity: 0.72;
}

.dtsa2-center-amount.active {
    background: #fff;
    color: #17365d;
    border-bottom: 4px solid #14b8a6;
}

#dtsa2-start-test {
    min-width: 190px;
    background: #f59e0b;
    color: #172033;
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.24);
}

#dtsa2-start-test:hover {
    background: #fbbf24;
}

.dtsa2-test-heading {
    flex: 1 1 280px;
    text-align: center;
}

.dtsa2-test-heading h2 {
    margin: 0 0 6px;
}

.dtsa2-test-heading p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.dtsa2-question {
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
}

.dtsa2-question h3 {
    color: #172033;
    font-size: 19px;
    line-height: 1.5;
}

.dtsa2-option {
    min-height: 50px;
    border-color: #cbd5e1;
    line-height: 1.45;
}

.dtsa2-option:hover:not(:disabled) {
    border-color: #2563eb;
    background: #eff6ff;
}

.dtsa2-explanation {
    background: #fffbeb;
    border-left-color: #f59e0b;
    color: #713f12;
}

.dtsa2-explanation strong,
.dtsa2-explanation span {
    display: block;
}

.dtsa2-explanation strong {
    margin-bottom: 7px;
}

.dtsa2-result-card {
    border: 1px solid #dbe4ee;
    overflow: hidden;
}

.dtsa2-result-card.result-below {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.dtsa2-result-card.result-recommended {
    background: #fffbeb;
    border-color: #fde68a;
}

.dtsa2-result-card.result-mastered {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.dtsa2-result-card.result-perfect {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.dtsa2-result-message {
    max-width: 650px;
    margin: 0 auto 22px;
    color: #475569;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
}

.dtsa2-result-progress {
    width: min(520px, 100%);
    height: 12px;
    margin: 18px auto 26px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.28);
}

.dtsa2-result-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
}

.result-below .dtsa2-result-progress span {
    background: #2563eb;
}

.result-recommended .dtsa2-result-progress span {
    background: #d97706;
}

.result-perfect .dtsa2-result-progress span {
    background: #059669;
}

.dtsa2-breakdown-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    text-align: left;
}

.dtsa2-breakdown-section h3 {
    margin: 0 0 16px;
    color: #172033;
    font-size: 20px;
    text-align: center;
}

.dtsa2-breakdown-section > p {
    margin: -7px 0 18px;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.dtsa2-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dtsa2-breakdown-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 14px;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
}

.dtsa2-breakdown-icon {
    flex: 0 0 auto;
    font-size: 29px;
}

.dtsa2-breakdown-card strong,
.dtsa2-breakdown-card span:not(.dtsa2-breakdown-icon) {
    display: block;
}

.dtsa2-breakdown-card strong {
    margin-bottom: 4px;
    color: #172033;
    font-size: 15px;
}

.dtsa2-breakdown-card span:not(.dtsa2-breakdown-icon) {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.dtsa2-result-btn {
    text-decoration: none;
}

.dtsa2-error {
    padding: 18px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff7f7;
    color: #991b1b;
    font-weight: 700;
}

@media (max-width: 800px) {
    .dtsa2-center {
        padding: 0;
    }

    .dtsa2-topic-grid,
    .dtsa2-breakdown-grid {
        grid-template-columns: 1fr;
    }

    .dtsa2-topic-card {
        min-height: 138px;
    }

    .dtsa2-difficulty-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dtsa2-center-bottom {
        padding: 18px;
    }

    .dtsa2-topbar {
        align-items: stretch;
    }

    .dtsa2-test-heading {
        order: -1;
        flex-basis: 100%;
    }

    .dtsa2-amount-selector,
    .dtsa2-amount-btn,
    .dtsa2-back-btn {
        width: 100%;
    }

    .dtsa2-amount-btn {
        text-align: center;
    }

    .dtsa2-question {
        padding: 17px;
    }

    .dtsa2-actions {
        flex-direction: column;
    }

    #dtsa2-correct-btn,
    #dtsa2-reload-btn {
        width: 100%;
    }

    .dtsa2-result-card {
        padding: 25px 18px;
    }
}
/* =========================
   RESULTADOS TEST
========================= */

.dtsa2-result-card {

    margin-top: 40px;

    padding: 35px;

    border-radius: 22px;

    background: white;

    box-shadow: 0 8px 28px rgba(0,0,0,0.08);

    text-align: center;

}

.dtsa2-result-status {

    font-size: 28px;

    font-weight: 800;

    margin-bottom: 18px;

}

.dtsa2-result-status.pass {

    color: #16a34a;

}

.dtsa2-result-status.fail {

    color: #dc2626;

}

.dtsa2-result-score {

    font-size: 42px;

    font-weight: bold;

    color: #1e293b;

    margin-bottom: 12px;

}

.dtsa2-result-percent {

    font-size: 24px;

    color: #64748b;

}
.dtsa2-perfect-message {

    margin-top: 25px;

    padding: 18px;

    border-radius: 14px;

    background: #ecfeff;

    color: #0f766e;

    font-size: 18px;

    font-weight: 700;

}
.dtsa2-result-actions {

    display: flex;

    gap: 15px;

    justify-content: center;

    flex-wrap: wrap;

    margin-top: 30px;

}

.dtsa2-result-btn {

    padding: 14px 22px;

    border: none;

    border-radius: 12px;

    background: #1d4ed8;

    color: white;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;

}

.dtsa2-result-btn:hover {

    transform: translateY(-2px);

}

.dtsa2-result-btn.secondary {

    background: #334155;

}
/* =========================
   TEMPORIZADOR
========================= */

#dtsa2-timer {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 18px;

    border-radius: 12px;

    background: #111827;

    color: white;

    font-size: 20px;

    font-weight: bold;

    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  
}
#dtsa2-timer.warning {

    background: #f59e0b;

}

#dtsa2-timer.danger {

    background: #dc2626;

}
.dtsa2-simulacro-title {

    font-size: 26px;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 20px;

}
.dtsa2-back-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 18px;

    margin-bottom: 20px;

    border-radius: 12px;

    background: #334155;

    color: white;

    font-weight: 600;

    text-decoration: none;

    transition: 0.2s;

}

.dtsa2-back-btn:hover {

    background: #1e293b;

    transform: translateY(-1px);

}
.dtsa2-start-sim-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 26px;

    margin-top: 25px;

    border-radius: 14px;

    background: #dc2626;

    color: white;

    font-size: 18px;

    font-weight: 700;

    text-decoration: none;

    transition: 0.2s;

}

.dtsa2-start-sim-btn:hover {

    background: #b91c1c;

    transform: translateY(-2px);

}
.dtsa2-practice-note {

    margin-top: 18px;

    padding: 14px 18px;

    border-radius: 12px;

    background: #eff6ff;

    color: #1e3a8a;

    font-size: 15px;

    line-height: 1.5;

    font-weight: 500;

}

/* =========================
   VERSIÓN A2 2.1
========================= */

.dtsa2-result-card.result-below {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.result-below .dtsa2-result-progress span {
    background: #2563eb;
}

.dtsa2-answer-status {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    margin: 0 0 18px;
    pointer-events: none;
}

#dtsa2-answer-progress {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1e3a8a;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.1);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

#dtsa2-answer-progress:hover:not(:disabled),
#dtsa2-answer-progress:focus-visible {
    background: #dbeafe;
    border-color: #60a5fa;
    transform: translateY(-1px);
}

#dtsa2-answer-progress.is-complete {
    border-color: #86efac;
    background: #ecfdf5;
    color: #166534;
}

#dtsa2-answer-progress:disabled {
    cursor: default;
    opacity: 0.76;
}

.dtsa2-simulator-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 18px;
    padding: 15px 18px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #eff6ff;
}

.dtsa2-simulator-meta p {
    max-width: 700px;
    margin: 0;
    color: #1e3a8a;
    font-size: 14px;
    line-height: 1.5;
}

.dtsa2-aesa-reference {
    margin: 16px 0;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.dtsa2-aesa-reference.is-reached {
    color: #166534;
    background: #dcfce7;
}

.dtsa2-aesa-reference.is-not-reached {
    color: #7f1d1d;
    background: #fee2e2;
}

.dtsa2-simulator-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px auto 0;
    padding: 16px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 15px;
    background: #f8fafc;
    text-align: left;
}

.dtsa2-simulator-cta.is-ready {
    border-color: #93c5fd;
    background: #eff6ff;
}

.dtsa2-simulator-cta-icon {
    flex: 0 0 auto;
    font-size: 30px;
}

.dtsa2-simulator-cta strong,
.dtsa2-simulator-cta span:not(.dtsa2-simulator-cta-icon) {
    display: block;
}

.dtsa2-simulator-cta-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 10px;
    padding: 7px 13px;
    border: 1px solid #1d4ed8;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dtsa2-simulator-cta-link:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
}

.dtsa2-review-mistakes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px auto 0;
    padding: 16px 18px;
    border: 1px solid #a7f3d0;
    border-radius: 15px;
    background: #ecfdf5;
    text-align: left;
}

.dtsa2-review-mistakes-copy strong,
.dtsa2-review-mistakes-copy span {
    display: block;
}

.dtsa2-review-mistakes-copy strong {
    color: #065f46;
    font-size: 16px;
}

.dtsa2-review-mistakes-copy span {
    margin-top: 3px;
    color: #047857;
    font-size: 14px;
    line-height: 1.45;
}

.dtsa2-review-mistakes-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 9px;
    background: #047857;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.dtsa2-review-mistakes-link:hover {
    background: #065f46;
    color: #fff;
}

.dtsa2-simulator-cta strong {
    margin-bottom: 3px;
    color: #172033;
    font-size: 16px;
}

.dtsa2-simulator-cta span:not(.dtsa2-simulator-cta-icon) {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.dtsa2-result-btn.simulator {
    background: #b45309;
}

.dtsa2-result-btn.simulator:hover {
    background: #92400e;
}

.dtsa2-result-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 2px solid #2563eb;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dtsa2-result-link:hover {
    background: #dbeafe;
    color: #1e40af;
    transform: translateY(-1px);
}

body.dtsa2-dialog-open {
    overflow: hidden;
}

.dtsa2-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.64);
}

.dtsa2-dialog {
    width: min(520px, 100%);
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.34);
    color: #1e293b;
    text-align: center;
}

.dtsa2-dialog-icon {
    margin-bottom: 10px;
    font-size: 38px;
}

.dtsa2-dialog h3 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 24px;
}

.dtsa2-dialog p {
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.55;
}

.dtsa2-dialog-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.dtsa2-dialog-actions button {
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 11px;
    background: #1d4ed8;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.dtsa2-dialog-actions button.secondary {
    background: #e2e8f0;
    color: #334155;
}

@media (max-width: 600px) {
    .dtsa2-answer-status {
        top: 8px;
        justify-content: center;
    }

    .dtsa2-simulator-meta,
    .dtsa2-simulator-cta,
    .dtsa2-review-mistakes {
        align-items: flex-start;
    }

    .dtsa2-simulator-meta {
        flex-direction: column;
    }

    .dtsa2-dialog {
        padding: 24px 18px;
    }

    .dtsa2-dialog-actions,
    .dtsa2-dialog-actions button {
        width: 100%;
    }

    .dtsa2-review-mistakes {
        flex-direction: column;
    }

    .dtsa2-review-mistakes-link {
        width: 100%;
        text-align: center;
    }
}
.dtsa2-course-navigation {

    margin-top: 60px;

    padding: 35px 25px;

    border-radius: 20px;

    background: #f8fafc;

    text-align: center;

}

.dtsa2-course-navigation h3 {

    margin-bottom: 25px;

    font-size: 24px;

}

.dtsa2-course-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 15px;

    margin-bottom: 30px;

}

.dtsa2-course-grid a {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 14px 18px;

    border-radius: 12px;

    background: white;

    border: 1px solid #e2e8f0;

    color: #1e293b;

    text-decoration: none;

    font-weight: 600;

    transition: 0.2s;

}

.dtsa2-course-grid a:hover {

    background: #2563eb;

    color: white;

    transform: translateY(-2px);

}

.dtsa2-course-tests-link a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 24px;

    border-radius: 12px;

    background: #2563eb;

    color: white;

    font-weight: 700;

    text-decoration: none;

}

.dtsa2-course-tests-link a:hover {

    background: #1d4ed8;

}
.dtsa2-timer-wrapper {

    position: fixed;

    top: 200px;

    right: 20px;

    z-index: 9999;

}
@media (max-width: 768px) {

    .dtsa2-timer-wrapper {

        top: 80px;

        right: 10px;

    }

}
