﻿.stop-e {
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.exam-result {
    display: flex;
    gap: 3px;
    margin-top: 40px;
    max-width: 90%;
    width: 100%;
}

    .exam-result div {
        flex: 1 1 0;
        height: 7px;
        border-radius: 11px;
    }


.er_class1 {
    background-color: var(--color-primary);
}

.er_class2 {
    background-color: var(--color-accent);
}

.er_class3 {
    background-color: var(--accent);
}

.disable-dbl-tap-zoom {
    touch-action: manipulation;
}

#chbox input {
    -webkit-appearance: checkbox;
    appearance: auto;
    height: 12px;
    width: 13px;
}


.exam-title {
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-align: center;
}

.exam-stats div {
    font-size: 1.2rem;
    margin: 6px 0;
    display: flex;
    justify-content: flex-start;
    padding: 0 40px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.exam-stats span {
    color: var(--color-text-secondary);
}

.exam-stats .correct {
    color: var(--color-primary);
}

.exam-stats .wrong {
    color: var(--color-primary);
}

.exam-stats .time {
    color: var(--color-primary);
}

.exam-divider {
    margin: 25px 0;
    border: none;
    border-top: 2px dashed var(--color-primary-light);
}

.exam-repeat-title {
    font-size: 1.2rem;
    color: darkolivegreen;
    margin-bottom: 15px;
}

.exam-repeat-list {
    margin-bottom: 15px;
    list-style: none;
    padding: 0;
}

    .exam-repeat-list li {
        font-size: 1.1rem;
        margin: 6px 0;
        background: var(--color-background);
        padding: 8px 12px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

.flex-table-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    text-align: center;
    margin: 30px 0;
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    padding: 12px;
    min-width: 120px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .flex-column:nth-child(odd) {
        background-color: var(--color-background);
    }

    .flex-column:nth-child(even) {
        background-color: var(--color-progress-bg);
    }

    .flex-column h3 {
        font-size: 1.1em;
        color: var(--color-primary);
        margin-bottom: 8px;
        font-weight: 600;
        width: 100%;
    }

    .flex-column div {
        margin: 3px 0;
        font-size: 1em;
        transition: color 0.2s;
    }

    .flex-column:hover {
        transform: translateY(-4px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

        .flex-column:hover div {
            color: #000;
            font-weight: 500;
        }

@media (max-width: 900px) {
    .flex-column {
        min-width: 150px;
        padding: 8px;
    }
}

@media (max-width: 600px) {
    .flex-table-wrapper {
        gap: 10px;
    }

    .flex-column {
        flex: 1 1 calc(50% - 10px);
        min-width: auto;
    }

        .flex-column h3 {
            font-size: 1em;
        }

        .flex-column div {
            font-size: 0.95em;
        }
}

.flex-column .answer {
    color: var(--accent);
    font-weight: 600;
}

.multiplication-steps-demo {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.multiplication-step-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px;
    min-width: 100px;
}

    .multiplication-step-column h5 {
        margin-bottom: 5px;
    }

    .multiplication-step-column div {
        color: red;
        margin: 3px 0;
    }

.multiplication-answer {
    font-weight: bold;
}

.multiplication-steps-demo h4 {
    display: block;
}
