/* === إعدادات عامة === */
body {
    background-color: #ffeeed;
    font-family: 'El Messiri';
    font-weight: bold;
}

body, select, option, button {
    font-family: 'El Messiri', sans-serif;
    font-weight: bold;
}

/* === حقول الإدخال === */
input.masaha {
    font-size: 14pt;
    line-height: 1.5em;
    width: 150px;
    border-radius: 7px;
}

/* === عناصر محددة === */
#demo, #demo1, #demo2 {
    font-weight: bold;
    color: #e58660;
}

button.t1 {
    display: inline-block;
    border-radius: 4px;
    background-color: #e58660;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 8px;
    width: 20%;
    transition: all 0.5s;
    margin: 0px;
}

mark {
    background-color: #f7fc82;
    padding: 0px 15px;
}

/* === fieldset === */
fieldset {
    border-radius: 10px;
    border: 2px solid black;
}

/* === تخصيص مربعات الراديو === */
.custom-checkbox {
    display: inline-flex;       /* ترتيب المربع والكلمة في صف واحد */
    align-items: center;        /* محاذاة رأسية وسط المربع والكلمة */
    margin-right: 20px;         /* مسافة بين الخيارات */
    cursor: pointer;
    position: relative;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* شكل المربع */
.custom-checkbox .checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #FFF;
    border: 2px solid #e58660;
    border-radius: 5px;
    margin-right: 8px;           /* مسافة بين المربع والكلمة */
    box-shadow: inset 1px 1px 1px #CCC;
}

/* علامة الصح داخل المربع */
.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #e58660;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* إظهار علامة الصح عند الاختيار */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* تغيير لون المربع عند الاختيار */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #febca2;
    border-color: #e58660;
}

/* الكلمة بجانب المربع */
.custom-checkbox .checkmark1 {
    font-size: 18px;
    color: #333;
    white-space: nowrap;
}

/* === نصوص خاصة === */
p.tashteb {
    color: #e58660;
    font-size: 20px;
}