/* LumorowLMS — CELPIP Speaking Tasks 3 & 4 Styles (extends T1 base) */

/* Image + timer side by side */
.llmsb-ct-image-timer-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
    margin-bottom: 16px;
}

.llmsb-ct-image-wrap {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--llmsb-border);
}

.llmsb-ct-scene-image {
    width: 100%;
    height: auto;
    display: block;
}

/* When image is present, timer box sits beside it */
.llmsb-ct-image-timer-row .llmsb-ct-timer-box {
    margin: 0;
    max-width: none;
    flex-direction: column;
    padding: 28px 20px;
}

/* Recording progress bar (Task 4 style) */
.llmsb-ct-timer-box.speaking .llmsb-ct-timer-label { display: none; }
.llmsb-ct-timer-box.speaking::after {
    content: 'Recording...';
    font-size: 16px;
    font-weight: 700;
    color: var(--llmsb-dark);
}

.llmsb-ct-progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}
.llmsb-ct-progress-fill {
    height: 100%;
    background: var(--llmsb-primary);
    border-radius: 4px;
    transition: width 1s linear;
}

/* Back button */
.llmsb-ct-back-btn {
    background: var(--llmsb-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 12px;
    float: right;
}
.llmsb-ct-back-btn:hover { filter: brightness(.9); }

@media (max-width: 700px) {
    .llmsb-ct-image-timer-row {
        grid-template-columns: 1fr;
    }
    .llmsb-ct-image-timer-row .llmsb-ct-timer-box {
        max-width: 400px;
        margin: 0 auto;
    }
}
