/* Past Continuous - CSS separat, izolat de lectiile vechi */

.pc-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.22);
    cursor: pointer;
}

.pc-card {
    min-height: 74px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    align-items: center;
}

.pc-question-card {
    background: #eff6ff;
}

.pc-answer-card {
    background: #f0fdf4;
}

.pc-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}

.pc-text {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

.pc-speak-btn {
    width: 48px;
    min-width: 48px;
    border: 0;
    border-radius: 18px;
    background: #fef3c7;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    font-size: 1.25rem;
}

.pc-translation-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(4px);
}

.pc-translation-layer.is-visible {
    display: flex;
}

.pc-translation-box {
    width: min(560px, 94vw);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.25);
    overflow: hidden;
}

.pc-translation-head {
    padding: 16px 20px;
    font-weight: 900;
    color: #0f172a;
    background: #fef3c7;
}

.pc-translation-body {
    padding: 20px;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #1e293b;
}

.pc-translation-body strong {
    color: #0f172a;
}

.pc-translation-close {
    width: 100%;
    border: 0;
    padding: 14px 18px;
    background: #e0f2fe;
    color: #0f172a;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 760px) {
    .pc-row {
        grid-template-columns: 1fr;
    }

    .pc-speak-btn {
        width: 100%;
        min-height: 48px;
    }
}

/* Ajustare Lecția 84 - rând compact, font mai mare */
.pc-row {
    gap: 12px;
    padding: 12px;
}

.pc-label {
    display: none;
}

.pc-card {
    min-height: 58px;
    padding: 12px 16px;
}

.pc-text {
    font-size: 1.22rem;
    line-height: 1.25;
    white-space: nowrap;
}

.pc-speak-btn {
    min-height: 58px;
}

@media (max-width: 760px) {
    .pc-text {
        white-space: normal;
    }
}

/* Past Continuous - alegere was/were */
.pc-choice-row {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.55fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.22);
    cursor: pointer;
}

.pc-choice-sentence,
.pc-choice-options {
    min-height: 58px;
    padding: 12px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    align-items: center;
}

.pc-choice-sentence {
    font-size: 1.24rem;
    font-weight: 850;
    color: #0f172a;
    white-space: nowrap;
}

.pc-choice-options {
    justify-content: center;
    gap: 10px;
    background: #eff6ff;
}

.pc-blank {
    display: inline-flex;
    min-width: 76px;
    justify-content: center;
    padding: 3px 12px;
    border-radius: 12px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 950;
}

.pc-blank.is-filled {
    background: #dcfce7;
    color: #166534;
}

.pc-option-btn {
    border: 0;
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 1.1rem;
    font-weight: 950;
    background: #dbeafe;
    color: #1e3a8a;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.pc-option-btn.is-correct {
    background: #bbf7d0;
    color: #166534;
}

.pc-option-btn.is-wrong {
    background: #fecaca;
    color: #991b1b;
}

@media (max-width: 760px) {
    .pc-choice-row {
        grid-template-columns: 1fr;
    }

    .pc-choice-sentence {
        white-space: normal;
    }
}

