            /* 按钮基础样式 */
.btn {
  padding: 4px 6px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s;
  white-space: nowrap;
  width: auto;
  text-align: center;
}

/* 主要按钮样式 */
.btn-primary {
  background-color: #007bff;
  color: white;
  padding: 4px 6px;
  width: auto;
  text-align: center;
}

.btn-primary:hover {
  background-color: #0069d9;
}

/* 课程表按钮样式 */
.btn-schedule-table {
  background-color: #17a2b8;
  color: white;
  padding: 4px 6px;
  width: auto;
  text-align: center;
}

.btn-schedule-table:hover {
  background-color: #138496;
}

/* 发布作业按钮样式 */
.btn-homework {
  background-color: #28a745;
  color: white;
  padding: 4px 6px;
  width: auto;
  text-align: center;
}

.btn-homework:hover {
  background-color: #218838;
}

/* 创建新班级按钮样式 */
.btn-create-class {
  background-color: #6f42c1;
  color: white;
  padding: 4px 6px;
  width: auto;
  text-align: center;
}

.btn-create-class:hover {
  background-color: #5a32a3;
}

/* 次要按钮样式 */
.btn-secondary {
  background-color: #e2e6ea;
  color: #495057;
  padding: 4px 6px;
  width: auto;
}

.btn-secondary:hover {
  background-color: #dee2e6;
  color: #212529;
}

/* 编辑按钮样式 */
.btn-edit {
  background-color: #28a745;
  color: white;
  padding: 4px 6px;
  font-size: 12px;
  width: auto;
  text-align: center;
}

.btn-edit:hover {
  background-color: #218838;
}

.btn-edit-disabled {
  background-color: #6c757d !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  pointer-events: none;
}

.btn-edit-disabled:hover {
  background-color: #6c757d !important;
}

/* 删除按钮样式 */
.btn-delete {
  background-color: #dc3545;
  color: white;
  padding: 4px 6px;
  font-size: 12px;
  width: auto;
  text-align: center;
}

.btn-delete:hover {
  background-color: #c82333;
}

.btn-delete-disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-delete-disabled:hover {
  background-color: #6c757d;
}

/* 停课按钮样式 */
.btn-suspend {
  background-color: #ffc107;
  color: #212529;
  padding: 4px 6px;
  font-size: 12px;
  width: auto;
  text-align: center;
}

.btn-suspend:hover {
  background-color: #e0a800;
}

/* 点名按钮样式 */
.btn-attendance {
  background-color: #17a2b8;
  color: white;
  padding: 4px 6px;
  font-size: 12px;
  width: auto;
  text-align: center;
}

.btn-attendance:hover {
  background-color: #138496;
}

.btn-attendance-disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-attendance-disabled:hover {
  background-color: #6c757d;
}

/* 跟进按钮样式 */
.btn-follow {
  background-color: #17a2b8;
  color: white;
  padding: 4px 6px;
  font-size: 12px;
  white-space: nowrap;
  width: auto;
}

.btn-follow:hover {
  background-color: #138496;
}

/* 报名按钮样式 */
.btn-enroll {
  background-color: #ffc107;
  color: #212529;
  padding: 4px 6px;
  font-size: 12px;
  white-space: nowrap;
}

.btn-enroll:hover {
  background-color: #e0a800;
}

.btn-enroll-disabled {
    background-color: #6c757d !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}

.btn-enroll-disabled:hover {
    background-color: #6c757d !important;
}

.btn-suspend-disabled {
    background-color: #6c757d !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}

.btn-suspend-disabled:hover {
    background-color: #6c757d !important;
}

.btn-move-disabled {
    background-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}

.btn-move-disabled:hover {
    background-color: #6c757d !important;
}

.btn-cancel-disabled {
    background-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}

.btn-cancel-disabled:hover {
    background-color: #6c757d !important;
}

.btn-complete-disabled {
    background-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}

.btn-complete-disabled:hover {
    background-color: #6c757d !important;
}

/* 移除按钮样式 */
.btn-remove {
  background-color: #dc3545;
  color: white;
  padding: 4px 6px;
  font-size: 12px;
  margin-right: 5px;
  white-space: nowrap;
  width: auto;
}

.btn-remove:hover {
  background-color: #c82333;
}

/* 移动按钮样式 */
.btn-move {
  background-color: #17a2b8;
  color: white;
  padding: 4px 6px;
  font-size: 12px;
  white-space: nowrap;
  width: auto;
}

.btn-move:hover {
  background-color: #138496;
}

/* 作废订单按钮样式 */
.btn-cancel-order {
  background-color: #ff4d4f;
  color: white;
  border: 1px solid #ff4d4f;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  margin-right: 5px;
  width: 50px;
  text-align: center;
}

.btn-cancel-order:hover {
  background-color: #ff7875;
  border-color: #ff7875;
}

/* 收费按钮样式 */
.btn-charge {
  background-color: #007bff;
  color: white;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  width: 50px;
  text-align: center;
}

.btn-charge:hover {
  background-color: #0069d9;
}

.btn-charge-disabled {
  background-color: #6c757d !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  pointer-events: none;
}

.btn-charge-disabled:hover {
  background-color: #6c757d !important;
}

/* 搜索按钮样式 */
.btn-search {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  width: auto;
  text-align: center;
}

.btn-search:hover {
  opacity: 0.9;
}

/* 教师登录按钮样式 */
.btn-teacher {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  text-align: center;
}

.btn-teacher:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4092 100%);
  transform: translateY(-2px);
}

/* 学生登录按钮样式 */
.btn-student {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  text-align: center;
}

.btn-student:hover {
  background: linear-gradient(135deg, #e676f1 0%, #e54259 100%);
  transform: translateY(-2px);
}

/* 排课按钮样式 */
.btn-schedule {
  background-color: #6f42c1;
  color: white;
  padding: 4px 6px;
  font-size: 12px;
  width: auto;
  text-align: center;
}

.btn-schedule:hover {
  background-color: #5a32a3;
}

/* 操作按钮容器 */
.action-buttons {
  display: flex;
  gap: 8px;
}

/* 搜索学生按钮样式 */
.btn-search-student {
  padding: 8px 15px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s;
}

.btn-search-student:hover {
  background: #5a6fd8;
}

/* 通用禁用按钮样式 */
.btn-disabled {
  background-color: #6c757d !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  pointer-events: none;
}

.btn-disabled:hover {
  background-color: #6c757d !important;
}
