body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    transition: background-color 0.3s, color 0.3s;
}

.quiz-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 90%;
    max-width: 600px;
    margin: 30px auto;
    margin-top: 160px;
    transition: background-color 0.3s, color 0.3s;
}

.logo-image {
    display: block;
    width: 100px;
    margin: 20px auto 10px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2rem;
    margin: 0;
    color: #333;
}

button {
    background-color: #007bff;
    border: none;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    margin: 4px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

#question-container {
    margin-bottom: 20px;
}

.option {
    margin: 10px 0;
}

.option input[type="radio"] {
    margin-right: 10px;
}

.option label {
    font-size: 1rem;
}

.correct {
    color: #28a745;
    font-weight: bold;
}

.incorrect {
    color: #dc3545;
    font-weight: bold;
}

.correct:before {
    content: '✔️ ';
}

.incorrect:before {
    content: '❌ ';
}

/* Dark Mode Styles */
body[data-theme='dark'] {
    background-color: #121212;
    color: #e0e0e0;
}

.quiz-container[data-theme='dark'] {
    background: #1e1e1e;
    color: #e0e0e0;
}

header button {
    background-color: #444;
}

header button:hover {
    background-color: #666;
}

.loading {
    text-align: center;
    font-size: 1.5rem;
    color: #007bff;
    padding: 20px;
}

button.submit {
    background-color: #28a745;
}

button.submit:hover {
    background-color: #218838;
}

button.next {
    background-color: #007bff;
}

button.next:hover {
    background-color: #0056b3;
}

.header {
    width: 100%;
    background-color: #5b5a5a;
    padding: 10px;
    display: flex;
    color: white;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.logo-image {
    width: 100px;
    margin-right: 20px;
}
