
html, body {
    height: 100%; /* ارتفاع الصفحة بالكامل */
    margin: 0;
    padding: 0;
    font-family: 'Droid Arabic Kufi', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.5;

    direction: rtl;
}

input[type="number"] {
    direction: ltr; /* التأكد من أن الاتجاه لليسار */
    font-family: Arial, sans-serif;
}
/* إزالة الخط السفلي وتغيير اللون إلى أسود */
a {
    color: black; /* تغيير اللون إلى أسود */
    text-decoration: none; /* إزالة الخط السفلي */
}

/* عند التمرير على الرابط، لا يظهر خط */
a:hover {
    color: black; /* تأكيد اللون الأسود عند التمرير */
    text-decoration: none;
}


.main-content {
    background-color: #fff;
    padding-bottom: 100px; /* إضافة مسافة أسفل الصفحة */
    max-width: 450px;
    margin: 0 auto;
}

#sidebar {
    width: 250px;
    left: 0;
    top: 0;
    background-color: #f8f9fa;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    position: fixed;
    height: 100%;
}

.btn {
    border-radius: 3px;
}

.card-display {
    display: block;
}

#main-content {
    margin-left: 0;
    padding-top: 60px;
}

@media (max-width: 576px) {
    #sidebar {
        width: 100%;
        position: fixed;
        height: 100%;
    }
    #main-content {
        padding: 15px;
        margin-left: 0;
    }
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

/* Button styling adjustments */
.btn {
    border-radius: 4px; /* Mildly rounded corners */
    margin: 2px; /* Uniform spacing between buttons */
}

/* Navbar icon shortcuts styling */
.navbar-icons {
    position: fixed;
    bottom: 0; /* تثبيت القائمة في الأسفل */
    width: 100%;
    max-width: 450px; /* الحد الأقصى للعرض ليظل متوافقًا مع عرض المحتوى */
    background-color: #e6e6e6; /* خلفية زرقاء للنافبار */
    padding: 1rem;
    z-index: 1050; /* لضمان ظهور القائمة فوق المحتوى */
    box-shadow: 0px -2px 2px rgba(0, 0, 0, 0.1); /* تظليل خفيف لأعلى */
    margin: 0 auto; /* توسيط النافبار */
}
.navbar-icons .navbar-toggler{
    font-size: 1.9rem;
    height: 50px;
    margin: 0;
}
.navbar-icons .items{
    display: flex;
    justify-content: space-around;
    width: 90%;
    float: left;
}

.navbar-icons .items a {
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.navbar-icons .items i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.2rem;
}

/* Card styling for mobile display */
.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #f9f9f9;
}

/* Standardize button spacing */
.button-group {
    display: flex;
    gap: 10px; /* Consistent spacing between buttons */
}

/* إعدادات خاصة لشاشات الديسكتوب لإبقاء القائمة كقائمة منسدلة */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }
    .navbar-expand-lg .navbar-toggler {
        display: block;
    }
}

/* إعدادات النافبار لتكون قائمة منسدلة دائمًا */
.navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    display: none; /* إخفاء القائمة في الوضع الافتراضي */
}

.navbar-collapse.show {
    display: block !important; /* عرض القائمة عند الضغط */
}

.navbar-toggler {
    display: inline-block !important;
}

/* جعل القائمة تمتد لطول وعرض الشاشة بالكامل */
#navbarNav {
    position: fixed;
    top: 0;
    left: auto;
    width: 100%;
    height: 100vh; /* تجعل القائمة بطول النافذة بالكامل */
    background-color: #fff;
    overflow-y: auto; /* إضافة شريط تمرير عمودي */
    padding: 1rem;
    z-index: 1050; /* ضمان بقاء القائمة فوق المحتوى */
    display: none; /* إخفاء القائمة في الوضع الافتراضي */
    max-width: 450px;
    margin-right: -12px;
}

/* عرض القائمة عند تفعيلها */
#navbarNav.show {
    display: block;
}

.navbar-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.navbar-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* صورة دائرية */
    margin-right: 10px;
}

.navbar-header h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-section {
    margin-top: 1.5rem;
    margin-bottom: 5rem;
    padding: 1rem;
}

.nav-section h4 {
    font-size: 0.9rem;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
}

.nav-item .nav-link{
    width: 100%;
}

.nav-item i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.nav-item:hover {
    background-color: #e9ecef; /* تغيير لون الخلفية عند التمرير */
}

.nav-item .active {
    background-color: #ffebee;
    color: #d9534f;
}

input, select, textarea, p{
    font-family: 'Noto Naskh Arabic', sans-serif;
}

/* إزالة الظل والإطار عند التركيز (focus) على الأزرار */
button:focus, button:active, .btn:focus, .btn:active {
    outline: none; /* إزالة الإطار */
    box-shadow: none; /* إزالة الظل */
}

/* إزالة الظل عند التركيز على حقول الإدخال */
input:focus, textarea:focus, select:focus,.form-control:focus {
    outline: none; /* إزالة الإطار */
    box-shadow: none; /* إزالة الظل */
}

/* إزالة تأثير الظل عند التمرير على الأزرار */
button:hover, .btn:hover {
    box-shadow: none;
}

/* إزالة الظل عند التمرير فوق حقول الإدخال */
input:hover, textarea:hover, select:hover {
    box-shadow: none;
}

.tasks-box.status-complete h6{
    text-decoration: line-through;
    opacity: .6;
}