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|
| 3 |
+
/* الخطوط */
|
| 4 |
+
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');
|
| 5 |
+
|
| 6 |
+
/* تنسيقات عامة */
|
| 7 |
+
body {
|
| 8 |
+
font-family: 'Tajawal', sans-serif;
|
| 9 |
+
color: #333;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
/* العناوين */
|
| 13 |
+
h1, h2, h3, h4, h5, h6 {
|
| 14 |
+
font-family: 'Tajawal', sans-serif;
|
| 15 |
+
font-weight: 700;
|
| 16 |
+
color: #0d47a1;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
/* البطاقات */
|
| 20 |
+
.card {
|
| 21 |
+
border-radius: 10px;
|
| 22 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 23 |
+
padding: 1.5rem;
|
| 24 |
+
margin-bottom: 1.5rem;
|
| 25 |
+
background-color: white;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.card-header {
|
| 29 |
+
font-weight: 700;
|
| 30 |
+
margin-bottom: 0.5rem;
|
| 31 |
+
padding-bottom: 0.5rem;
|
| 32 |
+
border-bottom: 1px solid #eaeaea;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
/* الأزرار */
|
| 36 |
+
.stButton > button {
|
| 37 |
+
border-radius: 8px;
|
| 38 |
+
font-weight: 500;
|
| 39 |
+
padding: 0.5rem 1rem;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.primary-btn {
|
| 43 |
+
background-color: #0d47a1;
|
| 44 |
+
color: white;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.secondary-btn {
|
| 48 |
+
background-color: #f5f5f5;
|
| 49 |
+
color: #333;
|
| 50 |
+
border: 1px solid #ddd;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
/* مؤشرات الأداء */
|
| 54 |
+
.metric-card {
|
| 55 |
+
padding: 1rem;
|
| 56 |
+
border-radius: 8px;
|
| 57 |
+
border-left: 5px solid #0d47a1;
|
| 58 |
+
background-color: #f8f9fa;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.metric-value {
|
| 62 |
+
font-size: 1.8rem;
|
| 63 |
+
font-weight: 700;
|
| 64 |
+
color: #0d47a1;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.metric-label {
|
| 68 |
+
font-size: 0.9rem;
|
| 69 |
+
color: #666;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
/* تلوين الجداول */
|
| 73 |
+
.styled-table {
|
| 74 |
+
width: 100%;
|
| 75 |
+
border-collapse: collapse;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.styled-table th {
|
| 79 |
+
background-color: #0d47a1;
|
| 80 |
+
color: white;
|
| 81 |
+
padding: 0.75rem;
|
| 82 |
+
text-align: right;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.styled-table td {
|
| 86 |
+
padding: 0.75rem;
|
| 87 |
+
border-bottom: 1px solid #eaeaea;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
.styled-table tr:nth-child(even) {
|
| 91 |
+
background-color: #f8f9fa;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
/* الشريط الجانبي */
|
| 95 |
+
.sidebar .sidebar-content {
|
| 96 |
+
background-color: #f8f9fa;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
/* الرسوم البيانية */
|
| 100 |
+
.chart-container {
|
| 101 |
+
margin-top: 1rem;
|
| 102 |
+
margin-bottom: 1.5rem;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
/* مؤشرات المخاطر */
|
| 106 |
+
.risk-high {
|
| 107 |
+
color: #d32f2f;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.risk-medium {
|
| 111 |
+
color: #ff9800;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.risk-low {
|
| 115 |
+
color: #4caf50;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
/* لوحة المعلومات */
|
| 119 |
+
.dashboard-container {
|
| 120 |
+
display: grid;
|
| 121 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
| 122 |
+
gap: 1.5rem;
|
| 123 |
+
margin-bottom: 2rem;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
/* تنسيق النموذج */
|
| 127 |
+
.form-container {
|
| 128 |
+
background-color: #f8f9fa;
|
| 129 |
+
padding: 1.5rem;
|
| 130 |
+
border-radius: 10px;
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
/* المؤشرات والرموز */
|
| 134 |
+
.icon-text {
|
| 135 |
+
display: flex;
|
| 136 |
+
align-items: center;
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
.icon-text svg {
|
| 140 |
+
margin-left: 0.5rem;
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
/* تنسيق رفع الملفات */
|
| 144 |
+
.file-uploader {
|
| 145 |
+
border: 2px dashed #ddd;
|
| 146 |
+
border-radius: 10px;
|
| 147 |
+
padding: 2rem;
|
| 148 |
+
text-align: center;
|
| 149 |
+
background-color: #f8f9fa;
|
| 150 |
+
}
|