@import url('https://rsms.me/inter/inter.css');

body, input, button, textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px; /* تغيير حجم الخط */

}
/*توسيط العناوينفي الاعمدة*/
th:nth-child(1), th:nth-child(2), th:nth-child(3), th:nth-child(4), th:nth-child(5),th:nth-child(6) {
text-align: center; /* توسيط العناوين في الأعمدة 1 و 3 و 5 فقط */
}
/*توسيط الاعمدة */
td:nth-child(1), 
td:nth-child(3),
td:nth-child(4),
td:nth-child(5),
td:nth-child(6) {
    text-align: center; /* فقط الأعمدة 2 و 4 و 6 ستكون في المنتصف */
}

/*التحكم في عرض العامود */
th:nth-child(1), td:nth-child(1) { width: 10%; } /* العمود الأول */
th:nth-child(2), td:nth-child(2) { width: 40%; } /* العمود الثاني */
th:nth-child(3), td:nth-child(3) { width: 20%; } /* العمود الثالث */
th:nth-child(4), td:nth-child(4) { width: 10%; } /* العمود الرابع */
th:nth-child(5), td:nth-child(5) { width: 10%; } /* العمود الخامس */
th:nth-child(6), td:nth-child(6) { width: 10%; } /* العمود السادس */




/* 🔹 مؤشر تحميل متطور */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

/* 🔹 تأثير النقاط الثلاث المتحركة */
.spinner {
    display: flex;
    gap: 5px;
}

.spinner div {
    width: 10px;
    height: 10px;
    background-color: #007bff;
    border-radius: 50%;
    animation: bounce 1.5s infinite ease-in-out;
}

.spinner div:nth-child(1) {
    animation-delay: 0s;
}

.spinner div:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner div:nth-child(3) {
    animation-delay: 0.4s;
}

/* 🔹 تأثير التحميل */
@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 🔹 إخفاء المؤشر عند الانتهاء من التحميل */
.hidden {
    display: none;
}



/* 🔹 تصميم عدد نتائج البحث */
.results-container {
    text-align: center;
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    font-weight: bold;
}

/* 🔹 تصميم شريط التنقل بين الصفحات */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
}

/* 🔹 تصميم أزرار التنقل */
.pagination-nav {
    padding: 8px 12px;
    border: 2px solid #3498db;
    background-color: #f8f9fa;
    color: #3498db;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

/* 🔹 تأثير عند تمرير الفأرة */
.pagination-nav:hover {
    background-color: #3498db;
    color: white;
}

/* 🔹 تعطيل الزر عند الحاجة */
.pagination-nav:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 🔹 تصميم حاوية الشعار */
.logo-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

/* 🔹 تنسيق صورة الشعار */
.logo {
    width: 250px; /* تعديل الحجم حسب الحاجة */
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
}

/* 🔹 تأثير عند تمرير الفأرة */
.logo:hover {
    transform: scale(1.1);
}

/* 🔹 تأثير fade-in عند ظهور الصفوف */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🔹 تطبيق التأثير على جميع الصفوف */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

