/* General Styles */
body {
    font-family: Arial, sans-serif;
}

/* RTL Support for Arabic */
[dir="rtl"] body {
    font-family: 'Cairo', sans-serif; /* Use Arabic-friendly font */
    direction: rtl;
    text-align: right;
}

/* Navbar Styling */
.navbar-custom {
    background-color: #009966; /* MOH Green */
    border-bottom: 5px solid #FFD700; /* MOH Gold */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow effect */
}

/* Sticky Navbar */
.sticky-navbar {
    position: sticky; /* Make navbar sticky */
    top: 0;           /* Stick at the top of the viewport */
    z-index: 1020;    /* Ensure it's above other elements */
}

/* Navbar Links */
.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: #ffffff !important; /* Force white text */
    font-weight: bold;
}

.navbar-custom .nav-link:hover,
.navbar-custom .navbar-brand:hover {
    color: #FFD700 !important; /* Force gold on hover */
}

/* Dropdown Menu */
.navbar-custom .dropdown-menu {
    background-color: #009966; /* Match navbar color */
    border: none; /* Remove dropdown border */
}

.navbar-custom .dropdown-item {
    color: #ffffff !important; /* White text */
    font-weight: 500; /* Make font bold */
}

.navbar-custom .dropdown-item:hover {
    background-color: #FFD700 !important; /* Gold hover */
    color: #000000 !important; /* Black text */
}

/* Header Image Styling */
.logo-header {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Buttons */
.btn-primary {
    background-color: #009966;
    border-color: #009966;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #007A4D;
    border-color: #007A4D;
}

/* Secondary Button */
.btn-secondary {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #000000;
    font-weight: bold;
}

.btn-secondary:hover {
    background-color: #FFC107;
    border-color: #FFC107;
}

/* Tables */
.table thead {
    background-color: #009966;
    color: #ffffff;
}

/* Footer */
.footer {
    background-color: #009966;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
}

/* Forms and Inputs */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
}

/* Cards */
.card {
    border: 1px solid #009966;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #009966;
    color: #ffffff;
    font-weight: bold;
}

.card-body {
    padding: 15px;
}

/* Spacing */
.container {
    margin-top: 20px;
}

.navbar {
    margin-bottom: 20px;
}

.table {
    margin-top: 20px;
}

/* Buttons Alignment */
.btn {
    margin-right: 5px;
}

/* Add Margin Below Buttons */
.form-buttons {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-custom .navbar-brand,
    .navbar-custom .nav-link {
        font-size: 14px;
    }

    .form-control {
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
    }
}
