#mode-toggle {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 1rem 0 0.5rem;
    flex-wrap: wrap;
}

.mode-btn {
    padding: 6px 16px;
    border: 2px solid #dee2e6;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.2s;
}

.mode-btn:hover {
    border-color: #6153cc;
    color: #6153cc;
}

.mode-btn.active {
    background: #6153cc;
    border-color: #6153cc;
    color: white;
}

#prompt-display {
    text-align: center;
    margin: 2rem 0 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#question-prompt {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #495057;
}

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

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

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

#text-answer-input {
    width: 200px;
    font-weight: normal;
}

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

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

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

.choice-btn {
    padding: 12px 24px;
    font-size: 1.05rem;
    min-width: 100px;
}

.choice-btn.correct-choice {
    background-color: #28a745;
    color: white;
}

.choice-btn.incorrect-choice {
    background-color: #dc3545;
    color: white;
}

.choice-btn:disabled {
    opacity: 0.7;
}
