.algebra-prompt {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    text-align: center;
    margin: 0.5rem 0 0.8rem;
}

.algebra-display {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0.6rem auto 1rem;
    padding: 0.8rem 1.4rem;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", serif;
    color: #1e293b;
    background: #f1f5f9;
    border: 3px solid #cbd5e1;
    border-radius: 16px;
}

.algebra-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.8rem 0;
}

.algebra-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 5rem;
    min-height: 4.2rem;
    padding: 0.7rem 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", serif;
    color: #1e293b;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.1s ease, border-color 0.1s ease;
}

.algebra-option:hover {
    transform: scale(1.05);
    border-color: #94a3b8;
}

.algebra-hint {
    text-align: left;
}

.algebra-hint p {
    margin: 0.35rem 0;
}
