body {
    font-family: 'Noto Sans Arabic', sans-serif; /* Set a base font for body */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif; /* Set a different font for headings */
}
.header {
    padding: 20px 0;
    background-color: #f8f9fa; /* Light gray */
    color: #000;
    border-bottom: 1px solid #5897EE; /* Add a bottom border */
}
.header img {
    max-height: 90px;
}
.clock {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}
.search-bar {
    margin-top: 20px;
}
.table-responsive {
    margin-top: 20px;
}
.pagination-wrapper {
    text-align: center;
    margin-top: 20px;
}
.footer {
    margin-top: auto;
    padding: 20px 0;
    background-color: #f8f9fa; /* Light gray */
    color: #000;
    text-align: center;
    position: relative;
    bottom: 0;
    border-top: 1px solid #ddd;
    width: 100%;
}
.footer p {
    margin-bottom: 10px;
}
/* Table styles */
.table th, .table td {
    cursor: pointer;
    text-align: right;
    color: black; /* Set color to black for all table data */
    transition: color 0.3s; /* Smooth transition for color change */
}
/* Custom size for the date column */
.date-column {
    width: 100px; /* Set a specific width for the date column */
    font-size: 14px; /* Adjust the font size */
}
/* Enhanced pagination button styles */
.btn-custom {
    width: 120px; /* Increased width */
    background-color: #E6E6E6; /* 3D color */
    color: #093c71; /* Dark blue text */
    font-weight: bold;
    border: none; /* Remove default border */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for 3D effect */
    margin: 0 5px; /* Space between buttons */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Add transition */
}
.btn-custom:hover {
    background-color: #5897EE; /* Blue on hover */
    color: #ffffff; /* White text on hover */
    transform: translateY(-4px); /* Lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
}
/* Ensure footer sticks to bottom of page */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.main-content {
    flex: 1; /* Allow main content to grow */
}
.header-links {
    margin-top: 15px;
}
.header-links a {
    border-bottom: 1px solid;
    margin: 0 10px;
    color: #093c71; /* Dark blue color */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    transition: color 0.3s; /* Smooth transition for color change */
}
.header-links a:hover {
    color: #5897EE; /* Change color on hover */
}
.table-responsive {
    border-radius: 9px;
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}
/* Hover effect for the table header */
.table td th {
    cursor: pointer; /* Change cursor to pointer */
    transition: color 0.3s; /* Smooth transition for color change */
}
.table th:hover {
    color: #5897EE; /* Change color on hover */
}
.table td:hover {
    color: #5897EE; /* Change color on hover */
}
/* Hover effect for data in أسم التعميم column */
.table td.name-cell {
    color: black; /* Set color to black */
    cursor: pointer; /* Change cursor to pointer */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition for color change */
}
.table td.name-cell:hover {
    color: #5897EE; /* Change color on hover */
}

/* Styles for links inside table cells */
.table td a {
    color: #000; /* Set link color to black */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition for color change */
}

.table td a:hover {
    color: #5897EE;
    transition: color 0.3s;
}

.footer a {
    /*color: #000;  Set text color to black */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition for color change */
}

.footer a:hover {
    color: #5897EE; /* Change color on hover */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .header img {
        max-height: 70px;
    }
    .search-bar {
        padding: 10px 0;
    }
    .pagination-wrapper .btn-custom {
        width: 100px;
    }
    .footer {
        padding: 15px;
    }
}

.corner-shape {
    position: fixed;
    top: 0;
    right: 0;
    width: 15vw; /* Adjust width based on viewport width */
    height: 15vw; /* Adjust height based on viewport width */
    background-color: rgba(9, 60, 113, 0.8); /* Dark blue with opacity */
    border-bottom-left-radius: 50%; /* Curved shape */
    z-index: -1; /* Behind content */
}

/* Optionally you can add another shape in the bottom left corner */
.bottom-left-shape {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(88, 151, 238, 0.8); /* Semi-transparent lighter blue */
    border-top-right-radius: 150px; /* Create the curved effect */
    z-index: -1;
}

/* Responsive shape in the top right corner */
.corner-shape {
    position: fixed;
    top: 0;
    right: 0;
    width: 15vw; /* Responsive width based on the viewport */
    height: 15vw; /* Responsive height based on the viewport */
    background-color: rgba(9, 60, 113, 0.8); /* Semi-transparent dark blue */
    border-bottom-left-radius: 50%; /* Create the curved effect */
    z-index: -1; /* Behind the content */
}

/* Top left corner shape */
.top-left-shape {
    position: fixed;
    top: 0;
    left: 0;
    width: 15vw;
    height: 15vw;
    background-color: rgba(88, 151, 238, 0.8); /* Light blue with opacity */
    border-bottom-right-radius: 50%;
    z-index: -1;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    .corner-shape, .top-left-shape {
        width: 25vw; /* Increase the size for smaller screens */
        height: 25vw;
    }
}

@media (max-width: 480px) {
    .corner-shape, .top-left-shape {
        width: 35vw; /* Further adjust size for very small screens */
        height: 35vw;
    }
}

.d-flex {
    font-size: 19px;
}

/* Default style for the contact links */
.contact-link {
    color: red; /* Set font color to red */
    font-weight: bold; /* Make the font bold for better visibility */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition */
    margin-left: 8px; /* Add some space between the icon and text */

}

/* Hover effect for the contact links */
.contact-link:hover {
    color: #093c71; /* Change to blue on hover */
    transform: translateY(-4px); /* Adds a slight movement on hover */
    text-decoration: none; /* Prevents underlining on hover */
}

/* Style for the icons */
.contact-link i {
    font-size: 1.5rem; /* Increase the size of icons */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth icon transition */
}

.contact-link:hover i {
    color: #093c71; /* Change icon color on hover */
    transform: rotate(360deg); /* Rotate icon on hover */
}

/* Email text styling */
.email-text {
    margin-right: 8px; /* Add space between the envelope icon and text */
    position: relative;
    left: 10rem;
}

.top-right-image {
    position: absolute;
    top: 30%;
    right: -10px;
    width: 25vw;  /* تجعل الصورة تأخذ 25% من عرض الشاشة */
    max-width: 200px;  /* تحدد أقصى عرض للصورة */
    height: auto;
    z-index: 9999;
    border-radius: 12px;  /* حواف ناعمة */
}

/* إخفاء الصورة على الشاشات الصغيرة */
@media (max-width: 991px) {  /* للشاشات الصغيرة مثل الهواتف والتابلت */
    .top-right-image {
        display: none;  /* إخفاء الصورة */
    }
}

/* يمكنك إضافة هذا إلى ملف CSS الخاص بك */
.date-column {
    width: 120px; /* زيادة العرض قليلاً لاستيعاب التاريخ الإضافي */
    font-size: 14px;
}

/* يمكنك أيضاً إضافة تنسيق خاص لتواريخ انتهاء التعليق إذا لزم الأمر */
.table td.end-date-cell {
    color: #d9534f; /* لون مختلف لتواريخ الانتهاء */
    font-weight: bold;
}

/* يمكنك إضافة هذا إلى ملف CSS الخاص بك */
body {
    font-family: 'Noto Sans Arabic', sans-serif; /* Set a base font for body */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif; /* Set a different font for headings */
}
.header {
    padding: 20px 0;
    background-color: #f8f9fa; /* Light gray */
    color: #000;
    border-bottom: 1px solid #5897EE; /* Add a bottom border */
}
.header img {
    max-height: 90px;
}
.clock {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}
.search-bar {
    margin-top: 20px;
}

.end-date-column {
    width: 220px;  /* وسّع العرض (جرب قيم أكبر حسب الحاجة) */
    white-space: normal;  /* خليه يكسر السطر إذا طويل */
    font-size: 14px;
}

.table td.end-date-cell {
    color: #d9534f;   /* أحمر مميز */
    font-weight: bold;
}
