/* Lesson 6 Specific Styles */

.equation-group {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 600;
}

.eq-input {
    width: 60px;
    height: 60px;
    border: 3px solid #ccc;
    border-radius: 8px;
    font-size: 2.5rem;
    font-family: inherit;
    font-weight: 600;
    text-align: center;
    outline: none;
    transition: all 0.3s;
    background: transparent;
}

.eq-input:focus {
    border-color: #ff9500;
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.3);
}

.eq-input.correct {
    border-color: #34c759;
    background-color: rgba(52, 199, 89, 0.1);
}

.eq-input.wrong {
    border-color: #ff3b30;
    background-color: rgba(255, 59, 48, 0.1);
    animation: shake 0.4s;
}

/* Row layout specifically for Lesson 6 */
.practice-row-l6 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 2px dashed #eee;
}

.practice-row-l6:last-child {
    border-bottom: none;
}

.l6-top-half {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.l6-bottom-half {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .l6-top-half {
        flex-direction: column;
        gap: 30px;
    }
    .equation-group {
        font-size: 2rem;
    }
}
