/* تنسيق عام */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
}

/* تنسيق القسم الرئيسي */
main {
    padding: 100px 20px 20px; /* بسبب navbar الثابت */
}

/* تنسيق الفورم */
form {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form input, form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    text-align: center;
}

form button {
    width: 100%;
    color: white;
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: #114e35;
}

/* الجداول */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 8px;
    word-wrap: break-word;
}

td, th {
    text-align: center;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

/* الرسائل */
.error {
    color: red;
    margin-bottom: 10px;
}

/* الفوتر */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
}



/* تخصيص شكل قائمة الهاتف داخل الـ Navbar */
.navbar-collapse {
    background: #333 !important; 
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

/* الأزرار داخل القائمة */
.navbar-nav .nav-btn {
    width: 100%;
    margin-bottom: 8px;
    font-size: 16px;
    padding: 10px;
    border-radius: 8px;
}

/* زر الهامبرغر */
.navbar-toggler {
    border-color: #fff;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}
