
    body {
        font-family: Arial, sans-serif;
        background-color: #F5E6FF; /* لون الخلفية مشتق من Light Violet */
        color: #333;
        text-align: center;
        padding: 10px;
        margin: 0;
    }

    .container {
        max-width: 100%;
        margin: 0 auto;
        background: #FFF5FF; /* خلفية فاتحة */
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }

.floating-back-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #CF9FFF;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
}



.floating-back-button:hover {
    background-color: #A67FFF;
}


    h1, h2 {
        color: #000 !important; /* العناوين باللون الأسود */
        font-weight: bold;
        font-size: 1.8em;
    }

    button {
        display: block;
        width: 100%;
        margin: 10px 0;
        padding: 12px;
        font-size: 1em;
        background-color: #CF9FFF; /* Light Violet */
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
    }

    button:hover {
        background-color: #A67FFF; /* Violet أغمق قليلاً */
    }

    .hidden {
        display: none;
    }

    .back-button {
        background-color: #9B59B6; /* Violet */
    }

    .back-button:hover {
        background-color: #6C3483; /* Violet أغمق */
    }

    .option {
        text-align: left;
        padding: 15px;
        margin: 5px 0;
        background-color: #F5E6FF; /* خلفية فاتحة */
        border: 1px solid #CF9FFF; /* Violet */
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
        color: #000 !important; /* لون النص أسود */
        font-size: 1.1em;
    }

   .option:hover {
    background-color: #ddd;
}

.option.correct {
    background-color: #28a745; /* أخضر للإجابة الصحيحة */
    color: white;
}

.option.incorrect {
    background-color: #dc3545; /* أحمر للإجابة الخاطئة */
    color: white;
}
    .small-button {
        font-size: 1.2em;
        padding: 10px;
        background-color: #CF9FFF; /* Light Violet */
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
    }

    .small-button:hover {
        background-color: #A67FFF; /* Violet أغمق قليلاً */
    }

    .progress-container {
        width: 100%;
        background-color: #E3BFFF; /* خلفية شريط التقدم */
        border-radius: 5px;
        margin-bottom: 20px;
        height: 25px;
        position: relative;
    }

    .progress-bar {
        height: 100%;
        background-color: #9B59B6; /* اللون الرئيسي لشريط التقدم */
        width: 0%;
        border-radius: 5px;
        text-align: center;
        color: white;
        line-height: 25px;
        font-weight: bold;
        font-size: 1em;
    }
    .essay-answer {
  /* إذا كنت تستخدم خلفية فاتحة */
  background: #e6f9e6;
  /* أو فقط لون الخط */
  color: #2e7d32;
  padding: 0.6em;
  border-radius: 4px;
  margin: 0.5em 0 1em 1em;
}

#english-only-buttons {
  display: none;
}

/* تظهر الإجابة فقط عند إضافة الصنف visible */
.essay-answer.visible {
  display: block; /* أو inline-block */
}

    /* استجابة للتصميم عند الأجهزة الصغيرة */
    @media (max-width: 768px) {
        .container {
            padding: 15px;
        }

        button {
            font-size: 1em;
            padding: 10px;
        }

        h1, h2 {
            font-size: 1.5em;
        }

        .option {
            font-size: 1em;
            padding: 10px;
        }

        .small-button {
            font-size: 1em;
            padding: 8px;
        }
    }
