/* assets/css/style.css */
body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #f8f9fa;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    margin-bottom: 20px;
}

.btn {
    margin-left: 5px;
}

.form-group {
    margin-bottom: 1rem;
}

.alert {
    margin-bottom: 1rem;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}


/* إضافة إلى assets/css/style.css */

/* تنسيقات لوحة الإدارة */
.sidebar {
    min-height: calc(100vh - 73px);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.main-content {
    padding: 20px;
}

.admin-profile {
    background-color: #f8f9fa;
}

.nav-pills .nav-link {
    border-radius: 0;
    color: #495057;
    transition: all 0.3s;
}

.nav-pills .nav-link:hover {
    background-color: #e9ecef;
}

.nav-pills .nav-link.active {
    background-color: #0d6efd;
    color: white;
    border-left: 4px solid #0b5ed7;
}

/* تنسيق الجداول */
.table th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
}

/* تنسيق البطاقات الإحصائية */
.card.bg-danger { background: linear-gradient(45deg, #dc3545, #c82333) !important; }
.card.bg-warning { background: linear-gradient(45deg, #ffc107, #e0a800) !important; }
.card.bg-info { background: linear-gradient(45deg, #0dcaf0, #0aa2c0) !important; }
.card.bg-primary { background: linear-gradient(45deg, #0d6efd, #0b5ed7) !important; }
.card.bg-success { background: linear-gradient(45deg, #198754, #146c43) !important; }
.card.bg-secondary { background: linear-gradient(45deg, #6c757d, #5a6268) !important; }

/* تخصيص DataTables للغة العربية */
.dataTables_filter input {
    margin-left: 10px;
}