/* 表格整体 */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

/* 表头 */
.schedule-table th {
  background: #f5f7fa;
  border: 1px solid #e4e7ed;
  padding: 8px;
  text-align: center;
  font-weight: 600;
}

/* 单元格 */
.schedule-table td {
  border: 1px solid #e4e7ed;
  padding: 6px;
  text-align: center;
  cursor: pointer;
}

/* 固定左列 */
.fixed-col {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  min-width: 160px;
}

/* 学生信息 */
.student-cell {
  text-align: left;
}
.student-cell .name {
  font-weight: bold;
}
.student-cell .meta {
  font-size: 12px;
  color: #888;
}

/* 状态颜色 */
.cell.done {
  background: #e6f7e6;
  color: #2ecc71;
  font-weight: bold;
}
.cell.pending {
  background: #fffbe6;
  color: #f39c12;
}
.cell.none {
  background: #f5f5f5;
  color: #aaa;
}
.cell:hover {
  background: #eef3ff;
}

/* 剩余课时 */
.remain {
  font-weight: bold;
  color: #409eff;
}

/* 教师课时页专用 */

.teacher-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.hours-table-wrapper {
    max-height: calc(100vh - 260px);
    overflow: auto;
}

/* 固定第一列 */
.hours-table .sticky-col {
    position: sticky;
    left: 0;
    background: var(--white);
    z-index: 2;
}

/* 日期列更窄 */
.hours-table .day-col {
    width: 36px;
    padding: 4px;
}

/* 课时单元格 */
.hour-cell {
    cursor: pointer;
    font-size: 0.85rem;
}

.hour-cell.filled {
    background-color: rgba(52, 152, 219, 0.15);
}

.hour-cell:hover {
    background-color: rgba(52, 152, 219, 0.25);
}
