.elementor-2497 .elementor-element.elementor-element-3fb6de2{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-277c0ed *//* ===== ADMIN DASHBOARD BASE ===== */
.admin-dashboard {
  max-width: 1300px;
  margin: auto;
  padding: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

.admin-dashboard h1 {
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: 700;
}

/* ===== STATS ===== */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.admin-card {
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.07);
  text-align: center;
  transition: transform .2s ease;
}

.admin-card:hover {
  transform: translateY(-3px);
}

.admin-card h3 {
  font-size: 30px;
  margin: 0;
  color: #0f172a;
}

.admin-card p {
  margin-top: 6px;
  color: #64748b;
  font-size: 14px;
}

/* ===== FILTERS ===== */
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
  background: #ffffff;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.admin-filters input,
.admin-filters select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  min-width: 160px;
}

.admin-filters button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
}

.admin-filters button:last-child {
  background: #64748b;
}

/* ===== TABLE ===== */
.table-wrap {
  overflow-x: auto;
  margin-top: 15px;
  margin-bottom: 40px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

th, td {
  padding: 15px;
  text-align: left;
  font-size: 14px;
}

th {
  background: #f1f5f9;
  font-weight: 600;
  color: #0f172a;
}

tr:not(:last-child) td {
  border-bottom: 1px solid #e5e7eb;
}

tbody tr:hover {
  background: #f8fafc;
}

/* ===== BADGES ===== */
.badge-demo {
  background: #dbeafe;
  color: #1e40af;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.badge-batch {
  background: #dcfce7;
  color: #166534;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 40px;
  color: #64748b;
  font-size: 15px;
}

/* ===== ROLE BASED ===== */
.director-only {
  display: block;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .admin-dashboard h1 {
    font-size: 22px;
  }

  .admin-card h3 {
    font-size: 22px;
  }

  th, td {
    padding: 10px;
    font-size: 13px;
  }

  .admin-filters {
    flex-direction: column;
  }
}
.student-name {
  color: #2563eb;
  cursor: pointer;
  font-weight: 600;
}

.student-name:hover {
  text-decoration: underline;
}

/* ===== MODAL ===== */
.student-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.student-modal-content {
  background: #fff;
  width: 420px;
  max-width: 90%;
  padding: 25px;
  border-radius: 14px;
}

.close-btn {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

.profile-stats {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}

.profile-stats div {
  text-align: center;
}
.analytics-wrap {
  background: #ffffff;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 40px;
}

.analytics-wrap canvas {
  max-height: 320px;
}
.export-actions {
  display: flex;
  gap: 12px;
  margin: 15px 0 25px;
}

.export-actions button {
  background: #111;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.export-actions button:hover {
  background: #333;
}/* End custom CSS */