﻿/* إضافة الخط Tajawal */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;600&display=swap');

html {
    font-size: 14px;
    direction: rtl; /* دعم اتجاه النص من اليمين لليسار */
    text-align: right; /* محاذاة النص لليمين */
    font-family: 'Tajawal', sans-serif; /* استخدام خط تاجوال */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: 'Tajawal', sans-serif; /* التأكد من استخدام خط Tajawal */
    direction: rtl; /* التأكد من ترتيب النص من اليمين لليسار */
    text-align: right; /* محاذاة النص لليمين */
    background-color: #f4f4f4; /* خلفية هادئة */
    color: #333333; /* لون نص هادئ */
    line-height: 1.6; /* تحسين المسافة بين السطور */
}
.custom-card {
    transition: all 0.3s ease; /* Smooth transition effect */
    border: 1px solid #d1b16f; /* Light golden border */
    border-radius: 10px; /* Rounded corners */
    background-color: #f8f2e7; /* Light golden background */
    padding: 30px; /* زيادة الحشوة */
    width: 300px; /* عرض أكبر */
    height: 200px; /* ارتفاع أكبر */
    display: flex; /* Use Flexbox for layout */
    flex-direction: column; /* Arrange elements vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-align: center; /* Center text */
}
    .custom-card:hover {
        transform: translateY(-5px); /* Move the card up slightly */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
        background-color: #f3e6b3; /* Lighter golden background on hover */
        border-color: #c2a56e; /* Darker golden border on hover */
    }

    .custom-card .card-body {
        transition: all 0.3s ease; /* Smooth transition for the content */
    }

    .custom-card:hover .card-body {
        color: #856404; /* Change text color to dark gold on hover */
    }

h1, h2, h3, h4 {
    font-weight: 600; /* جعل العناوين بوزن ثقيل */
    color: #2c3e50; /* لون عناوين هادئ ورسمى */
}

a {
    color: #3498db; /* لون الروابط بشكل هادئ وجذاب */
    text-decoration: none; /* إزالة التسطير من الروابط */
}

    a:hover {
        color: #2980b9; /* تغيير لون الروابط عند المرور عليها */
    }

p {
    font-size: 16px;
    color: #555555; /* لون نص الفقرات هادئ */
}

button {
    background-color: #2ecc71; /* زر بلون هادئ وراقي */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

    button:hover {
        background-color: #27ae60; /* تغيير لون الزر عند المرور عليه */
    }

/* Container styles */
.container2, .container3, .container4, .container33 {
    width: 50%;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container4 {
    width: 75%;
}

.label {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.error {
    color: red;
    font-size: 14px;
}

.instructions {
    font-size: 18px;
    line-height: 1.8;
    color: #34495E;
}

.highlight {
    color: #E74C3C;
    font-weight: bold;
}

.note {
    margin-top: 30px;
    background-color: #ECF0F1;
    border-left: 5px solid #3498DB;
    padding: 15px;
    font-size: 16px;
    color: #7F8C8D;
}

.pagination-container {
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center the pagination controls */
    align-items: center; /* Vertically center items */
    margin: 20px 0; /* Add margin above and below */
    font-size: 16px; /* Set base font size */
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    font-family: inherit;
    direction: rtl; /* محاذاة من اليمين */
}

    .table th, .table td {
        padding: 15px;
        text-align: right; /* محاذاة النص إلى اليمين */
        border-bottom: 1px solid #ddd;
    }

    .table th {
        background-color: #4CAF50;
        color: white;
    }

    .table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .table tr:nth-child(odd) {
        background-color: #ffffff;
    }

    .table tr:hover {
        background-color: #ddd;
    }

    .table .total-row {
        font-weight: bold;
        background-color: #ffe0b2;
    }

    .table .highlight {
        background-color: #ffeb3b;
    }

.id-display {
    color: #007bff; /* لون النص */
    transition: background-color 0.3s, transform 0.3s; /* تأثير الانتقال */
    font-size: 18px; /* حجم الخط */
}

    .id-display:hover {
        background-color: #d1e7fd; /* لون خلفية عند التمرير */
        transform: scale(1.05); /* تكبير بسيط عند التمرير */
        cursor: pointer; /* تغيير شكل المؤشر عند المرور */
    }

.custom-button {
    margin-top: 10px; /* مسافة فوق الزر */
    text-align: center; /* محاذاة النص إلى المركز */
    display: inline-block; /* جعلها كتلة للتوسيع */
    color: #007bff; /* لون أساسي */
    text-decoration: underline; /* تسطير */
    transition: color 0.2s; /* تأثير سلس لتغيير اللون */
}

    .custom-button:hover {
        color: #0056b3; /* لون أغمق عند التحويم */
    }

.custom-image {
    max-width: 180%; /* زيادة حجم الصورة */
    height: auto; /* الحفاظ على نسبة الطول إلى العرض */
    border-radius: 20px; /* حواف مدورة */
    transition: transform 0.3s, box-shadow 0.3s; /* تأثير سلس */
}

    .custom-image:hover {
        transform: scale(1.05); /* تكبير الصورة عند التحويم */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* تأثير ظل عند التحويم */
    }

.important-text {
    font-family: 'Tajawal', sans-serif; /* استخدام خط مميز */
    font-size: larger; /* حجم خط أكبر */
    font-weight: bold; /* جعل النص سميك */
    color: #007bff; /* لون مميز للنص */
    background-color: #e9f7fe; /* خلفية خفيفة */
    border-left: 5px solid #007bff; /* خط جانبي ملون */
    padding: 10px 15px; /* حشوة داخلية */
    border-radius: 5px; /* حواف مدورة */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* تأثير ظل خفيف */
    margin: 20px 0; /* مسافة فوق وتحت النص */
}
.large-alert {
    font-size: 1.5rem; /* Adjust the font size as needed */
    padding: 20px; /* Adjust padding for better appearance */
    margin: 20px auto; /* Center the div */
    max-width: 600px; /* Optional: limit the max width */
}

.text-center {
    text-align: center; /* Center text */
}
.text-green {
    color: green; /* أو يمكنك استخدام كود اللون HEX مثل #28a745 */
}
.larger-text {
    font-size: 1.2rem; /* يمكنك تعديل القيمة حسب الحاجة */
}
.container101 {
    width: 80%;
    margin: 0 auto; /* Horizontally center */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Use Flexbox for vertical and horizontal centering */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center */
    align-items: center; /* Horizontally center */
}
.modal-content {
    width: 600px;
}

.loader {
    border: 8px solid #f3f3f3; /* الرمادي الفاتح */
    border-top: 8px solid #3498db; /* الأزرق */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loadingMessage {
    text-align: center;
    font-size: 16px;
    font-family: Arial, sans-serif;
}



.service-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.card-title a:hover {
    color: #0d6efd;
}

body {
    background: #f8f9fa;
}
