/* ═══════════════════════════════════════════════════════════════
   LOTUS ACADEMY — Teacher-Specific Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Attendance Form ─────────────────────────────────────────── */
.attendance-form .student-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.attendance-form .student-row:hover {
  background: rgba(139, 92, 246, 0.06);
}

.attendance-form .student-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.9rem;
}

.attendance-form .status-buttons {
  display: flex;
  gap: 6px;
}

.attendance-form .status-btn {
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.attendance-form .status-btn.selected {
  border-color: transparent;
}

.attendance-form .status-btn.present.selected  { background: var(--success); color: #fff; box-shadow: 0 2px 10px rgba(16,185,129,0.3); }
.attendance-form .status-btn.absent.selected   { background: var(--danger);  color: #fff; box-shadow: 0 2px 10px rgba(239,68,68,0.3); }
.attendance-form .status-btn.late.selected     { background: var(--warning); color: #fff; box-shadow: 0 2px 10px rgba(245,158,11,0.3); }
.attendance-form .status-btn.excused.selected  { background: var(--info);    color: #fff; box-shadow: 0 2px 10px rgba(59,130,246,0.3); }

.attendance-form .note-input {
  width: 150px;
  padding: 6px 10px;
  font-size: 0.78rem;
}

/* ── Teacher Dashboard Sessions ──────────────────────────────── */
.teacher-dashboard .today-sessions {
  display: grid;
  gap: 14px;
}

.teacher-dashboard .session-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.teacher-dashboard .session-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px;
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

body.lang-fr .teacher-dashboard .session-card::before {
  right: auto; left: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.teacher-dashboard .session-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.teacher-dashboard .session-card .time {
  font-family: 'Sora', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-light);
  min-width: 100px;
}

.teacher-dashboard .session-card .info {
  flex: 1;
}

.teacher-dashboard .session-card .course-name {
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.teacher-dashboard .session-card .room {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Note Cards ──────────────────────────────────────────────── */
.note-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 12px;
  transition: all 0.18s ease;
}

.note-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.note-card .note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.note-card .note-student {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.note-card .note-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Sora', monospace;
}

.note-card .note-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.note-card .private-badge {
  font-size: 0.7rem;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-light);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
