/* src/v071.css — Teacher dashboard styles */
.teacher-body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f4f6fb;
  color: #1e293b;
}
.teacher-app { max-width: 900px; margin: 0 auto; padding: 20px; }
.teacher-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 20px;
}
.teacher-topbar b { font-size: 16px; }
.teacher-topbar span { display: block; font-size: 11px; color: #64748b; }
.teacher-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 24px; max-width: 400px; margin: 40px auto;
}
.teacher-card h2 { margin: 0 0 6px; font-size: 18px; }
.teacher-card input {
  width: 100%; padding: 10px 12px; margin: 6px 0;
  border: 1px solid #cbd5e1; border-radius: 8px; font-size: 13px;
  box-sizing: border-box;
}
.teacher-card .btn { width: 100%; margin-top: 8px; padding: 10px; }
.teacher-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.class-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.class-card:hover { border-color: #315efb; box-shadow: 0 0 0 3px #dbeafe; }
.class-card b { display: block; margin-bottom: 6px; }
.class-card span { display: block; font-size: 11px; color: #64748b; }
.student-row {
  padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px;
  display: flex; justify-content: space-between;
}
.muted { color: #64748b; font-size: 12px; }
.err { color: #dc2626; font-size: 12px; margin-top: 8px; }
.btn {
  border: 1px solid #cbd5e1; background: #fff; border-radius: 8px;
  padding: 8px 14px; font-size: 12px; cursor: pointer;
}
.btn.primary { background: #315efb; color: #fff; border-color: #315efb; }
.teacher-card h4 { margin: 18px 0 6px; font-size: 13px; }
.teacher-card input[type=text] { margin: 4px 0; }
