body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 800px;
    text-align: center;
}

h1, h2 {
    color: #fff;
}

.question-block {
    background-color: #444;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: left;
}

.question-block p {
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.options label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    background-color: #555;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.options label:hover {
    background-color: #777;
}

.options input[type="radio"] {
    margin-right: 10px;
}

button {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s, color 0.2s;
}

button:hover {
    background-color: #ccc;
}

.hidden {
    display: none;
}

#results-container {
    margin-top: 30px;
    background-color: #444;
    padding: 20px;
    border-radius: 8px;
}

#results-container p {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
}

.answer-item {
    background-color: #555;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: left;
}

.answer-item p {
    margin-bottom: 5px;
    font-weight: normal;
    color: #fff;
}

.correct {
    background-color: #008000;
    color: #fff;
}

.incorrect {
    background-color: #ff0000;
    color: #fff;
}

/* المؤقت في الأعلى يمين الصفحة */
#timer-container {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #222;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    z-index: 999;
}
