﻿/* 🌐 Base Layout */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    direction: rtl; /* دعم الاتجاه من اليمين لليسار */
    text-align: right; /* النص يبدأ من اليمين */
}

/* 📦 Custom Container */
.container-custom {
    margin: 0 auto;
    max-width: 1140px;
}

/* 🔻 Footer Styling */
footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    font-size: 0.9em;
    margin-top: 40px;
}

/* 🔗 Underline Hover Effect for Navigation Links */
.custom-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 2px;
    width: 0;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.custom-nav-link:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* 🧭 Navbar Styling */
.custom-nav {
    background-color: #343a40;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .custom-nav .nav-link {
        color: white;
        padding: 10px 20px;
        font-weight: 600;
        font-size: 16px;
        transition: all 0.3s ease-in-out;
        border-radius: 0;
        position: relative;
    }

        /* 🎯 Hover and Focus */
        .custom-nav .nav-link:hover,
        .custom-nav .nav-link:focus {
            background-color: #0d6efd;
            color: white;
        }

        /* ✅ Active Page */
        .custom-nav .nav-link.active {
            background-color: #0d6efd;
            color: white;
        }

/* 🖱️ Hover Highlight */
.navbar-nav .nav-link:hover {
    background-color: #0056b3;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* 📱 Responsive fix */
@media (max-width: 768px) {
    .custom-nav .nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }

    h2, h3, h4 {
        font-size: 90%;
    }
}

<style >
.pagination a, .pagination span {
    margin: 0 5px;
    padding: 5px 10px;
    background-color: #f1f1f1;
    border-radius: 8px;
    border: 1px solid #ccc;
    display: inline-block;
    color: #333;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #e0e0e0;
    color: #007bff;
}

.pagination .aspNetDisabled {
    background-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

.pagination .SelectedPage {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: 1px solid #007bff;
}








