#equation-display {
    text-align: center;
    margin: 2rem 0 1.5rem;
}

.equation-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.eq-var {
    padding: 8px 14px;
    min-width: 80px;
    text-align: center;
    font-family: 'Georgia', serif;
}

.eq-var.blank {
    background: #f0eeff;
    border: 2px dashed #6153cc;
    border-radius: 5px;
    color: #6153cc;
    font-weight: bold;
}

.eq-var.given {
    color: #333;
}

.eq-times, .eq-equals {
    font-size: 1.3rem;
    color: #6c757d;
}

#primary-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

#solve-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: #495057;
}

#answer-input {
    width: 100px;
    height: 44px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid #dee2e6;
    border-radius: 5px;
}

#answer-input:focus {
    outline: none;
    border-color: #6153cc;
}

#answer-units {
    font-size: 1rem;
    color: #6c757d;
}

/* Remove spinner arrows */
#answer-input::-webkit-outer-spin-button,
#answer-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#answer-input {
    -moz-appearance: textfield;
}
