body {
  background-color: #f4f6f9;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}
table th {
  white-space: nowrap;
}
.navbar-user {
  max-width: 220px;
}

/* الإشعارات */
#notifList .list-group-item.unread {
  background-color: #eef4ff;
  font-weight: 600;
}

/* الصورة الشخصية */
.student-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: .5rem;
  border: 1px solid #dee2e6;
  background: #fff;
}
.student-photo-placeholder {
  width: 140px;
  height: 140px;
  border-radius: .5rem;
  border: 1px dashed #adb5bd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 3.5rem;
  background: #fff;
}
.student-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}
.student-thumb-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e9ecef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #868e96;
}

/* بطاقات المستندات */
.doc-card .doc-icon {
  font-size: 2rem;
}
.doc-card .doc-preview {
  height: 120px;
  object-fit: cover;
  width: 100%;
  border-bottom: 1px solid #dee2e6;
}

.dl-profile dt {
  color: #6c757d;
  font-weight: normal;
}

@media print {
  .navbar, .no-print, .btn, .sy-view-bar { display: none !important; }
  body { background: #fff; }
  .card { border: 0 !important; box-shadow: none !important; }
  tr { break-inside: avoid; }
  thead { display: table-header-group; }
}
