body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.databases input {
    display: block;
    margin: 10px auto;
}

.database-buttons button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.database-buttons button:disabled {
    background-color: #6c757d;
}

.database-buttons button:hover:enabled {
    background-color: #0056b3;
}

.question-panel {
    margin-top: 30px;
}

#questionText {
    font-size: 1.2em;
    margin-bottom: 20px;
}

#answerText {
    font-size: 1em;
    color: green;
    margin-bottom: 20px;
}

#previousQuestionButton, #nextQuestionButton {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

#previousQuestionButton:disabled, #nextQuestionButton:disabled {
    background-color: #6c757d;
}

#questionIndex {
    padding: 5px;
    margin-top: 10px;
}

.progress {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
